]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Linux: fix dead keys
authortobtoht <tob@featherwallet.org>
Tue, 7 Mar 2023 22:09:16 +0000 (23:09 +0100)
committertobtoht <tob@featherwallet.org>
Tue, 7 Mar 2023 23:09:54 +0000 (00:09 +0100)
src/CMakeLists.txt
src/main.cpp

index 03e4fbcbf87ca2940dd0b2f7721112fe9051dbf5..b73cea6ea83aaf10f47bd2e4884963bcc41b1ec5 100644 (file)
@@ -295,6 +295,10 @@ if(STATIC AND NOT Qt6_FOUND)
     endif()
 endif()
 
+if(STATIC AND UNIX AND Qt6_FOUND)
+    target_link_libraries(feather Qt6::QComposePlatformInputContextPlugin)
+endif()
+
 if(DEPENDS AND APPLE)
     # TODO: Needed for ___isOSVersionAtLeast
     target_link_libraries(feather
index b40ce828b9330025ab51f0442a4d791268fccd06..1f5c934592d70647fd170581a1e04b4b597bb7b2 100644 (file)
@@ -31,6 +31,7 @@
 
 #if defined(Q_OS_LINUX) && defined(STATIC)
 Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
+Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin) // Needed for dead keys on Linux
 #endif
 
 #if defined(Q_OS_LINUX) && defined(STACK_TRACE)