[Qt-creator] [Compiling QT] cannot found #include <qplatformdefs.h>
Davide Picchi
paveway at gmail.com
Tue Sep 29 06:13:25 CEST 2015
Hi all,
I'm trying to compile qt opensource (qt-everywhere-opensource-src-5.3.2 and
even the latest versions) on a ubuntu system (64bit) with the following
flags:
$ ./configure -v -opensource -confirm-license -prefix /opt/qt -platform
mkspecs/linux-g++-64 -xplatform mkspecs/linux-am335-g++ -no-sse2 -no-glib
-no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle
-little-endian -no-pch -no-sql-ibase -no-sql-mysql -no-sql-odbc
-no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -nomake examples -no-alsa
where
mkspecs/linux-am335-g++
the directory of my target architectur is (inside I have the following
files):
qmake.conf
qplatformdefs.h
When I try to compile I get the following error:
/home/wilhem/qt-beagle/qtbase/qmake/generators/makefiledeps.cpp:48:27:
fatal error: qplatformdefs.h: file or directory not found
#include <qplatformdefs.h>
^
compilation terminated.
make: *** [makefiledeps.o] Error 1
I tried putting the directory direct as a input for configure:
$ ./configure -v -opensource -confirm-license -prefix /opt/qt -platform
mkspecs/linux-g++-64 -xplatform mkspecs/linux-am335-g++ -no-sse2 -no-glib
-no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle
-little-endian -no-pch -no-sql-ibase -no-sql-mysql -no-sql-odbc
-no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -nomake examples -no-alsa
-Imkspecs/linux-am335-g++
but no way...
I tried even the most recent version of the source code. Nothing...
What should I do????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150929/1d5400b2/attachment.html>
More information about the Qt-creator
mailing list