Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.1
-
None
-
5fa64386336b3072a12054726483e4850fc53dea
Description
Since this commit http://code.qt.io/cgit/qt/qtbase.git/commit/?id=f5f772849ca1ada44f3de537633eec2664b14fd4, qmake deletes .a files before calling ar. When building on Windows with mingw32-make from the Git Bash shell, this generates a command like this:
rm foo.a 2>NUL
This causes the creation of a NUL file instead of suppressing the error message.
I believe the code should use the isWindowsShell() function to decide whether it should redirect to NUL or to /dev/null instead of hardcoding it at build time.
Attachments
Issue Links
- resulted in
-
QTBUG-63535 QNX7 builds failing during qt5.git integration in '5.9.2'
- Closed
For Gerrit Dashboard: QTBUG-62985 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
206454,3 | Qmake: Introduce and use QMAKE_NULL_DEVICE variable | 5.9.2 | qt/qtbase | Status: MERGED | +2 | 0 |
207542,5 | Qmake: Introduce and use QMAKE_{SYSTEM,SHELL}_NULL_DEVICE variable, take 2 | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |