GUI: Remove support for Qt4 in gui.pro

This commit is contained in:
Rudolf Grauberger 2017-08-13 13:38:47 +02:00 committed by Daniel Marjamäki
parent 89cf19fdc1
commit 4bde6f77ed
1 changed files with 4 additions and 4 deletions

View File

@ -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