CMake: Replace deprecated keyword in qt_internal_add_module calls
Use CLASS_NAME instead of CLASSNAME. The latter will be removed in the future. Change-Id: I0f66b05b45b1c2ec904a405b5f2f18b7901ced9e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
037ee4912c
commit
974ea1716f
|
@ -32,7 +32,7 @@ endif()
|
|||
qt_internal_add_qml_module(qtquickcontrols2nativestyleplugin
|
||||
URI "QtQuick.NativeStyle"
|
||||
VERSION "${PROJECT_VERSION}"
|
||||
CLASSNAME QtQuickControls2NativeStylePlugin
|
||||
CLASS_NAME QtQuickControls2NativeStylePlugin
|
||||
DEPENDENCIES
|
||||
QtQuick.Controls/auto
|
||||
QtQuick.Layouts/auto
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
qt_internal_add_qml_module(QuickTemplates2
|
||||
URI "QtQuick.Templates"
|
||||
VERSION "${PROJECT_VERSION}"
|
||||
CLASSNAME QtQuickTemplates2Plugin
|
||||
CLASS_NAME QtQuickTemplates2Plugin
|
||||
DEPENDENCIES
|
||||
QtQuick/auto
|
||||
PLUGIN_TARGET qtquicktemplates2plugin
|
||||
|
|
Loading…
Reference in New Issue