diff --git a/src/virtualkeyboard/plugin.h b/src/virtualkeyboard/plugin.h
index 3b305e067e65269e6ad2195fba7eaf7da8b83865..c7df61fa7242137b95d42b5b311ac60779608589 100644
--- a/src/virtualkeyboard/plugin.h
+++ b/src/virtualkeyboard/plugin.h
@@ -27,7 +27,7 @@
 class PlatformInputContextPlugin : public QPlatformInputContextPlugin
 {
     Q_OBJECT
-    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface" FILE "qtvirtualkeyboard.json")
+    Q_PLUGIN_METADATA(IID QPlatformInputContextFactoryInterface_iid FILE "qtvirtualkeyboard.json")
 
 public:
     QStringList keys() const;