Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0, 5.8.0
-
None
-
Linux x86_64
-
05b3295a570bd4f605dd3959f8abd4df1c7f7261, 1936d0cf5bac6cd3bf62f3e8995cbfed98650155
Description
Qt5WebEngineCore.pc contains lots of unnecessary references to buildhost paths in Libs.private. I have installed qt-opensource-linux-x64-5.6.0-rc.run and attached ~/Qt5.6.0/5.6/gcc_64/lib/pkgconfig/Qt5WebEngineCore.pc for reference.
The references are static libraries on the build host that are specified between "-Wl,--start-group" and "-Wl,--end-group" and also "-L/home/qt/work/qt/qtwebengine/src/core/api/Release".
You can check this using a git checkout of qtwebengine by doing:
cd qtwebengine
mkdir build
cd build
qmake -recursive ..
cat lib/pkgconfig/Qt5WebEngineCore.pc
Attachments
For Gerrit Dashboard: QTBUG-51598 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
191299,2 | write Libs.private to .pc files only in static builds | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |
191430,2 | write Libs.private to .pc files only in static builds | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |