Commit 1663f333 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Friedemann Kleint
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.

Task-number: QTBUG-46009
Change-Id: I0e88cc8aef790c9c4bac90425db95d6203243444
Reviewed-by: default avatarJarkko Koivikko <jarkko.koivikko@code-q.fi>
Showing with 1 addition and 1 deletion
......@@ -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;
......
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