Opened 16 years ago
Closed 16 years ago
#126 closed defect (fixed)
Building projects with "dev" WPI package fails
| Reported by: | Dmitry A. Kuminov | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | Qt 4.6.2 | 
| Component: | General | Version: | 4.5.1 GA | 
| Severity: | low | Keywords: | |
| Cc: | 
Description
Building some qmake-based projects with the "dev" WPI package fails like this:
g++ -Zomf -Zstack 0x2000 -Zlinker "DISABLE 1121" -s -Zhigh-mem -Zmap -o widget.exe . \widget.exe.def @d:\Temp\widget_tes t\OBJECTS.widget.rsp -Lc:\ECS\SYSTEM\QT4\lib -lQtGui4 -lQtCore4 g++: \widget.exe.def: No such file or directory
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Fixed in r547. Turned out to be a vendor bug. Or at least a feature (since it doesn't affect the Win32 platform badly, technically it's not a real bug :)
  Note:
 See   TracTickets
 for help on using tickets.
    
It happens when the OBJECTS_DIR qmake variable isn't explicitly set in the .pro file resulting in the following definition in the generated Makefile:
As you see, there is a trailing space that becomes part of the variable's value in GNU make which gives incorrect results on the command line when this variable is concatenated with other text (like "\widget.exe.def").