0

当我尝试使用 QT5 在 ubuntu 上为 armv7l-timesys-linux-gnueabi 构建 SQUISH 时,我遇到了错误

Checking Qt library path
> /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib
? Checking whether Qt is built with thread support
: Looking for /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib/libqt-mt.so
: Looking for /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib/libqt-mt.so
: Looking for /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib/libqte-mt.so
: Looking for /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib/libqte.so
: findQtHelper: soversion: 4, debug false, framework false
: findQtHelper: No QtCore at /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib/libQtCore.so.4
: findQtHelper: soversion: 4, debug true, framework false
: findQtHelper: No QtCore at /opt/timesys/nitrogen6x/toolchain/opt/qt5/lib/libQtCore_debug.so.4
: No suitable Qt libraries found
# No Qt library found in /opt/timesys/nitrogen6x/toolchain/opt/qt5

下面是我使用的命令,

export PATH=$PATH:/opt/timesys/nitrogen6x/toolchain/bin


sudo ./configure --disable-all --enable-server --enable-wrappers --disable-tk --with-qtdir=/opt/timesys/nitrogen6x/toolchain/opt/qt5/ --with-qmake=/opt/qt5/bin/qmake --host =armv7l-timesys-linux-gnueabi

请告诉我如何解决这些错误?

谢谢布里杰什

4

1 回答 1

0

您已经针对 Qt3.3 构建了吗?看起来它可能正在寻找那个......记住你必须做愚蠢的“双重构建”......除非Froglogic改变了Qt5的规则。

否则,在编译的前半部分运行 sudo apt-get install libqt3-mt 并指向这些库。

于 2013-04-10T01:18:37.837 回答