From: Marius Storm-Olsen Date: Wed, 25 May 2011 17:31:23 +0000 (-0500) Subject: Add QtTools' include/QtDesigner as well as QtCore's include/QtDesigner X-Git-Tag: qt-v5.0.0-alpha1~4257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56f030b9947485b87399432d2bb9b8dcf9d562de;p=profile%2Fivi%2Fqtbase.git Add QtTools' include/QtDesigner as well as QtCore's include/QtDesigner In modularization QT+=uilib adds the QtCore specific include/QtDesigner, while QT += designer adds the QtTools specific one. Using !isEmpty(QT..name) is the proper way to check for module/library existance in modularized Qt. Change-Id: If1fe5d192129fd1cdbf43183b52327d7fa9c57ec Reviewed-on: http://codereview.qt.nokia.com/126 Reviewed-by: Oliver Wolff Reviewed-by: Friedemann Kleint --- diff --git a/mkspecs/features/designer.prf b/mkspecs/features/designer.prf index 63a7e76..843a118 100644 --- a/mkspecs/features/designer.prf +++ b/mkspecs/features/designer.prf @@ -1,7 +1,6 @@ -QT += xml -contains(QT_CONFIG, script): QT += script +QT += xml uilib +!isEmpty(QT.script.name): QT += script +!isEmpty(QT.designer.name): QT += designer qt:load(qt) plugin:DEFINES += QDESIGNER_EXPORT_WIDGETS - -qtAddLibrary(QtDesigner, true)