当前位置: 技术问答>linux和unix
移植QT出现如下问题!
来源: 互联网 发布时间:2016-10-08
本文导语: 大家好,这2天想移植QT到DK8000上面。我编译tslib成功了,并且ts_test程序测试成功。现在在移植QT的时候出现如下错误。我根据错误提示修改了/home/qt-embedded-linux-opensource-src-4.4.3/mkspecs/qws/linux-arm-g++里的QMAKE_INCDIR和QMAKE...
大家好,这2天想移植QT到DK8000上面。我编译tslib成功了,并且ts_test程序测试成功。现在在移植QT的时候出现如下错误。我根据错误提示修改了/home/qt-embedded-linux-opensource-src-4.4.3/mkspecs/qws/linux-arm-g++里的QMAKE_INCDIR和QMAKE_LIBDIR,指向了tslib/build/include和tslib/build/lib。但是为什么还会出现如下错误呢?希望哪位朋友能帮我看看,谢谢!
root@ubuntu:/home/qt-embedded-linux-opensource-src-4.4.3# ./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,16,32 -no-qt3support -prefix /home/work/qt/target -fast -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -optimized-qmake -no-nis -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-mouse-qvfb -no-mouse-linuxtp -qt-mouse-pc -qt-mouse-tslib -v
This is the Qt for Embedded Linux Open Source Edition.
Determining system architecture... (Linux:2.6.28-11-generic:i686)
32-bit Intel 80x86 (i386)
'arm' is supported
'i386' is supported
System architecture: 'arm'
Host architecture: 'i386'
Precompiled-headers support disabled.
Symbol visibility control enabled.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.
Type '2' to view the GNU General Public License version 2.
Type '3' to view the GNU General Public License version 3.
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... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
floatmath disabled.
mmx auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
mmx disabled.
3dnow auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
3dnow disabled.
sse auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse disabled.
sse2 auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse2 disabled.
InterBase auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
MySQL (thread-unsafe) disabled.
ODBC auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ODBC disabled.
PostgreSQL auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
PostgreSQL disabled.
SQLite2 auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
SQLite2 disabled.
Cups auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
Cups disabled.
D-Bus auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
D-Bus disabled.
Glib auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
Glib disabled.
tslib auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
tslib disabled.
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/home/qt-embedded-linux-opensource-src-4.4.3/mkspecs/qws/linux-arm-g++.
root@ubuntu:/home/qt-embedded-linux-opensource-src-4.4.3# ./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,16,32 -no-qt3support -prefix /home/work/qt/target -fast -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -optimized-qmake -no-nis -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-mouse-qvfb -no-mouse-linuxtp -qt-mouse-pc -qt-mouse-tslib -v
This is the Qt for Embedded Linux Open Source Edition.
Determining system architecture... (Linux:2.6.28-11-generic:i686)
32-bit Intel 80x86 (i386)
'arm' is supported
'i386' is supported
System architecture: 'arm'
Host architecture: 'i386'
Precompiled-headers support disabled.
Symbol visibility control enabled.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.
Type '2' to view the GNU General Public License version 2.
Type '3' to view the GNU General Public License version 3.
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... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
floatmath disabled.
mmx auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
mmx disabled.
3dnow auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
3dnow disabled.
sse auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse disabled.
sse2 auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse2 disabled.
InterBase auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
MySQL (thread-unsafe) disabled.
ODBC auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ODBC disabled.
PostgreSQL auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
PostgreSQL disabled.
SQLite2 auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
SQLite2 disabled.
Cups auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
Cups disabled.
D-Bus auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
D-Bus disabled.
Glib auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
Glib disabled.
tslib auto-detection... ()
/home/qt-embedded-linux-opensource-src-4.4.3/bin/qmake: 1: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
tslib disabled.
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/home/qt-embedded-linux-opensource-src-4.4.3/mkspecs/qws/linux-arm-g++.
|
-optimized-qmake 少用
-xplatform qws/linux-arm-g++ 试一下-xplatform linux-arm-g++
-xplatform qws/linux-arm-g++ 试一下-xplatform linux-arm-g++
|
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR
继续改变一下,设置还是有问题。
机器就是这么提示的。
QMAKE_INCDIR and QMAKE_LIBDIR
继续改变一下,设置还是有问题。
机器就是这么提示的。
|
如果改了那么一般没有问题了
你make clean后
再make
试试
你make clean后
再make
试试
|
前一个礼拜刚刚把这玩意搞定
我记得这样可以
如果不行,可以发信息给我,不一定及时看信息就是了
我记得这样可以
如果不行,可以发信息给我,不一定及时看信息就是了