diff options
author | Robert Löhning <robert.loehning@qt.io> | 2021-05-26 17:53:54 +0200 |
---|---|---|
committer | Robert Löhning <robert.loehning@qt.io> | 2021-05-27 11:30:12 +0200 |
commit | 769fa5f8fae7b40cf38de086dcac6b73b32364e8 (patch) | |
tree | a04541edcda7027e802039c39219bcc163acbc1f /tests/libfuzzer | |
parent | 3826fe59619410a3259683b31c76e35cc68a6afd (diff) |
Fuzzing: Ensure importing minimal plugin into static builds
Task-number: QTBUG-94030
Change-Id: Idcc4499fbd659e7b55a62e256f22fafa04344530
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/libfuzzer')
-rw-r--r-- | tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt | 7 | ||||
-rw-r--r-- | tests/libfuzzer/qml/qml/qqmlcomponent/create/CMakeLists.txt | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt index d1e2745cd0..ff408aa042 100644 --- a/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt +++ b/tests/libfuzzer/qml/jsapi/evaluate/CMakeLists.txt @@ -13,9 +13,6 @@ find_package(Qt6 COMPONENTS Quick) qt_add_executable(evaluate main.cpp ) -qt_import_plugins(evaluate - INCLUDE Qt::QMinimalIntegrationPlugin -) target_link_libraries(evaluate PUBLIC Qt::Core @@ -30,3 +27,7 @@ else() -fsanitize=fuzzer ) endif() + +qt_import_plugins(evaluate + INCLUDE Qt::QMinimalIntegrationPlugin +) diff --git a/tests/libfuzzer/qml/qml/qqmlcomponent/create/CMakeLists.txt b/tests/libfuzzer/qml/qml/qqmlcomponent/create/CMakeLists.txt index 50c0ccb329..2bd22088f4 100644 --- a/tests/libfuzzer/qml/qml/qqmlcomponent/create/CMakeLists.txt +++ b/tests/libfuzzer/qml/qml/qqmlcomponent/create/CMakeLists.txt @@ -13,9 +13,6 @@ find_package(Qt6 COMPONENTS Quick) qt_add_executable(create main.cpp ) -qt_import_plugins(create - INCLUDE Qt::QMinimalIntegrationPlugin -) target_link_libraries(create PUBLIC Qt::Core @@ -30,3 +27,7 @@ else() -fsanitize=fuzzer ) endif() + +qt_import_plugins(create + INCLUDE Qt::QMinimalIntegrationPlugin +) |