[Qt-interest] Application name with a space in Xcode?

John Weeks john at wavemetrics.com
Mon Jan 11 23:17:18 CET 2010


Hi, folks. I'm just getting started with Qt, preparing to port my company's
application to Qt.

I installed the 4.6 SDK version of Qt.
I have Xcode 3.1.2 installed on Mac OS X 10.5.8.
gcc version 4.0.1 (Apple Inc. build 5490)

I am now trying to figure out the best organization for files, projects,
etc. and came across a problem:

I want to create an application name with a space in it. In my .pro file I
have this line:

TARGET = "Igor Pro"

The quotes are necessary to avoid having the name set to simply "Igor". I
can open the .pro file in Creator and it builds the desired application. If
you use qmake to create an Xcode project, however, the Run Script phases Qt
Qmake and Qt Preprocessors are created with command lines that need quotes,
i.e.:

make -C /Users/johnweeks/Documents/IgorDev/Qt_Learning/junk -f Igor
Pro.xcodeproj/qt_makeqmake.mak

As written, these commands don't run.



Is this simply a bug in qmake? Or is there something I should be including
in the name to cause proper quoting or backslashing to make that command
run?

Thanks!

Regards,
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax   (503) 620-6754
email   support at WaveMetrics.com




More information about the Qt-interest-old mailing list