Some questions about Cross_compile Qt4.8.5 for IMX6Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Some questions about Cross_compile Qt4.8.5 for IMX6Q

1,078 Views
hanshan
Contributor II

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!

Labels (3)
0 Kudos
3 Replies

655 Views
hanshan
Contributor II

This is my qmake.conf.

Screenshot from 2016-10-31 16_52_04.png

0 Kudos

655 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Han Shan,

There is some information on how to setup an IDE like Qt creator on the following document:

https://community.nxp.com/docs/DOC-328543

However, for further troubleshooting compiling for Qt I would recommend looking into Qt forums where more people is likely to have the expertise to help. You may find them on the link below:

https://forum.qt.io/

I hope this helps!

Regards,

0 Kudos

655 Views
hanshan
Contributor II

Dear,

   Thank u very much for your reply .

0 Kudos