AnsweredAssumed Answered

Some questions about Cross_compile Qt4.8.5 for IMX6Q

Question asked by han shan on Oct 31, 2016
Latest reply on Nov 3, 2016 by han shan

These days I am building qt4.8.5 for imx6q,and had some questions.

My BSP is Linux-3.10.17,and the type of hardware is imx6q-rom3420,and i am using yocto project.

When I build qt4.8.5,always failed.

The log is :

 

Creating qmake. Please wait...
make: Nothing to be done for `first'.

You have not explicitly asked to use pkg-config and are cross-compiling.
pkg-config will not be used to automatically query cflag/lib parameters for
dependencies

floatmath auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
floatmath disabled.
mmx auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
mmx disabled.
3dnow auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
3dnow disabled.
sse auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse disabled.
sse2 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse2 disabled.
sse3 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse3 disabled.
ssse3 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ssse3 disabled.
sse4_1 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse4_1 disabled.
sse4_2 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
sse4_2 disabled.
avx auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
avx disabled.
neon auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
neon disabled.
ipc_sysv auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ipc_sysv disabled.
ipc_posix auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ipc_posix disabled.
libtiff auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
libtiff disabled.
libmng auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
libmng disabled.
DB2 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
DB2 disabled.
InterBase auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
MySQL (thread-unsafe) disabled.
OCI auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
OCI disabled.
ODBC auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ODBC disabled.
iODBC auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
iODBC disabled.
PostgreSQL auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
PostgreSQL disabled.
SQLite2 auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
SQLite2 disabled.
unknown SQL driver: sqlite_symbian
unknown SQL driver: symsql
TDS auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
TDS disabled.
NIS auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
NIS disabled.
Cups auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
Cups disabled.
D-Bus auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
D-Bus disabled.
Glib auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
Glib disabled.
ICU auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
ICU disabled.
PulseAudio auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
PulseAudio disabled.
OpenGL ES 2.x auto-detection... ()
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: 1: /home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/bin/qmake: Syntax error: word unexpected (expecting ")")
make: *** No targets specified and no makefile found. Stop.
OpenGL ES 2.x disabled.
The OpenGL ES 2.0 functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
/home/parallels/work31017/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-arm-gnueabi-g++.

I hope That someone could help to solve these problem.Thank you!

Outcomes