Hi everyone, I'm Matteo from Italy, I'm trying to crosscompile qt5 for a tegra2 
device (Colibri T20 from Toradex) but I'm finding some errors in configure 
script.

Here is my configure:

./configure -make libs \
-prefix /opt/qt5_tegra \
-sysroot /home/matteo/oe-core/sysroot \
-device tegra2 \
-device-option CROSS_COMPILE=arm-angstrom-linux-gnueabi- \
-no-neon \
-opengl es2 \
-confirm-license \
-nomake examples -nomake tests \
-optimized-qmake \
-reduce-relocations \
-release \
-no-sse2 \
-no-sse3 \
-no-sse4.1 \
-no-sse4.2 \
-qt-xcb \
-opensource -v

the compiler is in my path, compiler and toolchain was generated by my 
openembedded env.
If I run this configure I came accross this error:


  1.
In file included from 
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/qurl<http://qt-project.org/doc/QUrl.html>.h:1:0,
  2.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/../../src/gui/kernel/qevent<http://qt-project.org/doc/QEvent.html>.h:56,
  3.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/qevent<http://qt-project.org/doc/QEvent.html>.h:1,
  4.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/QTouchEvent:1,
  5.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/5.0.2/QtGui<http://qt-project.org/doc/QtGui.html>/qpa/../../../../../src/gui/kernel/qwindowsysteminterface.h:61,
  6.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/5.0.2/QtGui<http://qt-project.org/doc/QtGui.html>/qpa/qwindowsysteminterface.h:1,
  7.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/5.0.2/QtGui<http://qt-project.org/doc/QtGui.html>/private/../../../../../src/gui/kernel/qguiapplication_p.h:63,
  8.
                 from 
../../../../include/QtGui<http://qt-project.org/doc/QtGui.html>/5.0.2/QtGui<http://qt-project.org/doc/QtGui.html>/private/qguiapplication_p.h:1,
  9.
                 from qeglfsintegration.cpp:48:
  10.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:130:9:
 error: expected identifier before numeric constant
  11.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:130:9:
 error: expected '}' before numeric constant
  12.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:130:9:
 error: expected unqualified-id before numeric constant
  13.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:160:26:
 error: 'UrlFormattingOption' was not declared in this scope
  14.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:160:72:
 error: template argument 1 is invalid
  15.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:160:91:
 error: invalid type in declaration before ';' token
  16.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:163:10:
 error: expected unqualified-id before ')' token
  17.
../../../../include/QtCore<http://qt-project.org/doc/QtCore.html>/../../src/corelib/io/qurl<http://qt-project.org/doc/QUrl.html>.h:164:10:
 error: expected unqualified-id before 'const'


This error refers to folder qtbase/src/plugins/platforms/eglfs

It seems that the “None” element of the struct defined in qurl.h is even a 
defined constant in an X11-header.


If I relaunch the configure script with -no-eglfs option all goes well and I'm 
able to compile (make & make install) all the modules that I need, but I need 
eglfs for my project.


I'm using QT5 from git (5.0.1), in Ubuntu 12.04 32bit, gcc compiler 4.7.2.

I've also post the question here: http://qt-project.org/forums/viewthread/25896


Thank you.

Regards.

---
Matteo Brichese
Software Engineer
mbrich...@came.it
[Came Cancelli Automatici S.p.A.]<http://www.came.com/>
Il messaggio di posta elettronica contiene informazioni di carattere 
confidenziale specifiche per il destinatario. Nel caso non ne siate il 
destinatario, segnalatelo immediatamente al mittente ed eliminate dai vostri 
archivi quanto ricevuto (compresi i file allegati). L'uso, la diffusione, 
distribuzione o riproduzione del presente messaggio e dei suoi allegati da 
parte di ogni altra persona costituisce reato. Rif. Decreto legislativo 30 
giugno 2003, n. 196 - Codice in materia di protezione dei dati personali.

The email message contains confidential information specific to the recipient. 
If you are not the recipient, write it to the sender immediately and delete 
from your files as received (including file attachments). Use, dissemination, 
distribution or reproduction of this message and its attachments by any other 
person is a criminal offense. References Legislative Decree 30 June 2003, n. 
196 - Code for the protection of personal data.

Right to opposition:
The person concerned who receives the message has the right at any time to 
oppose its processing for forwarding commercial messages, advertising material 
or direct sales proposals, by clicking on the e-mail address below (or by 
traditional postal services by writing to: Came Cancelli Automatici Spa, Via 
Martiri della Libertà 15, 31030 Dosson di Casier (TV) - Italy, or by sending a 
fax to +39 0422 4941. Furthermore the person concerned may exercise all the 
rights of access to the personal data as provided by art. 7, Legislative Decree 
no. 196/2003, including the rights to amendment, updating and deletion, by 
sending an e-mail to priv...@came.com<mailto:priv...@came.com>.

<<inline: camecancelliautomatici29.gif>>

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to