Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.0.2, 5.1.0 Beta 1
-
None
Description
configured with -release
To illustrate, Qt5Sql.pc from the Qt 5.02 mingw SDK has this:
Name: Qt5 Sql Description: Qt Sql module Version: 5.0.2 Libs: -L${libdir} -lQt5Sql Libs.private: -LC:\mingw47\lib -LC:\binaries\icu-mingw-builds-32\lib -LC:\openssl\lib -LQ:/qt5_workdir/w/s/qtbase/lib -lQt5Cored .obj\debug_shared\Qt5Sqld_resource_res.o Cflags: -I${includedir}/QtSql -I${includedir} Requires: Qt5Core
Observe that this problem does not affect Libs.
qmake -d -d shows this (stable 5.1 branch: f78842abe429dc9):
DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf: entering block DEBUG 2: evaluating expression DEBUG 2: hashed literal "CONFIG" DEBUG 2: evaluated expression => CONFIG DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:2: evaluating test function "CONFIG" DEBUG 2: evaluating joined expression DEBUG 2: new string DEBUG 2: literal "debug" DEBUG 2: evaluated expression => debug DEBUG 2: evaluating joined expression DEBUG 2: new string DEBUG 2: literal "debug|release" DEBUG 2: evaluated expression => debug debug|release DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:2: calling built-in CONFIG(debug, debug|release) DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:2: test function returned true DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:2: taking 'then' branch DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:2: entering block DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:3: NOT DEBUG 2: evaluating expression DEBUG 2: hashed literal "debug_and_release" DEBUG 2: evaluated expression => debug_and_release DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:3: condition "debug_and_release" is true DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:3: OR DEBUG 2: evaluating expression DEBUG 2: hashed literal "build_pass" DEBUG 2: evaluated expression => build_pass DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:3: condition "build_pass" is true DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:3: taking 'then' branch DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:3: entering block DEBUG 2: evaluating expression DEBUG 2: hashed literal "mac" DEBUG 2: evaluated expression => mac DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:4: condition "mac" is false DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:4: AND DEBUG 2: evaluating expression DEBUG 2: new string DEBUG 2: literal "_debug" DEBUG 2: evaluated expression => _debug DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:4: skipped flow control statement 'return' DEBUG 2: evaluating expression DEBUG 2: hashed literal "win32" DEBUG 2: evaluated expression => win32 DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: condition "win32" is true DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: AND DEBUG 2: evaluating expression DEBUG 2: new string DEBUG 2: literal "d" DEBUG 2: evaluated expression => d DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: flow control statement 'return', aborting block DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: finished 'then' branch DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: aborting block, status: return DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: finished 'then' branch DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:5: aborting block, status: return DEBUG 2: evaluated expression => Qt5Cored DEBUG 2: assigning DEBUG 1: /home/brand/projects/qtdev/qtbase-mxe/mkspecs/features/qt_functions.prf:108: lib := Qt5Cored
Attachments
Issue Links
- duplicates
-
QTBUG-4155 Qt pkg-config files contain wrong dependencies
- Closed
- is duplicated by
-
QTBUG-75468 Building release-only for Win32 creates .pc files with d suffix
- Closed