summaryrefslogtreecommitdiff
path: root/qtcreator.pri
diff options
context:
space:
mode:
Diffstat (limited to 'qtcreator.pri')
-rw-r--r--qtcreator.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtcreator.pri b/qtcreator.pri
index cfb640a3c1..71fed2a8a9 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -59,6 +59,9 @@ defineReplace(stripSrcDir) {
return($$relative_path($$absolute_path($$1, $$OUT_PWD), $$_PRO_FILE_PWD_))
}
+QTC_BUILD_TESTS = $$(QTC_BUILD_TESTS)
+!isEmpty(QTC_BUILD_TESTS):TEST = $$QTC_BUILD_TESTS
+
!isEmpty(BUILD_TESTS):TEST = 1
isEmpty(TEST):CONFIG(debug, debug|release) {