Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Morix Dev last edited by
Hello everybody. I cross-compiled Qt 5.15.2 obtaining a qmake (used for configuring a "Qt version" in QtCreator) which has hardcoded the value of QT_SYSROOT depending on the absolute path of the PC on which I've compiled Qt.
Now I need to move the cross-compiled Qt environment to a new laptop but I am not able to modify the QT_SYSROOT in qmake.
I've already tried to set it using "qmake -set QT_SYSROOT <my_new_path>" but it does not make any difference.
You may need to recompile it on your laptop, unfortunately.
Normally I'd suggest going with q.tconf (https://doc.qt.io/qt-5/qt-conf.html) but I don't think it supports cross-compiled Qt.