[Qt-interest] qmake error in directory with parenthesis

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Thu Oct 6 12:22:39 CEST 2011


Hi Erick, 

 

Have you tried triple quoting instead? 

 

./Library\\\(static\\\)

 

Hope that helps, 

 

Tony

 

 

From: qt-interest-bounces+tony.rietwyk=rightsoft.com.au at qt.nokia.com
[mailto:qt-interest-bounces+tony.rietwyk=rightsoft.com.au at qt.nokia.com] On
Behalf Of erick oliveira da silva
Sent: Thursday, 6 October 2011 9:04 PM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] qmake error in directory with parenthesis

 

Hi Friends,

I am configuring my .pro file to save my target, a static library, in a
directory with name "./Library(static)"

Unfortunatelly, the qmake remove the backslash from the path in the created
Makefile. There is any way to solve the problem? How I can define the path
"./Library(static)" in the Macro "DESTDIR" in a way that qmake doesn't
remove the backslash necessary to run "make" without any error.

#hier ist the line in my .pro file:
DESTDIR = ./Library\(static\)


#hier is what I get in Makefile after run qmake:
DESTDIR = ./Library(static)

OS: Centos 5.6 64 bits
Qt version: commercial 4.7.4

#output when I run "make":

/bin/sh: -c: line 0: syntax error near unexpected token `('

Thanks in advance,
Erick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111006/161bec4c/attachment.html 


More information about the Qt-interest-old mailing list