Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, September 2007
qt & xcode


Message 1 in thread

I'm a  newbie to Qt and Mac.
I'm trying to convert my existing Windows Qt project to Xcode.
When I run Qmake on my .pro file with/out this arguments "-spec macx-xcode 
*.pro" I got a *.pbproj file instead of *.xcodeproj.
What might be wrong?  My qt is 4.2.2 and xcode2.4

Thanks in advance,
Serguei


--
 [ signature omitted ] 

Message 2 in thread

On 9/28/07, vdoser <sergueiv@xxxxxxxxxxxxx> wrote:
> I'm a  newbie to Qt and Mac.
> I'm trying to convert my existing Windows Qt project to Xcode.
> When I run Qmake on my .pro file with/out this arguments "-spec macx-xcode
> *.pro" I got a *.pbproj file instead of *.xcodeproj.
> What might be wrong?  My qt is 4.2.2 and xcode2.4
>
> Thanks in advance,
> Serguei

I am also using Qt 4.2.2 but "qmake -spec macx-xcode myapp.pro" gives
me a .xcodeproj file, not a .pbproj file. I know that in much earlier
versions the .pbproj format was generated by qmake, as .pbproj was the
native project file for Project Builder and early versions of XCode;
but that was with Qt 3. I would check your version of qmake and the
path of where it is finding your mkspec files. It may be picking up an
older version (although if you are new to Qt you presumably would not
have older versions installed that might cause any path problems).

From the shell do "qmake -version". I get this output:
QMake version 2.01a
Using Qt version 4.2.2 in /Library/Frameworks

Regards,
Trygve Isaacson

--
 [ signature omitted ] 

Message 3 in thread

2007/9/28, Trygve Isaacson <trygve@xxxxxxxxx>:
> On 9/28/07, vdoser <sergueiv@xxxxxxxxxxxxx> wrote:
> > I'm a  newbie to Qt and Mac.
> > I'm trying to convert my existing Windows Qt project to Xcode.
> > When I run Qmake on my .pro file with/out this arguments "-spec macx-xcode
> > *.pro" I got a *.pbproj file instead of *.xcodeproj.
> > What might be wrong?  My qt is 4.2.2 and xcode2.4

Hello,

check your PATH environment variable. (terminal:  "echo $PATH") to see
if it contains the path to an older version of qmake (usually the
directoy qmake is in, that is, .../bin/).


-- 
 [ signature omitted ]