init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled

This commit is contained in:
allhaileris
2026-02-16 15:50:16 +03:00
commit afb81b8278
13816 changed files with 3689732 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
set(QT_WRAPPER_SRCS
main.cpp
wrapperapp.cpp
mainwindow.cpp
)
add_executable(fcitx5-qt6-gui-wrapper ${QT_WRAPPER_SRCS})
set_target_properties(fcitx5-qt6-gui-wrapper
PROPERTIES AUTOMOC TRUE AUTOUIC TRUE AUTOUIC_OPTIONS "-tr=fcitx::tr2fcitx;--include=fcitxqti18nhelper.h")
target_link_libraries(fcitx5-qt6-gui-wrapper
Fcitx5::Utils
Qt6::Core
Qt6::Gui
Qt6::Widgets
Fcitx5Qt6::DBusAddons
Fcitx5Qt6::WidgetsAddons
)
install(TARGETS fcitx5-qt6-gui-wrapper DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}")
configure_file(org.fcitx.fcitx5-qt6-gui-wrapper.desktop.in.in ${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.fcitx5-qt6-gui-wrapper.desktop.in @ONLY)
fcitx5_translate_desktop_file(${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.fcitx5-qt6-gui-wrapper.desktop.in
org.fcitx.fcitx5-qt6-gui-wrapper.desktop)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.fcitx5-qt6-gui-wrapper.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)

View File

@@ -0,0 +1 @@
../../qt5/guiwrapper/main.cpp

View File

@@ -0,0 +1 @@
../../qt5/guiwrapper/mainwindow.cpp

View File

@@ -0,0 +1 @@
../../qt5/guiwrapper/mainwindow.h

View File

@@ -0,0 +1 @@
../../qt5/guiwrapper/mainwindow.ui

View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Fcitx 5 Qt6 Gui Wrapper
GenericName=Input Method Configuration helper
Comment=Load configuration plugin for Fcitx Addon
Icon=fcitx
Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/fcitx5-qt6-gui-wrapper
Type=Application
Categories=Settings;
NoDisplay=true

View File

@@ -0,0 +1 @@
../../qt5/guiwrapper/wrapperapp.cpp

View File

@@ -0,0 +1 @@
../../qt5/guiwrapper/wrapperapp.h