<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi All,<br>
    <br>
    There is a serious problem with Qt5 configure when we are building
    in cross-compiling environment. It makes bad values for header file
    paths.<br>
    <br>
    Example:<br>
    <small><i> /home/azbest/swork-cross/qt5/qtbase/configure -fast
        -nomake demos -nomake examples -nomake tests -developer-build
        -opensource -confirm-license -xplatform linux-g++-maemo
        -force-pkg-config -arch arm -no-pch -sysroot
        /home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim
        -release -separate-debug-info</i></small><br>
    <br>
    If we search for sysroot parameter value in generated files, we will
    see the problem:<br>
    <small><i> /home/azbest/</i></small><i><small>/swork-cross/qt5$ grep
        -R "harmattan_sysroot_10.2011.34-1_slim" *</small></i><br>
    <br>
    Wrong paths in a lot of files, e.g.:<br>
    <i><small>qtxmlpatterns/src/xmlpatterns/Makefile:     -$(DEL_FILE)
        -r
$(INSTALL_ROOT)/home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/home/azbest/swork-cross/qt5/qtbase/include/QtXmlPatterns/5.0.0/QtXmlPatterns/private/qxpathhelper_p.h</small></i><br>
    <br>
    This will cause strange error messages when we try to build
    qt-components or QtWebKit:<br>
    <i><small>/home/azbest/swork-cross/qt5/qtdeclarative/include/QtQuick/../../src/quick/qtquickglobal.h:45:
        fatal error: QtCore/qglobal.h: No such file or directory<br>
        compilation terminated.</small></i><br>
    <br>
    because some include path is wrong:<br>
    <i><small>-I/home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/home/azbest/swork-cross/qt5/qtbase/include</small></i><br>
    <br>
    it should be:<br>
    <i><small>-I/home/azbest/swork-cross/qt5/qtbase/include</small></i><br>
    <br>
    full build log (qt5 r29 + qt-components) can be found at:<br>
<a class="moz-txt-link-freetext" href="https://raw.github.com/gist/2652531/ee7025d4eef7140e60352d09d096cc7979cb077a/gistfile1.txt">https://raw.github.com/gist/2652531/ee7025d4eef7140e60352d09d096cc7979cb077a/gistfile1.txt</a><br>
    <br>
    It seems that Qt5 r25 was still ok
    (5efc1e72fe916bbab53ed07c472dc82546856cde) but r26 (
    7d0327830bb4768753cb0c14a23d98fed08be7d2) had this problem.<br>
    <br>
    Has anyone an idea what can cause this include path problem and how
    can it be fixed?<br>
    <br>
    br,<br>
    Zoltan<br>
    (azbest_hu)<br>
  </body>
</html>