8 lines
656 B
CMake
8 lines
656 B
CMake
# QML: Qt Quick Test для компонентов и диалогов + дымовой тест главного окна.
|
|||
|
|
bilauncher_add_test(tst_qml LABEL qml GUI TIMEOUT 180 SOURCES tst_qml.cpp)
|
||
|
|
target_compile_definitions(tst_qml PRIVATE QUICK_TEST_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
||
|
|
# Сами тесты лежат рядом, в tst_*.qml; Qt Creator покажет их в проекте.
|
||
|
|
target_sources(tst_qml PRIVATE tst_components.qml tst_dialogs.qml)
|
||
|
|
set_source_files_properties(tst_components.qml tst_dialogs.qml PROPERTIES HEADER_FILE_ONLY TRUE)
|
||
|
|
|
||
|
|
bilauncher_add_test(tst_qml_smoke LABEL qml GUI TIMEOUT 120 SOURCES tst_qml_smoke.cpp)
|