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:
Joerg Bornemann 2022-06-22 16:48:33 +02:00
parent 037ee4912c
commit 974ea1716f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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