Skip to content

Commit 967f404

Browse files
committed
Link the offscreen plugin into the QML tests too
1 parent 0fe35ad commit 967f404

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/qml/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ target_link_libraries(qml_tests PRIVATE
2828
Qt6::Svg
2929
)
3030

31+
if (QT_FEATURE_static)
32+
qt_import_plugins(qml_tests INCLUDE Qt6::QOffscreenIntegrationPlugin)
33+
endif()
3134
target_link_libraries(qml_tests PRIVATE lottie mzutils nebula translations)
3235

3336
target_compile_definitions(qml_tests PRIVATE QUICK_TEST_SOURCE_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}\")

0 commit comments

Comments
 (0)