summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-08-04 14:14:00 +0200
committerJędrzej Nowacki <jedrzej.nowacki@qt.io>2017-08-04 13:18:30 +0000
commit2b7a9aa1c78483f13576685f4e130c58258da94d (patch)
tree627dd21225ebcfb275f2e520a6ec4b5731b80bac
parent6f3108b7b14a7a2844539b61ab357f8ee6d3c5d4 (diff)
qmlplugindump: fix "useQApplication set but not used" build error
Change-Id: If6c3e513814a7fab62ecdf7de728939c7d61263b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--tools/qmlplugindump/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp
index dd7ae36c5d..7b8dccec40 100644
--- a/tools/qmlplugindump/main.cpp
+++ b/tools/qmlplugindump/main.cpp
@@ -1009,6 +1009,7 @@ int main(int argc, char *argv[])
? new QApplication(argc, argv)
: new QGuiApplication(argc, argv));
#else
+ Q_UNUSED(useQApplication);
QScopedPointer<QCoreApplication> app(new QGuiApplication(argc, argv));
#endif // QT_WIDGETS_LIB