Starting network: OK
# cd V3S/
# ./TableMeet_GUI -platform linuxfb:fb=/dev/fb1
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
QWSSocket::connectToLocalFile could not connect:: No such file or directory
No Qt for Embedded Linux server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
我百度后得知,是需要要qvfb的支持。qvfb是X11或Window的啊。然后再百度,了解到说是需要在编译时加上 -embbeded arm,才可以编译出嵌入式版本。但我的编译参数是加了这个的。编译参数如下:
sudo ./configure -force-pkg-config -opensource -confirm-license -release -shared -embedded arm -xplatform arm-linux-gnueabihf -depths 4,8,16,18,24,32 -fast -optimized-qmake -no-sql-qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -little-endian -host-little-endian -no-qt3support -no-libtiff -no-libmng -no-opengl -no-mmx -no-sse -no-sse2 -no-3dnow -no-openssl -no-webkit -no-qvfb -no-phonon -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -nomake examples -nomake tools -nomake docs -DQT_ARCH_ARM
哪位有经验的高手帮我指点一下。不胜感激。
离线
这是Qt4 还是 Qt5?
离线
qt4是-qws,qt5是-platfrom linxufb。
离线
你的意思是在编译时,要加上-qws?这个选项?
离线
可是我看到很多4的编译上都是加载-embbeded arm这个选项啊
离线
嗯是的,我加了这个,现在是其他的错误了。
离线