Don't create duplicate plugins.qmltypes rules
If the qmltypes are generated by qmltyperegistrar, we should not offer a rule to generate them using qmlplugindump. Otherwise we get warnings from make. Change-Id: Ifb88cbff8e6c577f9889ff3f071bf31f48f634ad Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>bb10
parent
004e3e0dc2
commit
18753e5493
|
|
@ -68,7 +68,10 @@ load(qt_common)
|
|||
# To regenerate run 'make qmltypes' which will update the plugins.qmltypes file in the source
|
||||
# directory. Then review and commit the changes made to plugins.qmltypes.
|
||||
#
|
||||
!cross_compile {
|
||||
# Due to the above mentioned drawbacks, there is a better mechanism available now: qmltyperegistrar
|
||||
# can generate the .qmltypes files at compile time. It will do this when CONFIG += qmltypes is set.
|
||||
# Therefore, don't try to generate the qmltypes files via qmlplugindump in that case.
|
||||
!cross_compile:!qmltypes {
|
||||
qmlplugindump = qmlplugindump
|
||||
importpath.name = QML2_IMPORT_PATH
|
||||
importpath.value =
|
||||
|
|
|
|||
Loading…
Reference in New Issue