aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/tst_api.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-07-18 11:10:22 +0200
committerJoerg Bornemann <joerg.bornemann@digia.com>2014-07-18 16:09:57 +0200
commit0ebf1bfa336b8d1fdf864925cd0cb45f0f56c572 (patch)
tree954348e80efa2d3110c79342729bf6fe2967d4d3 /tests/auto/api/tst_api.h
parentcc864b59e10358aa9470a0e03b16bd507bf02033 (diff)
API: Make the ability to update project files optional.
This is the functionality that allows callers to add files to groups etc. Unfortunately, the QML/JS rewriter we use for this purpose pulls in the Qt GUI module, which results in unnecessary library dependencies if one only wants to use the command-line frontend. Therefore, allow this feature to be compiled out. Task-number: QBS-565 Change-Id: Ic134ff9cf37bd552ad493b388c05bcece983fd65 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/api/tst_api.h')
-rw-r--r--tests/auto/api/tst_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/api/tst_api.h b/tests/auto/api/tst_api.h
index 756eb1ed3..473b20c80 100644
--- a/tests/auto/api/tst_api.h
+++ b/tests/auto/api/tst_api.h
@@ -49,7 +49,9 @@ private slots:
void buildGraphLocking();
void buildSingleFile();
+#ifdef QBS_ENABLE_PROJECT_FILE_UPDATES
void changeContent();
+#endif
void disabledInstallGroup();
void fileTagsFilterOverride();
void infiniteLoopBuilding();