Add module.prf, and install MODULE_PRI for each module
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Fri, 1 Apr 2011 10:47:28 +0000 (05:47 -0500)
committerOlivier Goffart <olivier.goffart@nokia.com>
Mon, 2 May 2011 13:30:22 +0000 (15:30 +0200)
Output warning if not present

src/declarative/declarative.pro

index fdbb070..a54284f 100644 (file)
@@ -2,6 +2,10 @@ load(qt_module)
 
 TARGET     = QtDeclarative
 QPRO_PWD   = $$PWD
+
+CONFIG += module
+MODULE_PRI += ../../modules/qt_declarative.pri
+
 QT         = core gui script network
 contains(QT_CONFIG, svg): QT += svg
 DEFINES   += QT_BUILD_DECLARATIVE_LIB QT_NO_URL_CAST_FROM_STRING