qt5: full qt5 compability

ifdef rest of the code which can't be ported 100%
add CMake option USE_QT5 to use qt5 ;)
Thanks to stretchtiberius for initial patch
This commit is contained in:
Peinthor Rene
2014-02-14 00:28:42 +01:00
parent 58ec477344
commit de1fb9ff2f
8 changed files with 77 additions and 20 deletions

View File

@@ -1,4 +1,7 @@
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#endif
#include "qhexedit_p.h"
#include "commands.h"