Fix qtdeclarative static builds
qmlplugindump is not build during a Qt static build, so there's no point in creating custom targets that would run the tool. Change-Id: Id7d6d44da63312f298f46eab08a5637cb0c97c8f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
8367a51c6d
commit
6c15ad7978
@ -1837,6 +1837,11 @@ function(qt_add_qmltypes_target target)
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Do nothing during a Qt static build (because the tool isn't built in that case).
|
||||
if (NOT QT_BUILD_SHARED_LIBS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
qt_parse_all_arguments(arg "qt_generate_qmltypes"
|
||||
""
|
||||
"TARGET_PATH;IMPORT_VERSION;IMPORT_NAME;QML_PLUGINDUMP_DEPENDENCIES"
|
||||
|
Loading…
x
Reference in New Issue
Block a user