我正在使用Qt Creator在Linux KDE neon上开发和运行一个应用程序。
我的应用程序突然拒绝打开一些URL,这是一个以前可以正常工作的功能。我没有改变任何东西,所以我猜是一些KDE霓虹灯更新破坏了它。
当调用该函数时,我得到以下调试输出:
kde-open5: /home/<user>/Qt/5.10.0/gcc_64/lib/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5)
kde-open5:
当我尝试运行qt-deployment时,我得到了休眠错误: 我还尝试使用ldd复制所有的so文件,并将它们放入另一个系统中,但随后我得到了分段错误(核心转储)错误 ./linuxdeployqt.AppImage /home/uia53314/LabelingTool8.0v/build-LabelingTool1-Desktop_Qt_5_12_3_GCC_64bit-Debug/LabelingTool
linuxdeployqt 5 (commit 37631e5), build 631 built on 2019-01-25 22:47:58 UTC
Not using FHS-l
在Ubuntu22.04上构建时,我在中得到了一个奇怪的与ICU相关的链接错误。
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23
/home/bkey1/vcpkg/installed/x64-linux/debug/lib/libicuuc.a(udata.ao): in function `openCommonData(char const*, int, UErrorCode*)':
udata.cpp:(.text+0x23f7): undefined reference t
我想在Windows上使用等效的linux库libdns_sd.so。我正在使用QT/C++构建一个使用dns_sd.h的应用程序,我遇到了一个错误,我有:
dns_sd.h: No such file or directory
在Linux上,它与我的.pro文件中的这一行完美地结合在一起:
LIBS += /usr/lib/x86_64-linux-gnu/libdns_sd.so
我不知道要在Windows上包含什么才能让它正常工作。我在上下载了mDNSResponder,但我找不到要包含的库。
谢谢!
一个星期以来,我一直在努力解决这个问题,所以我想是时候寻求帮助了。长话短说:我正在使用Python3.4和PyQt5构建一个应用程序,并使用cx_Freeze为我的应用程序创建一个独立的可执行文件。虽然在Windows和Mac上一切都很顺利,但在没有安装Qt5的Ubuntu操作系统上执行冻结的应用程序时,我遇到了这个问题:
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are:
当使用Python安装脚本时,会像在中讨论的那样替换shebang。
问题是,在我的例子中,它被替换为
#!/ssoft/spack/paien/v2/opt/spack/linux-rhel7-x86_E5v2_IntelIB/gcc-7.3.0/python-3.6.5-5yxsy6j5miw26wxpzrtync5gnhtsv5pt/bin/python3
它看起来太长,操作系统无法处理:
bad interpreter: /ssoft/spack/paien/v2/opt/spack/linux-rhel7-x86_E5v2_IntelIB/g: no such file or dir
我运行以下代码
./gcc -o test -ansi test.c -L/<other dirs>/gcc/arm-linux-androideabi/4.4.3/include-fixed/
我得到..。
test.c:3:18: error: no include path in which to search for stdio.h
test.c: In function 'main':
test.c:7: warning: incompatible implicit declaration of built-in function 'printf&
我在下面的给定路径中有arm-none-linux-gnueabi,并且使用相同的编译器构建我的目标文件。 root@user-VirtualBox:/home/user/octane_etk_sample-6.0.0.240# which arm-none-linux-gnueabi-gcc
/home/user/octane_etk-6.0.0.240/arm-toolchain/bin/arm-none-linux-gnueabi-gcc
root@user-VirtualBox:/home/user/octane_etk_sample-6.0.0.240# which arm-non