[Qt-interest] [Mac] How to generate the Makefile.Debug and Makefile.Release files ?
Sean Harmer
sean.harmer at maps-technology.com
Tue Dec 8 18:56:35 CET 2009
On Tuesday 08 Dec 2009 17:48:27 Israel Brewster wrote:
> 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 -
That alone is not sufficient. You need to have
CONFIG += debug_and_release build_all
Then re-run qmake.
Sean
More information about the Qt-interest-old
mailing list