20楼#
发布于:2022-07-13 21:02
用了几天,感觉小小即使在ibus嵌合模式下,兼容性也还是有些问题,比如在一些应用会丢字,要来回切換窗口一次就正常了;然后在一些应用,比如doublecmd下,即使小小在英文模式下,按键后double并不能以按的键的郣母快速定位。这些我在设为ibus-rime时就没有这些问题。
不知这块能否做一些改进呢? |
|
21楼#
发布于:2022-07-13 22:37
|
|
22楼#
发布于:2022-07-13 23:13
dgod:更新一下吧,修复了doublecmd中的filter功能赞!不过编译时遇到了问题…… ``` gcc -m64 -fPIC -I/mnt/abs/yong/src/yong/llib -DL_CALL_GLIB_CLIENT -fvisibility=hidden -I/mnt/abs/yong/src/yong/im -Wall -g -O2 -fno-strict-aliasing -pipe -I/mnt/abs/yong/src/yong/include -I/mnt/abs/yong/src/yong/common `pkg-config --cflags glib-2.0` `pkg-config --cflags Qt5Core Qt5Gui` -I/usr/include/qt/QtCore/5.15.5 -I/usr/include/qt/QtGui/5.15.5 -I/usr/include/qt/QtGui/5.15.5/QtGui -I/mnt/abs/yong/src/yong/im/qt5-im/l64-qt5 -shared -Wl,--hash-style=sysv -m64 -Wl,--no-undefined -Wl,-O1 -Wl,-z,relro qyongplatforminputcontext.o main.o lcall.o moc_main.o moc_qyongplatforminputcontext.o -o ./libyongplatforminputcontextplugin.so `pkg-config --libs Qt5Core Qt5Gui glib-2.0` -ldl -lstdc++ Failed change to directory '/mnt/abs/yong/src/yong/im/qt5-im/l32-qt6' ``` |
|
23楼#
发布于:2022-07-13 23:46
似乎不行:
gcc -m64 -fPIC -I/mnt/abs/yong/src/yong/llib -DL_CALL_GLIB_CLIENT -f visibility=hidden -I/mnt/abs/yong/src/yong/im -Wall -g -O2 -fno-stri ct-aliasing -pipe -I/mnt/abs/yong/src/yong/include -I/mnt/abs/yong/src/yong/common `pkg-config --cflags glib-2.0` `pkg-config --cflags Q t5Core Qt5Gui` -I/usr/include/qt/QtCore/5.15.5 -I/usr/include/qt/QtGui/5.15.5 -I /usr/include/qt/QtGui/5.15.5/QtGui -I/mnt/abs/yong/src/yong/im/qt5-i m/l64-qt5 -shared -Wl,--hash-style=sysv -m64 -Wl,--no-undefined -Wl,-O1 -Wl,-z,r elro qyongplatforminputcontext.o main.o lcall.o moc_main.o moc_qyongplatforminpu tcontext.o -o ./libyongplatforminputcontextplugin.so `pkg-config --libs Qt5Core Qt5Gui glib-2.0` -ldl -lstdc++ Package Qt6 was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt6.pc' to the PKG_CONFIG_PATH environment variable Package 'Qt6', required by 'virtual:world', not found node:child_process:894 throw err; ^ Error: Command failed: pkg-config --modversion Qt6 Package Qt6 was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt6.pc' to the PKG_CONFIG_PATH environment variable Package 'Qt6', required by 'virtual:world', not found node:child_process:894 throw err; ^ Error: Command failed: pkg-config --modversion Qt6 Package Qt6 was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt6.pc' to the PKG_CONFIG_PATH environment variable Package 'Qt6', required by 'virtual:world', not found at checkExecSyncError (node:child_process:820:11) at Object.execSync (node:child_process:891:15) at shell (/mnt/abs/yong/src/build.js/build.js:586:23) at run (eval at _build_step (/mnt/abs/yong/src/build.js/build.js:525:8), <anonymous>:33:14) at eval (eval at _build_step (/mnt/abs/yong/src/build.js/build.js:525:8), <anonymous>:81:2) at _build_step (/mnt/abs/yong/src/build.js/build.js:525:8) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { status: 1, signal: null, output: [ null, '', 'Package Qt6 was not found in the pkg-config search path.\n' + "Perhaps you should add the directory containing `Qt6.pc'\n" + 'to the PKG_CONFIG_PATH environment variable\n' + "Package 'Qt6', required by 'virtual:world', not found\n" ], pid: 37312, stdout: '', stderr: 'Package Qt6 was not found in the pkg-config search path.\n' + "Perhaps you should add the directory containing `Qt6.pc'\n" + 'to the PKG_CONFIG_PATH environment variable\n' + "Package 'Qt6', required by 'virtual:world', not found\n" } Node.js v18.5.0 |
|
24楼#
发布于:2022-07-13 23:54
|
|
25楼#
发布于:2022-07-14 00:09
|
|
26楼#
发布于:2022-07-14 00:20
vi abs/yong/src/yong/im/qt5-im/build.txt
----- var SRCS_CXX=['qyongplatforminputcontext.cpp','main.cpp']; var SRCS_C=['lcall.c']; var OBJS=[ 'qyongplatforminputcontext.o', 'main.o', 'lcall.o', 'moc_main.o', 'moc_qyongplatforminputcontext.o']; env("VPATH+=$(TOPDIR)/im/qt5-im $(TOPDIR)/im"); env("CFLAGS+=$(PICFLAGS) $(LLIB_CFLAGS)"); env("CFLAGS+=-DL_CALL_GLIB_CLIENT -fvisibility=hidden -I$(TOPDIR)/im"); env("LDFLAGS+=-shared"); function run(target){ cd(target); include("../../../rules.txt"); var ARCH=target.split('-')[0]; var QT=target.split('-')[1]; var VER=QT.substring(2); env("CFLAGS+=`pkg-config --cflags glib-2.0`"); if(VER==5){ env("CFLAGS+=`pkg-config --cflags Qt5Core Qt5Gui`"); }else{ } if(VER==5){ var QT_VER=shell(`pkg-config --modversion Qt${VER}Core`); env("LIBS+=`pkg-config --libs Qt5Core Qt5Gui glib-2.0`"); }else{ var QT_VER=shell(`pkg-config --modversion Qt${VER}`); env(`LIBS+=-lQt${VER}Gui -lQt${VER}Core -lglib-2.0`); } env("QT_VER+="+QT_VER); env("LIBS+=-ldl -lstdc++"); if(VER==5){ //var MOC="/usr/bin/moc" var LIBDIR=shell(`pkg-config --variable=libdir Qt${VER}Core`); var MOC="/usr/bin/moc" }else{ var MOC="/usr/bin/moc" var LIBDIR=shell(`pkg-config --variable=libdir Qt${VER}`); } if(VER==5) var INCDIR=shell("pkg-config --variable=includedir Qt5Core"); else var INCDIR=`/usr/include/qt${VER}`; env("CFLAGS","+=",`-I${INCDIR}/QtCore/${QT_VER}`); env("CFLAGS","+=",`-I${INCDIR}/QtGui/${QT_VER}`); env("CFLAGS","+=",`-I${INCDIR}/QtGui/${QT_VER}/QtGui`); env(`MOCFLAGS=-DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I${LIBDIR}/qt${VER}/mkspecs/linux-g++ -I${INCDIR}/QtGui/$(QT_VER) -I${INCDIR}/QtGui/$(QT_VER)/QtGui -I${INCDIR} -I${INCDIR}/QtGui -I${INCDIR}/QtDBus -I${INCDIR}/QtCore`); env("LDFLAGS+=-Wl,--no-undefined -Wl,-O1 -Wl,-z,relro"); env("CFLAGS+=-I$(TOPDIR)/im/qt5-im/"+target); if(!_exists(MOC)) MOC="/usr/bin/moc" cr('../main.h','moc_main.cpp', MOC+' $(MOCFLAGS) $^ -o $@'); cr('../qyongplatforminputcontext.h','moc_qyongplatforminputcontext.cpp', MOC+' $(MOCFLAGS) $^ -o $@'); begin(); cxx('moc_main.cpp'); cxx('moc_qyongplatforminputcontext.cpp'); cxx(SRCS_CXX); cc(SRCS_C); end(function(){ ld(OBJS,'$(DESTDIR)/libyongplatforminputcontextplugin.so'); }); } if(target=="clean"){ rmdir(DIRS,'*'); } else if(!target || target=="all"){ build(undefined,undefined,DIRS); } else if(target=='l32'){ } else if(target=='l64'){ } else { run(target); } |
|
27楼#
发布于:2022-07-14 13:16
|
|
28楼#
发布于:2022-07-14 15:06
另外,之前提到的有字不上屏的问题,我还需要时间再确认一下看看。
|
|
29楼#
发布于:2022-07-14 22:26
laolang_cool:另外,之前提到的有字不上屏的问题,我还需要时间再确认一下看看。回到原帖目前发现在obsidian里,当鼠标指针在候选框位置上时,较大机率会遇到字不上屏的情况,然后在输入第3个码时候选框就会消失,然后字码也会被消除,得重新输入。 |
|