aboutsummaryrefslogtreecommitdiffstats
path: root/src/labs/platform/qquicklabsplatformmenu.cpp
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2022-01-10 10:43:39 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2022-01-17 12:36:12 +0100
commitc2598d344dfeb339ef791380737c9ad660151896 (patch)
tree690fe2edbc1c84b76388d078f63155bab465ae39 /src/labs/platform/qquicklabsplatformmenu.cpp
parent2ffed97aac48e27b01ed29813e8e29b054f99254 (diff)
qt.labs.platform: Use declarative registration
Makes qt.labs.platform use declarative registration which also allows the plugin to become optional now. Change-Id: I800b567c52e118485e08cf350509e312c7d01b5f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/labs/platform/qquicklabsplatformmenu.cpp')
-rw-r--r--src/labs/platform/qquicklabsplatformmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/labs/platform/qquicklabsplatformmenu.cpp b/src/labs/platform/qquicklabsplatformmenu.cpp
index fc15892d89..b1115aa167 100644
--- a/src/labs/platform/qquicklabsplatformmenu.cpp
+++ b/src/labs/platform/qquicklabsplatformmenu.cpp
@@ -195,7 +195,7 @@ QT_BEGIN_NAMESPACE
This signal is emitted when the menu is about to be hidden from the user.
*/
-Q_DECLARE_LOGGING_CATEGORY(qtLabsPlatformMenus)
+Q_LOGGING_CATEGORY(qtLabsPlatformMenus, "qt.labs.platform.menus")
QQuickLabsPlatformMenu::QQuickLabsPlatformMenu(QObject *parent)
: QObject(parent),