aboutsummaryrefslogtreecommitdiffstats
path: root/qtcreatorplugin.pri
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2014-10-07 12:30:54 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2014-12-04 13:52:14 +0100
commit2f4139e5d313902683a3a4a98f9ef012afff8734 (patch)
tree5e1c10378f5a4d9ca2e45dd39b2a6f4dba06d6ee /qtcreatorplugin.pri
Initial commit
Diffstat (limited to 'qtcreatorplugin.pri')
-rw-r--r--qtcreatorplugin.pri8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtcreatorplugin.pri b/qtcreatorplugin.pri
new file mode 100644
index 0000000000..190dbed1c3
--- /dev/null
+++ b/qtcreatorplugin.pri
@@ -0,0 +1,8 @@
+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)