亚瑟王 发表于 2012-11-10 11:16
1、qvfb是qtopia的程序,根据你前面的描述你在编译Qt4,也就是用不到qvfb。
2、你的hello程序里面有什么 ...
是在编译qt4,qmake是天嵌光盘里的qt-embedded-linux-opensource-src-4.5.0_20100601.tar.bz2解压后编译arm版本的qt4里的,/opt/EmbedSky/qt-4.5/__install/arm/qmake,hello的内容是:
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *label = new QLabel("Hello Qt!");
label->show();
return app.exec();
}
这是个很简单的程序,后来我下载了qt-x11-opensource-src-4.3.2.tar.gz,解压安装后用Qt-4.3.2里面的qmake,点击Qtcreator里面的run就可以执行了,出现hello界面,我认为是天嵌Qt4.5里面qmake的问题,很多人都遇到这个问题的! |