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

Qt-interest Archive, April 2007
building Qt apps for macintosh


Message 1 in thread

Hi.

Running Mac OS X 10.4.9 on a G4 iMac.
Using Qt 4.2.3, found in Qt.mpkg downloaded from trolltech.com.

I am trying to build a Qt4 application on the Mac, and having some  
problems.  (I have not had this problem on Linux.)
Within the source directory, I issue the command
   qmake regexex.pro
followed by
   make
I'm then told that there's no [Mm]akefile.  However, there is a  
"regexex.xcodeproj" directory.  Descending into said directory, I see  
"project.pbxproj", which I double-click.  Xcode launches, but does  
nothing.  All the interesting menu items are grayed out (such as all  
items in the "Build" menu).

I also tried this with the "hello world" application in the Qt 4.2.3  
source distribution.  Same thing.

What am I misunderstanding?  Thanks.

Art Werschulz
207 Stoughton Avenue, Cranford  NJ 07016-2838
(908) 272-1146


--
 [ signature omitted ] 

Message 2 in thread

if you only want the make file for mac try

qmake -spec macx-g++ your.pro

best regards

seb 

On Friday 27 April 2007 17:06:09 Art Werschulz wrote:
> Hi.
>
> Running Mac OS X 10.4.9 on a G4 iMac.
> Using Qt 4.2.3, found in Qt.mpkg downloaded from trolltech.com.
>
> I am trying to build a Qt4 application on the Mac, and having some
> problems.  (I have not had this problem on Linux.)
> Within the source directory, I issue the command
>    qmake regexex.pro
> followed by
>    make
> I'm then told that there's no [Mm]akefile.  However, there is a
> "regexex.xcodeproj" directory.  Descending into said directory, I see
> "project.pbxproj", which I double-click.  Xcode launches, but does
> nothing.  All the interesting menu items are grayed out (such as all
> items in the "Build" menu).
>
> I also tried this with the "hello world" application in the Qt 4.2.3
> source distribution.  Same thing.
>
> What am I misunderstanding?  Thanks.
>
> Art Werschulz
> 207 Stoughton Avenue, Cranford  NJ 07016-2838
> (908) 272-1146
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/


--
 [ signature omitted ] 

Message 3 in thread

use qmake -spec macx-g++ and then make, or, just qmake and then  
xcodebuild (command line tool)

On Apr 27, 2007, at 5:06 PM, Art Werschulz wrote:

> Hi.
>
> Running Mac OS X 10.4.9 on a G4 iMac.
> Using Qt 4.2.3, found in Qt.mpkg downloaded from trolltech.com.
>
> I am trying to build a Qt4 application on the Mac, and having some  
> problems.  (I have not had this problem on Linux.)
> Within the source directory, I issue the command
>   qmake regexex.pro
> followed by
>   make
> I'm then told that there's no [Mm]akefile.  However, there is a  
> "regexex.xcodeproj" directory.  Descending into said directory, I  
> see "project.pbxproj", which I double-click.  Xcode launches, but  
> does nothing.  All the interesting menu items are grayed out (such  
> as all items in the "Build" menu).
>
> I also tried this with the "hello world" application in the Qt  
> 4.2.3 source distribution.  Same thing.
>
> What am I misunderstanding?  Thanks.
>
> Art Werschulz
> 207 Stoughton Avenue, Cranford  NJ 07016-2838
> (908) 272-1146
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx  
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>

--
 [ signature omitted ]