[Qt-interest] Status of XCode Integration

Philippe philwave at gmail.com
Tue Mar 16 21:59:02 CET 2010


Personally, I only generate moc files from Windows/VisualStudio, and
reuse them in XCode as such. There are portable. Never has a problem.
Not using cmake nor qmake.

Philippe

On Tue, 16 Mar 2010 21:46:51 +0100
Andreas Pakulat <apaku at gmx.de> wrote:

> On 16.03.10 20:32:12, Dan White wrote:
> > ----- Michael Jackson <mike.jackson at bluequartz.net> wrote:
> > > On 3/16/10 3:50 PM, in article 4B9FE108.10404 at fxtech.com, "Paul Miller"
> > > wrote:
> > > 
> > > > On 3/16/2010 1:53 PM, Dan White wrote:
> > > >> The info at the link is rather confusing.
> > > >> 
> > > >> To me, it is a no-brainer.
> > > >> 
> > > >> Once I have a .pro file, either from qmake -project or by hand editing, I
> > > >> just give the qmake command and create an XCode project file.  Everything
> > > >> just works from there.
> > > >> 
> > > >> If the project grows in such a way as to cause the contents of the .pro file
> > > >> to change, you need to regenerate the XCode project file.  Because I can do
> > > >> this, I do not maintain the XCode project file.  I trash it and rebuild it as
> > > >> needed.
> > > > 
> > > > The problem with this is if you change any signals/slots or add new
> > > > headers that need to be moc'd. It would be nice if the moc steps would
> > > > automatically be built like they are with the Visual Studio add-in.
> > > 
> > > Certainly do NOT want to start a qmake/cmake flame war BUT  CMake will
> > > correctly regenerate the moc/uic files when needed. You just need to update
> > > the CMake file with the new headers that need to be moc'ed and CMake will
> > > regenerate the Xcode project for you. During the build some auto-magical
> > > thing happens and my moc'ed headers are regenerated when needed.
> > > 
> > > Just my 2 cents
> > > Mike Jackson
> > 
> > This seems to me to be no different than updating the .pro file and running qmake to regen the Xcode project file.
> 
> I don't know about XCode (for either qmake or cmake) but the makefile
> generated by both tools automatically re-run them in the case of
> changing their inputfiles (i.e. .pro or cmakelists.txt). So its even
> automatic as long as you maintain the original cmake/qmake project file.
> 
> Andreas
> 
> -- 
> An exotic journey in downtown Newark is in your future.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list