From eb1f9c2e687002643ebc80e51d4bfc5f0258da0d Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Tue, 11 Dec 2018 12:09:38 +0100 Subject: CMake: Don't handle empty resource files [ChangeLog][Qml] Empty resource files will not be passed to Qt Quick Compiler to be handled when using CMake. Change-Id: I1513d29b70d8a4b08a2947f4a97fbd525c5ace8f Reviewed-by: Simon Hausmann --- tests/auto/cmake/qtquickcompiler/CMakeLists.txt | 2 +- tests/auto/cmake/qtquickcompiler/empty.qrc | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/auto/cmake/qtquickcompiler/empty.qrc (limited to 'tests') diff --git a/tests/auto/cmake/qtquickcompiler/CMakeLists.txt b/tests/auto/cmake/qtquickcompiler/CMakeLists.txt index 4e46544767..9f8112ef49 100644 --- a/tests/auto/cmake/qtquickcompiler/CMakeLists.txt +++ b/tests/auto/cmake/qtquickcompiler/CMakeLists.txt @@ -9,7 +9,7 @@ find_package(Qt5QuickCompiler) set(CMAKE_CXXFLAGS "${CMAKE_CXXFLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}") -qtquick_compiler_add_resources(RESOURCES "resources with space/qqc_test.qrc") +qtquick_compiler_add_resources(RESOURCES "empty.qrc" "resources with space/qqc_test.qrc") set(CMAKE_AUTOMOC ON) diff --git a/tests/auto/cmake/qtquickcompiler/empty.qrc b/tests/auto/cmake/qtquickcompiler/empty.qrc new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3