Details
-
Task
-
Resolution: Done
-
P1: Critical
-
6.1.0 Beta 1
-
None
Description
With some tools being moved to libexec as per https://bugreports.qt.io/browse/QTBUG-88791 they need to be able to find the $prefix/bin folder.
The source of truth for the prefix and bin folder is the qt.conf file, which is created in $prefix/bin, and executables that are in $prefix/bin can successfully read it.
That's not the case for tools in $prefix/libexec.
The only sensible solution we found is to create a qt.conf file in ./libexec as well.
Given that the Installer creates the qt.conf file, we need it to be changed to create it also in the ./libexec dir in addition to the ./bin dir, on non-Windows platforms (because Windows doesn't have libexec).
I think this doesn't concern cross-compiling configurations like iOS or Android, so the target_qt.conf patching should not be relevant in this case.
Ideally we would create a hard link from ./bin/qt.conf to ./libexec/qt.conf, but a copy is probably fine too.
We should probably do the same for our Boot2Qt builds.
Attachments
Issue Links
- is required for
-
QTBUG-88791 Move build tools like moc and rcc into $prefix/libexec
-
- Closed
-
For Gerrit Dashboard: QTBUG-91756 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
338896,2 | sdk: copy qt.conf to libexec dir | 6.1 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
338940,2 | sdk: copy qt.conf to libexec dir | dev | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
340623,4 | qt: copy qt.conf to libexec/ for Qt 6.x releases | master | qtsdk/tqtc-qtsdk | Status: MERGED | +2 | 0 |