[Qt-interest] [Mac] How to generate the Makefile.Debug and Makefile.Release files ?
Israel Brewster
israel at frontierflying.com
Tue Dec 8 18:48:27 CET 2009
On Dec 8, 2009, at 7:03 AM, Louis Du Verdier wrote:
> Hello,
>
> For a project, I can't use XCode projects, so I have to use Makefiles.
> To compile, I use this command :
>
> qmake -spec macx-g++
>
> But the problem is that the Makefile.Debug and Makefile.Release
> files are not created.
> When I run the make command, I have this error :
What do you have for the CONFIG directive (in your .pro file)? I THINK
(not sure) you need something like CONFIG+=debug_and_release if you
want both - otherwise it will just generate one makefile for either
the debug or release build (depending on which it is set for), which
you would use just by issuing the 'make' command, not 'make debug' or
'make release'. On the other hand, I could be completely wrong here- I
just use Qt Creator, and change the debug/release setting in there, so
I don't have to mess with the commands directly.
>
> gnumake: *** No rule to make target `debug'. Stop.
> gnumake: Entering directory `/Users/Louis/Downloads/QTholid/
> test_projet'
> gnumake: Leaving directory `/Users/Louis/Downloads/QTholid/
> test_projet'
>
> Thanks for your help,
> Louis.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/d98d83ca/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/d98d83ca/attachment.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/d98d83ca/attachment-0001.html
More information about the Qt-interest-old
mailing list