40楼#
发布于:2022-07-13 22:39
laolang_cool:我用的doublecmd-gtk2,默认应该是按键直接快速定位到相同键的文件上,比如按a,则快速定位到a开头的文件。但如果使用小小,即使是英文状态,这个功能也不能正常工作。更新一下吧,修复了doublecmd中的filter功能 libreoffice中测试打了几段文字,没有重现 |
|
41楼#
发布于: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' ``` |
|
42楼#
发布于:2022-07-13 23:22
laolang_cool:赞!不过编译时遇到了问题……这个版本的编译脚本加入了对qt6的支持,所以需要新建相关目录。 如果不想编译qt6的话,把qt5-im/build.txt中针对qt6的删除吧 |
|
43楼#
发布于: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 |
|
44楼#
发布于:2022-07-13 23:48
laolang_cool:似乎不行:Package Qt6 was not found in the pkg-config search path. 没有qt6,你修改build.txt,把qt6相关的删掉吧 |
|
45楼#
发布于:2022-07-13 23:54
|
|
46楼#
发布于:2022-07-14 00:08
laolang_cool:我是把qt5-im/build.txt里的相关字段都删了,还是有这个错误提示。然后我把qt6也安装了再次尝试,还是一样的问题……似乎arch的qt6-base没有qt6.pc。回到原帖那应该是你删错东西了 |
|
47楼#
发布于:2022-07-14 00:09
|
|
48楼#
发布于:2022-07-14 00:18
laolang_cool:我检查了这个文件,qt6的字段都没了的,不清楚为何还会提示QT6的回到原帖贴出来看看 |
|
49楼#
发布于: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); } |
|