summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fossil.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/fossil.pro b/fossil.pro
index 1a32b33..629cd87 100644
--- a/fossil.pro
+++ b/fossil.pro
@@ -1,3 +1,9 @@
+isEmpty(IDE_SOURCE_TREE): IDE_SOURCE_TREE = $$(QTC_SOURCE)
+isEmpty(IDE_SOURCE_TREE): error("You need to set the environment variable QTC_SOURCE to point to the directory where the Qt Creator sources are")
+
+isEmpty(IDE_BUILD_TREE): IDE_BUILD_TREE = $$(QTC_BUILD)
+isEmpty(IDE_BUILD_TREE): error("You need to set the environment variable QTC_BUILD to point to the directory where Qt Creator was built")
+
TEMPLATE = subdirs
SUBDIRS += plugins/fossil