Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.9.1
-
None
-
Building qtbase like this:
{quote}configure -static -release -opensource -confirm-license -nomake tests -nomake examples -no-pch -prefix /usr/local/qt -hostprefix /opt/foo -sysroot ... -device imx6 device---option ...
{quote}
Description
When crosscompiling qtbase statically with the -prefix and -hostprefix option and then compiling qtdeclarative for that the build fails, because some library paths are not correctly prefixed with the sysroot (e.g. -L/usr/local/qt/plugins/bearer is used instead of -L$SYSROOT/usr/local/qt/plugins/bearer).
A workaround for this problem is using -extprefix instead of -hostprefix and making -extprefix identical to -prefix (not sure this is necessary), but it would be nice if this can be fixed.
Attachments
Issue Links
- relates to
-
QTBUG-65989 When configuring with -static for a cross-compile to a device it will end up having the wrong path for QT_INSTALL_QML
- Closed