On Thursday, 1 de September de 2011 11:43:13 Thiago Macieira wrote:
> > There's a -no-v8 configure option you can use. That should make qtbase
> > compile on the platforms you mentioned.
> 
> I'll try that.

I've tried and it doesn't work. When running configure -no-v8 (see full args 
below), I get:

...
QtTest: created version header <srcbase>/src/testlib/qttestversion.h
QtDBus: created version header <srcbase>/src/dbus/qtdbusversion.h
Project ERROR: Couldn't detect supported architecture (ia64/). Currently 
supported architectures are: x64, x86 and arm
  1291 projects found.

Creating makefiles. Please wait...
  for /home/thiago/src/qt/qt5/qtbase/src/sql/sql.pro
  for /home/thiago/src/qt/qt5/qtbase/src/tools/moc/moc.pro
  for /home/thiago/src/qt/qt5/qtbase/src/gui/gui.pro
  for /home/thiago/src/qt/qt5/qtbase/src/corelib/corelib.pro
  for /home/thiago/src/qt/qt5/qtbase/src/v8/v8.pro
Project ERROR: Couldn't detect supported architecture (ia64/ia64). Currently 
supported architectures are: x64, x86 and arm
  for /home/thiago/src/qt/qt5/qtbase/src/testlib/testlib.pro
  for /home/thiago/src/qt/qt5/qtbase/src/opengl/opengl.pro
...
  for /home/thiago/src/qt/qt5/qtbase/src/src.pro
Project ERROR: Couldn't detect supported architecture (ia64/). Currently 
supported architectures are: x64, x86 and arm
  for /home/thiago/src/qt/qt5/qtbase/tests/manual/qcursor/qcursor.pro
...

The first "Project ERROR" comes when configure runs:
        QTDIR="$outpath" "$outpath/bin/qmake" -spec "$XQMAKESPEC" 
"${relpath}/qtbase.pro" -o "$mkfile"

This error comes from src/v8/v8.pri, and the "backtrace" of includes is:
        src/v8/v8.pri
        src/v8/v8.pro line 24: include(v8.pri)
        src/src.pro line 97: SUB_TEMPLATE = $$list($$fromfile($$subpro, 
TEMPLATE))

Clearly SRC_SUBDIRS contains "v8", which indicates that QT_CONFIG does not 
contain "no-v8" (see src.pro line 11)

Looking at configure, around line 7641, the conditional is inverted. It adds 
"v8" to QT_CONFIG if is enabled, while src.pro searches for "no-v8".

If I correct src.pro line 11 to the proper conditional (instead of the double 
negative), configure finishes without error. I'll let you know if this compiles.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to