diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-04 18:52:33 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-09-06 09:01:00 +0000 |
commit | 7292c4ed1076c252a30d16557585ceb8fac2248b (patch) | |
tree | 8025cebc4e63390556ec9abddc83e579075e35e2 /coin | |
parent | 9d5887fbc6fe0b20c4faf7eb42f1b71130e95120 (diff) |
Add build instructions for coin
The tests have not been ported yet and are omitted in this change.
* Disable qdoc when requesting static libclang linkage with MSVC but
the Qt build is not a release build. The object files cannot be mixed.
* Fix the static libclang build on Linux by adding the missing pthreads
linkage.
* Fix duplicated resource names that break the build when linking
statically. The name isn't referenced from anywhere and with cmake's
object library support the Q_INIT_RESOURCE isn't necessary, so this
local rename should be safe.
Change-Id: Ic9bc126ef74700fe07ec5b1c9e408055f7141004
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/module_config.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml new file mode 100644 index 000000000..2d4337041 --- /dev/null +++ b/coin/module_config.yaml @@ -0,0 +1,14 @@ +version: 1 +accept_configuration: + condition: property + property: host.os + equals_property: target.os + +build_instructions: + - !include "{{qt/qtbase}}/prepare_building_env.yaml" + - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml" + +test_instructions: + - type: EnvironmentVariable + variableName: Dummy + variableValue: dummy |