Rename builtin test data resource name

Rename the builtin test data resource name to something more unique as
there are name clashes when building tests which also add a resource
named 'testdata'.

Change-Id: Icc1bbff3134e1dbc6ea4f6a87a1715b936c723cc
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Leander Beernaert 2019-10-18 09:46:23 +02:00
parent 373be4200b
commit 077ea818af

View File

@ -2445,7 +2445,7 @@ function(add_qt_test name)
endforeach()
if (builtin_files)
add_qt_resource(${name} "testdata"
add_qt_resource(${name} "${name}_testdata_builtin"
PREFIX "/"
FILES ${builtin_files}
BASE ${CMAKE_CURRENT_SOURCE_DIR})