mirror of https://github.com/qt/qtbase.git
CMake: Use a unique resource identifier in simpletreemodel example
To avoid the following error:
The custom command generating
.rcc/qrc_editabletreemodel.cpp
is attached to multiple targets:
editabletreemodel
editabletreemodel_tester
but none of these is a common dependency of the other(s). This is
not allowed by the Xcode "new build system".
Pick-to: 6.8
Fixes: QTBUG-131631
Change-Id: I1c5d0702596a4f8f723d9080bc5304d6ad06853b
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 9f59379198
)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
ce820174ee
commit
b51ee7068c
|
@ -71,7 +71,7 @@ if(ANDROID)
|
|||
)
|
||||
endif()
|
||||
|
||||
qt_add_resources(simpletreemodel_tester "simpletreemodel"
|
||||
qt_add_resources(simpletreemodel_tester "simpletreemodel_tester"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
|
|
Loading…
Reference in New Issue