step1:http://linux-arm-porting.blogspot.com/2010/03/qt-media-player-on-mini2440.html
step2:http://felipec.wordpress.com/2010/10/08/my-arm-development-notes/
照step2裝了
gst-plugins-base gstreamer liboil zlib-1.2.5
glib gst-plugins-good libid3tag-0.15.1b libxml2-2.7.8
gst-openmax gst-plugins-ugly libmad-0.15.1b
export PKG_CONFIG_PATH=/opt/arm/gst/lib/pkgconfig
export C_INCLUDE_PATH='/opt/arm/gst/include' LDFLAGS='-L/opt/arm/gst/lib'
./configure --prefix=/opt/qt-4.7arm/ -opensource -embedded arm -xplatform qws/linux-arm-g++ -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -no-openssl -no-opengl -no-cups -no-qvfb -qt-mouse-tslib -qt-libtiff -qt-libmng -qt-mouse-pc -no-mouse-linuxtp -webkit -phonon -phonon-backend -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -L/opt/arm/gst/lib -L/opt/arm/gst/lib/gstreamer-0.10 -force-pkg-config -v
問題如下:
iii@ubuntu:~/qt-everywhere-opensource-src-4.7.0-arm$ sudo ./configure --prefix=/opt/qt-4.7arm/ -opensource -embedded arm -xplatform qws/linux-arm-g++ -phonon -phonon-backend -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -L/opt/arm/gst/lib -L/opt/arm/gst/lib/gstreamer-0.10 -force-pkg-config -v
Determining system architecture... (Linux:2.6.35-28-generic:i686)
32-bit Intel 80x86 (i386)
'arm' is supported
'i386' is supported
System architecture: 'arm'
Host architecture: 'i386'
You have asked to use pkg-config and are cross-compiling.
Please make sure you have a correctly set-up pkg-config
environment!
Warning: PKG_CONFIG_PATH has not been set. This could mean
the host compiler's .pc files will be used. This is probably
not what you want.
Precompiled-headers support disabled.
/home/iii/qt-everywhere-opensource-src-4.7.0-arm/config.tests/unix/fvisibility.test: 64: arm-linux-g++: not found
Symbol visibility control disabled.
This is the Qt for Embedded Linux Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license? yes
Creating qmake. Please wait...
make: Nothing to be done for `first'.
floatmath auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o floatmath.o floatmath.cpp
make: arm-linux-g++: Command not found
make: *** [floatmath.o] Error 127
floatmath disabled.
mmx auto-detection... ()
arm-linux-g++ -c -pipe -mmmx -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o mmx.o mmx.cpp
make: arm-linux-g++: Command not found
make: *** [mmx.o] Error 127
mmx disabled.
3dnow auto-detection... ()
arm-linux-g++ -c -pipe -m3dnow -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o 3dnow.o 3dnow.cpp
make: arm-linux-g++: Command not found
make: *** [3dnow.o] Error 127
3dnow disabled.
sse auto-detection... ()
arm-linux-g++ -c -pipe -msse -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o sse.o sse.cpp
make: arm-linux-g++: Command not found
make: *** [sse.o] Error 127
sse disabled.
sse2 auto-detection... ()
arm-linux-g++ -c -pipe -msse2 -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o sse2.o sse2.cpp
make: arm-linux-g++: Command not found
make: *** [sse2.o] Error 127
sse2 disabled.
neon auto-detection... ()
arm-linux-g++ -c -pipe -mfpu=neon -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o neon.o neon.cpp
make: arm-linux-g++: Command not found
make: *** [neon.o] Error 127
neon disabled.
zlib auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o zlib.o zlib.cpp
make: arm-linux-g++: Command not found
make: *** [zlib.o] Error 127
zlib disabled.
libjpeg auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o libjpeg.o libjpeg.cpp
make: arm-linux-g++: Command not found
make: *** [libjpeg.o] Error 127
libjpeg disabled.
libtiff auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o libtiff.o libtiff.cpp
make: arm-linux-g++: Command not found
make: *** [libtiff.o] Error 127
libtiff disabled.
libmng auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o libmng.o libmng.cpp
make: arm-linux-g++: Command not found
make: *** [libmng.o] Error 127
libmng disabled.
libpng auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o libpng.o libpng.cpp
make: arm-linux-g++: Command not found
make: *** [libpng.o] Error 127
libpng disabled.
DB2 auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o db2.o db2.cpp
make: arm-linux-g++: Command not found
make: *** [db2.o] Error 127
DB2 disabled.
InterBase auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o ibase.o ibase.cpp
make: arm-linux-g++: Command not found
make: *** [ibase.o] Error 127
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o mysql.o ../mysql/mysql.cpp
make: arm-linux-g++: Command not found
make: *** [mysql.o] Error 127
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o mysql.o mysql.cpp
make: arm-linux-g++: Command not found
make: *** [mysql.o] Error 127
MySQL (thread-unsafe) disabled.
OCI auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o oci.o oci.cpp
make: arm-linux-g++: Command not found
make: *** [oci.o] Error 127
OCI disabled.
ODBC auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o odbc.o odbc.cpp
make: arm-linux-g++: Command not found
make: *** [odbc.o] Error 127
ODBC disabled.
iODBC auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o iodbc.o iodbc.cpp
make: arm-linux-g++: Command not found
make: *** [iodbc.o] Error 127
iODBC disabled.
PostgreSQL auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o psql.o psql.cpp
make: arm-linux-g++: Command not found
make: *** [psql.o] Error 127
PostgreSQL disabled.
SQLite2 auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o sqlite2.o sqlite2.cpp
make: arm-linux-g++: Command not found
make: *** [sqlite2.o] Error 127
SQLite2 disabled.
unknown SQL driver: sqlite_symbian
TDS auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o tds.o tds.cpp
make: arm-linux-g++: Command not found
make: *** [tds.o] Error 127
TDS disabled.
NIS auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o nis.o nis.cpp
make: arm-linux-g++: Command not found
make: *** [nis.o] Error 127
NIS disabled.
Cups auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -o cups.o cups.cpp
make: arm-linux-g++: Command not found
make: *** [cups.o] Error 127
Cups disabled.
D-Bus auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -o dbus.o dbus.cpp
make: arm-linux-g++: Command not found
make: *** [dbus.o] Error 127
D-Bus disabled.
Glib auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o glib.o glib.cpp
make: arm-linux-g++: Command not found
make: *** [glib.o] Error 127
Glib disabled.
Phonon support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
2 則留言:
./configure --prefix=/opt/qt-4.7arm/ CC=arm-linux-gcc CXX=arm-linux-g++ --host=arm-linux -opensource -embedded arm -xplatform qws/linux-arm-g++ -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -no-openssl -no-opengl -no-cups -no-qvfb -qt-mouse-tslib -qt-libtiff -qt-libmng -qt-mouse-pc -no-mouse-linuxtp -webkit -phonon -phonon-backend -I/opt/arm/gst/lib/glib-2.0/include -I/opt/arm/gst/include/glib-2.0 -I/opt/arm/gst/include/gstreamer-0.10/gst -L/opt/arm/gst/lib -L/opt/arm/gst/lib/gstreamer-0.10 -force-pkg-config -v
QMAKE_LIBDIR=/home/iii/qt-everywhere-opensource-src-4.7.0-arm/tslib
交叉编译qt-embedded-free-3.3.8 (转贴)
http://fengh2000.blogspot.com/2008/09/qt-embedded-free-338.html
编译gstreamer app
http://bh-wang.iteye.com/blog/1005000
qt-embedded编译phonon模块
http://hi.baidu.com/mehewen/blog/item/fe889e0fc05cfbda7acbe108.html
编译gstreamer相关
http://blog.csdn.net/fei1700/archive/2008/12/21/3571270.aspx
编译qt-embedded出错
http://topic.csdn.net/u/20100509/09/f15d2947-d9d3-4256-8a67-4394ec043fb7.html
QT4-embedded-4.4.3使用tslib的编译
http://www.cublog.cn/u2/75270/showart_1793535.html
qt移植问题
http://forum.ubuntu.org.cn/viewtopic.php?f=77&t=196885
你没有事先交叉编译好tslib。
你需要事先交叉编译tslib,然后在./configure中添加-I/path/to/tslib/include -L/path/to/tslib/lib
可参考http://blog.chinaunix.net/u3/109488/showart_2138306.html
Qt Embedded 4.5.3 的移植和触摸屏校(正)
http://blog.chinaunix.net/space.php?uid=23121765&do=blog&cuid=2138306
QT 官方解法
http://www.google.com/#sclient=psy&hl=en&source=hp&q=arm+gstrea
張貼留言