I'm getting issues using a custom mkspec for cross-compiling to MIPS
(I've based it on linux-arm-gnueabi-g++, but I guess it's not
important given this looks generic).

QtBase build correctly, but other modules give errors like the following:

make[1]: Entering directory `/home/ismael/ext/qt5/qtxmlpatterns'
cd src/ && make -f Makefile
make[2]: Entering directory `/home/ismael/ext/qt5/qtxmlpatterns/src'
cd xmlpatterns/ && /home/ismael/ext/qt5/qtbase/bin/qmake
/home/ismael/ext/qt5/qtxmlpatterns/src/xmlpatterns/xmlpatterns.pro
QMAKE_ABSOLUTE_SOURCE_PATH=/home/ismael/ext/qt5/qtbase -o Makefile
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file:
/home/ismael/ext/qt5/qtxmlpatterns/src/xmlpatterns/xmlpatterns.pro
make[2]: *** [xmlpatterns/Makefile] Error 3
make[2]: Leaving directory `/home/ismael/ext/qt5/qtxmlpatterns/src'
make[1]: *** [module-qtxmlpatterns-src-make_default] Error 2
make[1]: Leaving directory `/home/ismael/ext/qt5/qtxmlpatterns'
make: *** [module-qtxmlpatterns-make_default] Error 2

I tried overriding QMAKESPEC, which doesn't seems like a real
solution, but well...

Then it doesn't find the qmodule.pri file (which of course is at
qtbase/mkspecs):

make[1]: Entering directory `/home/ismael/ext/qt5/qtxmlpatterns'
cd src/ && make -f Makefile
make[2]: Entering directory `/home/ismael/ext/qt5/qtxmlpatterns/src'
cd xmlpatterns/ && /home/ismael/ext/qt5/qtbase/bin/qmake
/home/ismael/ext/qt5/qtxmlpatterns/src/xmlpatterns/xmlpatterns.pro
QMAKE_ABSOLUTE_SOURCE_PATH=/home/ismael/ext/qt5/qtbase -o Makefile
Project ERROR: Cannot load qmodule.pri!
make[2]: *** [xmlpatterns/Makefile] Error 2
make[2]: Leaving directory `/home/ismael/ext/qt5/qtxmlpatterns/src'
make[1]: *** [module-qtxmlpatterns-src-make_default] Error 2
make[1]: Leaving directory `/home/ismael/ext/qt5/qtxmlpatterns'
make: *** [module-qtxmlpatterns-make_default] Error 2

Looking at the documentation, I can't find a way to add directories to
qmake's search path.
Also, looking at the prf files, there's the full path, so I have no
idea what's really going on and why it can't find the file.

So I was wondering, what would be the right solution to those problems?
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to