Tests: Autogen: Use valid rcc compression levels

Avoid the invalid compression level 0 when invoking rcc.
It let's rcc fail with an error since Qt 5.13.
This commit is contained in:
Sebastian Holtermann 2019-07-01 14:30:10 +02:00 committed by Brad King
parent 753373579e
commit 1a2d6bdefc

View File

@ -37,7 +37,7 @@ if (QT_TEST_VERSION EQUAL 4)
else()
set(rccCompress "--compress")
endif()
set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};0" )
set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};4" )