Fix qtHaveModule(widgets) condition

In qmake syntax there should be a colon or curly braces following a condition.

Change-Id: Ibd989662aef6320cec8093e7c6103bf8362b8255
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Frederik Gladhorn 2019-11-01 10:19:26 +01:00
parent 44a26a0a79
commit 7ba1d611cf
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@ CONFIG += testcase
TARGET = tst_qsyntaxhighlighter
SOURCES += tst_qsyntaxhighlighter.cpp
QT += testlib
qtHaveModule(widgets) QT += widgets
qtHaveModule(widgets): QT += widgets

View File

@ -1,7 +1,7 @@
CONFIG += testcase
TARGET = tst_qtextdocumentlayout
QT += testlib
qtHaveModule(widgets) QT += widgets
qtHaveModule(widgets): QT += widgets
SOURCES += tst_qtextdocumentlayout.cpp