summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/qt.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
index 21fdd38e70..e30a2fdd27 100644
--- a/mkspecs/features/qt.prf
+++ b/mkspecs/features/qt.prf
@@ -1,5 +1,7 @@
CONFIG *= moc thread
+contains(QT, declarative): QT += opengl
+
#handle defines
win32 {
qt_static:DEFINES += QT_NODLL
@@ -129,6 +131,7 @@ QMAKE_LIBDIR += $$QMAKE_LIBDIR_QT
# Topological ordering of modules based on their QT.<module>.depends variable
QT = $$resolve_depends($$QT, "QT.")
+
QT_DEPENDS=
for(QTLIB, $$list($$lower($$unique(QT)))) {