qt5base-lts/mkspecs/features/designer.prf
Marius Storm-Olsen 56f030b994 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.<module/library>.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 <oliver.wolff@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-05-26 13:32:08 +02:00

7 lines
154 B
Plaintext

QT += xml uilib
!isEmpty(QT.script.name): QT += script
!isEmpty(QT.designer.name): QT += designer
qt:load(qt)
plugin:DEFINES += QDESIGNER_EXPORT_WIDGETS