GUI: Remove support for Qt4 in gui.pro
This commit is contained in:
parent
89cf19fdc1
commit
4bde6f77ed
|
@ -1,3 +1,5 @@
|
|||
lessThan(QT_MAJOR_VERSION, 5): error(requires >= Qt 5 (You used: $$QT_VERSION))
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = cppcheck-gui
|
||||
CONFIG += warn_on debug
|
||||
|
@ -5,10 +7,8 @@ DEPENDPATH += . \
|
|||
../lib
|
||||
INCLUDEPATH += . \
|
||||
../lib
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT += widgets # In Qt 5 widgets are in separate module
|
||||
QT += printsupport # In Qt 5 QPrinter/QPrintDialog are in separate module
|
||||
}
|
||||
QT += widgets
|
||||
QT += printsupport
|
||||
|
||||
contains(LINKCORE, [yY][eE][sS]) {
|
||||
LIBS += -l../bin/cppcheck-core
|
||||
|
|
Loading…
Reference in New Issue