Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
None
Description
When setting up chroots for cross compilation the normal distribution packages are used. As a result the paths in the cmake configuration files in e.g. /home/hacker/funny-arm-chroot/usr/lib/arm-linux-genueabif/cmake/Qt5Core/Qt5CoreConfig.cmake state absolute paths. Like /usr/lib/arm-linux-genueabif
/libQt5Core.so.5.0.2 which will not work for cross compilation.
It would be nice if one could provide a prefix that may be empty, too. pkg-config for example evalutes an environment variable and manipulates the prefix path as a result.
Attachments
Issue Links
- relates to
-
QTBUG-48327 CMake autotests fail when cross-compiling
- Closed
For Gerrit Dashboard: QTBUG-36796 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
72583,6 | Generate CMake toolchain files when cross compiling. | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |