Files
qt-creator/qtcreatorplugin.pri
Eike Ziller 6e4f3fcef9 Allow setting Qt Creator source and build dirs through qmake variables
So they can be set through .qmake.conf in a subdirs project above it.

Change-Id: I919e637fb7ed8a7f341982f0a9f06953e0131a2a
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
2014-06-30 18:23:59 +03:00

9 lines
326 B
Plaintext

isEmpty(IDE_SOURCE_TREE): IDE_SOURCE_TREE=$$(QTC_SOURCE)
isEmpty(IDE_BUILD_TREE): IDE_BUILD_TREE=$$(QTC_BUILD)
isEmpty(IDE_SOURCE_TREE):error(Set QTC_SOURCE environment variable)
isEmpty(IDE_BUILD_TREE):error(Set QTC_BUILD environment variable)
INCLUDEPATH+= $$PWD/plugins
include($$IDE_SOURCE_TREE/src/qtcreatorplugin.pri)