Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.6
-
None
-
Ie70d21f531da0f4534a825ec22aae5974e707c1e
Description
Documentation doesn't have instructions how to use yocto to build a Windows toolchain.
To build Windows version of meta-toolchain-b2qt-embedded-qt5-sdk toolchain, you need to use extra environment variable SDKMACHINE=i686-mingw32.
The resulting .7z file in tmp/deploy/sdk/ contains the toolchain, which then can be extracted in Windows.
Manual patch after extracting to toolchain on Windows:
qt.conf file used by qmake in Windows yocto SDK needs to be patched when the toolchain is manually built.
By default, qt.conf has paths that point to the default (linux) installation path (/opt/b2qt/x.x.x/), which need to be changed to point to the actual location in Windows using forward slash as path separator (C:/Qt/Boot2Qt/device/toolchain/)
Attachments
For Gerrit Dashboard: QTBUG-57232 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
237567,7 | Update Windows toolchain build instructions | 5.11 | tqtc-boot2qt/doc | Status: MERGED | -2 | 0 |