Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0, 5.6
-
None
-
eff3a7ded138e5f73fe716efae9e4bf74c71a8a4
Description
Combination of the following conditions result in wrong include paths order:
- mkspecs/qmodule.pri appends some paths to INCLUDEPATH, e.g. this is the case on Windows for MySql and PostgreSql include dirs, when they are provided via configure -I flags
- qmake project is Qt module with typical .qmake.conf
In this case, INCLUDEPATH from qmodule.pri take priority over INCLUDEPATH defined in project. This breaks compilation of QtWebKit on Windows in CI (see [1]), where header "decimal.h" from MySQL is erroneously included instead of local "Decimal.h" header.
In attachment there is simple Qt module, reproducing this bug.
Attachments
Issue Links
- duplicates
-
QTBUG-30083 external dependencies for building Qt5
- Closed
- replaces
-
QTBUG-6351 wrong order of includes & libraries from configure -I & -L
- Closed
For Gerrit Dashboard: QTBUG-53312 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
159329,2 | delay application of -D/-I/-L/-l on windows as well | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |