Configuring qbs. Setup qt

This commit is contained in:
Roman Telezhynskyi 2023-02-14 15:42:16 +02:00
parent db8c776e36
commit d541823020

View File

@ -32,14 +32,16 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
build_script: build_script:
- uname -a - uname -a
- echo $PATH - echo $PATH
- which qmake
- which qbs - which qbs
- pwd - pwd
- ${COMPILER} --version - ${COMPILER} --version
- qbs --version - qbs --version
- qbs setup-toolchains --detect - qbs setup-toolchains --detect
- qbs config --list - qbs config --list
- qbs config defaultProfile ${COMPILER} - qbs setup-qt /usr/bin/qmake qt6
- qbs build -f valentina.qbs -d build --command-echo-mode command-line config:release - qbs config profiles.qt6.baseProfile ${COMPILER}
- qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt6 config:release
- xvfb-run -a qbs -p autotest-runner - xvfb-run -a qbs -p autotest-runner
linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
@ -69,14 +71,16 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
build_script: build_script:
- uname -a - uname -a
- echo $PATH - echo $PATH
- which qmake
- which qbs - which qbs
- pwd - pwd
- ${COMPILER} --version - ${COMPILER} --version
- qbs --version - qbs --version
- qbs setup-toolchains --detect - qbs setup-toolchains --detect
- qbs config --list - qbs config --list
- qbs config defaultProfile ${COMPILER} - qbs setup-qt /usr/bin/qmake qt5
- qbs build -f valentina.qbs -d build --command-echo-mode command-line config:release - qbs config profiles.qt5.baseProfile ${COMPILER}
- qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt5 config:release
- xvfb-run -a qbs -p autotest-runner - xvfb-run -a qbs -p autotest-runner
#macos_task_template: &MACOS_TASK_TEMPLATE #macos_task_template: &MACOS_TASK_TEMPLATE