标题:纯新手,问些问题,各位饭后无聊可以帮忙扫下盲
作者:xiaobaiwen
日期:2009-02-06 12:45
内容:
自己也用Qt,只在linux桌面机上用,今年毕业设计就准备要用Qt在linux下写个软件。最近报了个班,学嵌入式开发,他们就讲底成的开发,自己想用qt自己做上成的应用,所以想在这来入入门。
想必各位都是做嵌入式的开发咯,大家帮我看看,
1:把bootloader和kernel烧进板子后,还要做些什么才可以在板子上看到自己写的Qt应用程序?
2:我在网上看好像嵌入式qt开发,要安装Qt embeded, Qtopia,这些都是什么?还有个qvfb好像是个模拟器,是不是在桌面机上装了这个就可以模拟在板子上的Qt应用程序的运行情况,不过我这儿没装上。
3:我现在在桌面机中装了Qt4.4.3,Qt embeded和Qtopia都没有装,上面说的那个qvfb没有装上,我在tools/qvfb下make了一下,结果有问题:
$ make
g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include/QtGui -I../../include/QtGui -I../../include -I. -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qvfb.o qvfb.cpp
qvfb.cpp:47:24: error: deviceskin.h: No such file or directory
qvfb.cpp: In member function ‘void QVFb::init(int, int, int, int, int, const QString&)’:
qvfb.cpp:247: warning: possible problem detected in invocation of delete operator:
qvfb.cpp:247: warning: invalid use of incomplete type ‘struct DeviceSkin’
qvfb.h:53: warning: forward declaration of ‘struct DeviceSkin’
qvfb.cpp:247: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
qvfb.cpp:257: error: ‘DeviceSkinParameters’ was not declared in this scope
qvfb.cpp:257: error: expected `;' before ‘parameters’
qvfb.cpp:259: error: ‘parameters’ was not declared in this scope
qvfb.cpp:259: error: ‘DeviceSkinParameters’ is not a class or namespace
qvfb.cpp:260: error: invalid use of incomplete type ‘struct DeviceSkin’
qvfb.h:53: error: forward declaration of ‘struct DeviceSkin’
qvfb.cpp:261: error: no match ..
#1 [xiaobaiwen 02-07 09:09]
#2 [xiaobaiwen 02-07 11:45]

#3 [xiaobaiwen 02-10 13:07]
#4 [yanglisun 02-10 13:46]
1.如果作开发,还需要一个nfs启动方式的文件系统。还需要拷贝已经编辑好的qt/e的库到文件系统下。
2.qtopia你可以看作用qt/e库编译的一个应用软件,qt embedded是qt嵌入版本,就和你x86上装的qt是一个性质的,qtopia core 是qt embedded某段时间的更改名称,现在又用回qt embedded了。qfvb是一个虚拟的侦缓冲,比如2440板子,是直接将图像打到侦缓冲上的。
3.网上有很多教你编译qt/e的教程,建议楼主安装最新的。。