QT += declarative implies += opengl too, so hardcode it to make stuff work
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 28 Apr 2011 13:07:51 +0000 (15:07 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 28 Apr 2011 13:07:51 +0000 (15:07 +0200)
mkspecs/features/qt.prf

index 21fdd38..e30a2fd 100644 (file)
@@ -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)))) {