回复: 关于qt-embedded-linux-opensource-4.5.1移植的问题
#6 [bhwbj 05-18 11:55]
configure文件里边有默认的配置,都初始化好了,就是说你./configure什么都不加,有些功能还是会编译的,我按照dist large, medium small 和 minimal都编译过,开启和关闭的功能都一样,没啥区别。举个例子:
dist 的:
Build type:qws/linux-x86-g++
Architecture:i386
Host architecture: i386
Build ............... libs tools examples demos docs translations
Configuration .......release shared dll embedded largefile stl precompile_header separate_debug_info mmx 3dnow sse sse2 exceptions_offphonon phonon-backend accessibility embedded reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png system-tiff system-freetype system-zlib nis cups glib gstreamer dbus openssl svg webkit scripttools release
Debug ............... no
Qt 3 compatibility .. no
QtDBus module ....... yes (run-time)
QtScriptTools moduleyes
QtXmlPatterns moduleno
Phonon module ....... yes
SVG module .......... yes
WebKit module ....... yes
STL support ......... yes
PCH support ......... yes
MMX/3DNOW/SSE/SSE2..yes/yes/yes/yes
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support .. yes
Accessibility ....... yes
NIS support ......... yes
CUPS support ........ yes
Iconv support ....... no
Glib support ........ yes
GStreamer support ... yes
Large File support .. yes
GIF support ......... plugin
TIFF support ........ plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
MNG support ......... plugin (system)
zlib support ........ system
Session management .. no
Embedded support .... x86
Freetype2 support ... auto (system)
Graphics (qt) ....... linuxfb multiscreen
Graphics (plugin) ...
Decorations (qt) .... styled windows default
Decorations (plugin)
Keyboard driver (qt). tty
Keyboard driver (plugin)
Mouse driver (qt) ... pc linuxtp
Mouse driver (plugin)
OpenGL s ..
#7 [arthur_liu 05-18 13:33]
我如果不指定一个配置文件,然后进行修改,直接用默认的配置文件的话,我的程序里面的spinbox,filedialog都是不可以用的,所以我要指定配置文件然后进行一些简单的修改,但是我今天编译了两次了都没有编译通过,总是出错。修改配置文件的时候,要修改配置文件本身,还有qfeaxture.h文件,还要做些什么啊?
#8 [bhwbj 05-18 13:42]
./configure后边加参数啊,需要什么就加上什么,不需要什么就-no了它,例如:
./configure -embedded arm -qt-jpeg -qt-sql-sqlite -silent -no-openssl -no-opengl
要不你直接./configure >log.txt 2>&1
这样默认的编译选项都从屏幕重定向到log.txt里边了,你自己慢慢看,或者 ./configure -h >log.txt
#9 [arthur_liu 05-18 13:51]
我知道了,qconfig-dist.h是它的默认文件,这个配置文件里面什么都没有,也就是说开启了所有的功能,但是我就是这样默认配置的,filedialog 和spinbox还是不可以用,挺奇怪的。
#10 [gale717 05-18 16:24]
bhwbj 讲解的很详细,谢谢了