24f12d0cef
We want to remove the Qt .pro files for projects, except examples, because examples are still meant to build with qmake. To not lose coverage on examples built with qmake, add instructions that will build the qtrepo/examples folder with qmake when the CMake configuration has -DQT_BUILD_EXAMPLES=ON. This means that such configurations will build examples both with CMake and qmake. Aside from making sure that our examples will still build with qmake, it will gives us some some coverage that a CMake-built qmake works correctly. Implementation-wise, add new instructions files that can call qmake and make depending on configuration and target type. Pick-to: 6.0 Fixes: QTBUG-85986 Change-Id: Ie8f4cbcda03c94da2aef455e32f48dad41a4bdb0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
30 lines
880 B
YAML
30 lines
880 B
YAML
type: Group
|
|
instructions:
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_QMAKE_LOCATION
|
|
variableValue: "{{.InstallDir}}\\target\\bin\\qmake.bat"
|
|
enable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_value: Windows
|
|
- type: Group
|
|
disable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_value: Windows
|
|
instructions:
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_QMAKE_LOCATION
|
|
variableValue: "{{.InstallDir}}/target/bin/qmake"
|
|
disable_if:
|
|
condition: property
|
|
property: target.osVersion
|
|
equals_value: QEMU
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_QMAKE_LOCATION
|
|
variableValue: "{{.InstallDir}}/target/bin/host-qmake"
|
|
enable_if:
|
|
condition: property
|
|
property: target.osVersion
|
|
equals_value: QEMU
|