diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-11-06 22:22:42 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-11-09 03:10:49 +0000 |
commit | 2530d46c5a8a9dfba6e02b48a376545cdaf7a361 (patch) | |
tree | 77a28150bb48119675311d07de46a5b5381f1b2d /static-res.pro | |
parent | 842740d6ef482512df326e99c0d365b90ca503b0 (diff) | |
download | qbs-2530d46c5a8a9dfba6e02b48a376545cdaf7a361.tar.gz |
Allow disabling pieces of the Qbs project by category
This allows the "resources build" to not rely on a valid Qt profile.
Task-number: QBS-1238
Change-Id: I1c743a95993099250da714c794b6e0ac16133609
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'static-res.pro')
-rw-r--r-- | static-res.pro | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/static-res.pro b/static-res.pro index f65c82353..b35836ece 100644 --- a/static-res.pro +++ b/static-res.pro @@ -16,16 +16,14 @@ else: \ qbsres.target = $$builddirname/default/default.bg qbsres.commands = \ $$shell_quote($$shell_path($$qbsbindir/qbs)) \ - setup-qt \ - --settings-dir $$shell_quote($$builddirname/settings) \ - $(QMAKE) qt $$escape_expand(\\n\\t) \ - $$shell_quote($$shell_path($$qbsbindir/qbs)) \ build \ --settings-dir $$shell_quote($$builddirname/settings) \ -f $$shell_quote($$PWD/qbs.qbs) \ -d $$shell_quote($$builddirname) \ -p $$shell_quote("qbs resources") \ - profile:qt + project.withCode:false \ + project.withDocumentation:false \ + profile:none qbsqmltypes.target = $$typedescdir_dst/qbs.qmltypes qbsqmltypes.commands = \ |