|
我想在pc下看应用程序的界面,但是编译后运行没有界面跳出来
编译:Compile Out打印信息
Running build steps for project Hello...
Starting: /opt/EmbedSky/qt-4.5/__install/x86/bin/qmake /opt/EmbedSky/qt-4.5/pro/Hello/Hello.pro -spec /opt/EmbedSky/qt-4.5/__install/x86/mkspecs/qws/linux-x86-g++ -r CONFIG+=debug
Exited with code 0.
Starting: /usr/bin/make -w
make: Entering directory `/opt/EmbedSky/qt-4.5/pro/Hello'
/opt/EmbedSky/qt-4.5/__install/x86/bin/uic dialog.ui -o ui_dialog.h
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../__install/x86/mkspecs/qws/linux-x86-g++ -I. -I../../__install/x86/include/QtCore -I../../__install/x86/include/QtNetwork -I../../__install/x86/include/QtGui -I../../__install/x86/include -I. -I. -o main.o main.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../__install/x86/mkspecs/qws/linux-x86-g++ -I. -I../../__install/x86/include/QtCore -I../../__install/x86/include/QtNetwork -I../../__install/x86/include/QtGui -I../../__install/x86/include -I. -I. -o dialog.o dialog.cpp
/opt/EmbedSky/qt-4.5/__install/x86//bin/moc -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../__install/x86/mkspecs/qws/linux-x86-g++ -I. -I../../__install/x86/include/QtCore -I../../__install/x86/include/QtNetwork -I../../__install/x86/include/QtGui -I../../__install/x86/include -I. -I. dialog.h -o moc_dialog.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../__install/x86/mkspecs/qws/linux-x86-g++ -I. -I../../__install/x86/include/QtCore -I../../__install/x86/include/QtNetwork -I../../__install/x86/include/QtGui -I../../__install/x86/include -I. -I. -o moc_dialog.o moc_dialog.cpp
g++ -Wl,-rpath,/opt/EmbedSky/qt-4.5/__install/x86/lib -o Hello main.o dialog.o moc_dialog.o -L/opt/EmbedSky/qt-4.5/__install/x86//lib -lQtGui -L/opt/EmbedSky/qt-4.5/__install/x86//lib -lpng -lfreetype -pthread -pthread -pthread -pthread -pthread -pthread -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
make: Leaving directory `/opt/EmbedSky/qt-4.5/pro/Hello'
Exited with code 0.
运行:Application打印信息
Starting /opt/EmbedSky/qt-4.5/pro/Hello/Hello...
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
QWSSocket::connectToLocalFile could not connect:: Connection refused
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.
/opt/EmbedSky/qt-4.5/pro/Hello/Hello exited with code 1
运行后Compile Out打印信息变成这样:
Running build steps for project Hello...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w
make: Entering directory `/opt/EmbedSky/qt-4.5/pro/Hello'
make: Nothing to be done for `first'.
make: Leaving directory `/opt/EmbedSky/qt-4.5/pro/Hello'
Exited with code 0.
|
|