Opened 14 years ago

Closed 13 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:
Cc:

Description

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

Example.pro:

LIBS += -lMagick++

Makefile:

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 14 years ago.
Change for gnumake.cpp

Download all attachments as: .zip

Change History (3)

by rudi, 14 years ago

Attachment: gnumake.diff added

Change for gnumake.cpp

comment:1 by rudi, 14 years ago

Version: 4.6.24.6.3

comment:2 by Dmitry A. Kuminov, 13 years ago

Resolution: fixed
Status: newclosed

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.