Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
6.1, 6.2, 6.3.1, 6.3, 6.4.0
-
None
Description
On Qt6 6.1+, moc, rcc and uic is placed on INSTALL_LIBEXECDIR on CMake, which can set by builder as he want. When we will try to locate Qt binaries with Qt build such way by pkg-config, we does not have a relevant way to do this, so, cannot find them by relevant way.
I think we should expose INSTALL_LIBEXECDIR as libexecdir in .pc file to solve this issue, and then we will find moc by simply appending executable name to libexecdir (as we can do with qmake now).
I attached a simple patch to fix this issue, but cannot push it directly due to inability to do ssh behind a firewall.
Attachments
For Gerrit Dashboard: QTBUG-105051 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
422416,4 | CMake: include the libexecdir in generated pkg-config files | dev | qt/qtbase | Status: MERGED | +2 | 0 |
423754,2 | CMake: include the libexecdir in generated pkg-config files | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
423755,2 | CMake: include the libexecdir in generated pkg-config files | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
423796,2 | CMake: include the libexecdir in generated pkg-config files | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |