diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-05-15 10:15:54 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-09-16 08:07:59 +0000 |
commit | c2c362d9f313441351e5e7167e22b4fd1b7012a8 (patch) | |
tree | d8be5252d7d2e9892111cb2862f1d1df6e00294f | |
parent | 7debd364c8ec3b6d41b0905222bfabb5b088d714 (diff) |
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 1663f333ddceaaa5b6b4b75edfaa2265642db11d)
Change-Id: I907f63146c4d64ae6ec5ccb3bd2f4cf349bf5cb1
Task-number: QTBUG-46009
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
-rw-r--r-- | src/virtualkeyboard/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtualkeyboard/plugin.h b/src/virtualkeyboard/plugin.h index 3b305e06..c7df61fa 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; |