Hi, This is not a solution, just a workaround: Creating a symlink to your build tree (in your case your home dir) into the sysroot might fix the build.
ln -s /home /home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/home /Andras On 11 May 2012 14:18, Árvai Zoltán <[email protected]> wrote: > Hi All, > > There is a serious problem with Qt5 configure when we are building in > cross-compiling environment. It makes bad values for header file paths. > > Example: > /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 > > If we search for sysroot parameter value in generated files, we will see the > problem: > /home/azbest//swork-cross/qt5$ grep -R > "harmattan_sysroot_10.2011.34-1_slim" * > > Wrong paths in a lot of files, e.g.: > 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 > > This will cause strange error messages when we try to build qt-components or > QtWebKit: > /home/azbest/swork-cross/qt5/qtdeclarative/include/QtQuick/../../src/quick/qtquickglobal.h:45: > fatal error: QtCore/qglobal.h: No such file or directory > compilation terminated. > > because some include path is wrong: > -I/home/azbest/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/home/azbest/swork-cross/qt5/qtbase/include > > it should be: > -I/home/azbest/swork-cross/qt5/qtbase/include > > full build log (qt5 r29 + qt-components) can be found at: > https://raw.github.com/gist/2652531/ee7025d4eef7140e60352d09d096cc7979cb077a/gistfile1.txt > > It seems that Qt5 r25 was still ok > (5efc1e72fe916bbab53ed07c472dc82546856cde) but r26 ( > 7d0327830bb4768753cb0c14a23d98fed08be7d2) had this problem. > > Has anyone an idea what can cause this include path problem and how can it > be fixed? > > br, > Zoltan > (azbest_hu) > > _______________________________________________ > webkit-qt mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt > _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
