Commit c2c362d9 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Mitch Curtis
Browse files

Use QPlatformInputContextFactoryInterface_iid instead of interface name.

An API version number was added in
qtbase/c2e0c126d8be8782201b2e4b5e47d9abe7a64df0 to prevent crashes
when changing QPA APIs. Using the macro will result in the correct
name being used depending on Qt version.

(cherry picked from commit 1663f333

)
Change-Id: I907f63146c4d64ae6ec5ccb3bd2f4cf349bf5cb1
Task-number: QTBUG-46009
Reviewed-by: default avatarJarkko Koivikko <jarkko.koivikko@code-q.fi>
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
class PlatformInputContextPlugin : public QPlatformInputContextPlugin class PlatformInputContextPlugin : public QPlatformInputContextPlugin
{ {
Q_OBJECT Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface" FILE "qtvirtualkeyboard.json") Q_PLUGIN_METADATA(IID QPlatformInputContextFactoryInterface_iid FILE "qtvirtualkeyboard.json")
public: public:
QStringList keys() const; QStringList keys() const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment