forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-i18n/fcitx-qt5: fix compatibility issue with qt5.5
Gentoo-Bug: 565942 Package-Manager: portage-2.2.26 Signed-off-by: Yixun Lan <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
app-i18n/fcitx-qt5/files/fcitx-qt5-qt-5.5-compatibility-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 78c482b3fdfe558da74657893a3bcd1ece6d7758 Mon Sep 17 00:00:00 2001 | ||
From: Weng Xuetian <[email protected]> | ||
Date: Thu, 2 Jul 2015 20:02:17 -0700 | ||
Subject: [PATCH] [qt5] fixes #6 | ||
|
||
use macro instead of string literal and fix compatibility issue with qt5.5 | ||
--- | ||
platforminputcontext/main.h | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/platforminputcontext/main.h b/platforminputcontext/main.h | ||
index 1492d72..9938da1 100644 | ||
--- a/platforminputcontext/main.h | ||
+++ b/platforminputcontext/main.h | ||
@@ -29,7 +29,7 @@ class QFcitxPlatformInputContextPlugin : public QPlatformInputContextPlugin | ||
{ | ||
Q_OBJECT | ||
public: | ||
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPlatformInputContextFactoryInterface" FILE "fcitx.json") | ||
+ Q_PLUGIN_METADATA(IID QPlatformInputContextFactoryInterface_iid FILE "fcitx.json") | ||
QStringList keys() const; | ||
QFcitxPlatformInputContext *create(const QString& system, const QStringList& paramList); | ||
}; |