Opened 9 years ago

Closed 8 years ago

#196 closed defect (fixed)

Qmake creates invalid "LIBS" entry in Makefile,xxxxx

Reported by: rudi Owned by:
Priority: major Milestone: Qt 4.7
Component: qmake Version: 4.6.3
Severity: medium Keywords:


When a library in a *.pro file has special chars in it's name the library name in the makefile is not correctly escaped.

LIBS += -lMagick++


LIBS = ... -l"-lMagick++"

Note that the attached diff has some whitespace changes as well. The functional part is the removal of the quotes before checking for "-l" or "-L".

Attachments (1)

gnumake.diff (3.6 KB) - added by rudi 9 years ago.
Change for gnumake.cpp

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by rudi

Change for gnumake.cpp

comment:1 Changed 9 years ago by rudi

  • Version changed from 4.6.2 to 4.6.3

comment:2 Changed 8 years ago by dmik

  • Resolution set to fixed
  • Status changed from new to closed

Rudi, thanks for the report. In r872, I applied a more generic fix (no need to unquote library names and paths before parsing).

Note: See TracTickets for help on using tickets.