Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
fcef9b42520c55f6482e4a6c86bd55246a85e88b
Description
I'm trying to cross-compile Qt from Windows to run on a QNX target, and have run into a problem with pkg-config file generation. The Libs: line gets a -l flag added to it which is supposed to be the library name only. However, when building on Windows, it mistakenly gets the path to the .pc file embedded in it.
Expected: Libs: -L${libdir} -lQt5Core
Actual: Libs: -L${libdir} -lD:\Qt\build\lib\pkgconfig\Qt5Core
I believe I have determined the cause of the issue, and will upload a patch to Gerrit for review.