Aurélien: Both André and Eike explained it very well. The main issue you have, I believe, have to do with the "parallel" build directory. That bit me once, and because of that I decided to send my email about it (it gets increasingly frustrating when in fact the problem has a very simple solution). If you apply the recommended steps you get the following flow:
>> git clone git://gitorious.org/qt-creator/qt-creator.git >> mkdir build; cd build >> qmake ../qt-creator/qt-creator.pro >> make Do not create your build directory inside the qt-creator source directory, but parallel to it. And again, you need Qt-4.7.0 to build QtCreator. That should provide you with the Qt Creator.app application bundle under the "build/bin" directory. I have never had any trouble building that way, either under Mac 10.5 or 10.6. Good luck, Victor PS: Eike: You guys keep spoiling us.Using QtCreator to build QtCreator itself actually turns into the easiest way to do it yet...:-) On 7/5/10 11:07 PM, André Pönitz wrote: > On Tuesday 06 July 2010 10:36:16 ext Aurélien Vallée wrote: >> I already tried all these steps. >> Using Qt creator does not change anything, it just basically call qmake/make >> or qmake/xcodebuild. >> >> Here is what I'm doing: >> >> ### Using g++ >> git clone QTCREATORGITURL >> cd qt-creator >> mkdir build; cd build > > Create a build directory _in parallel_ to the source tree. I.e. > > cd qt-creator > mkdir ../build ; cd ../build > >> qmake ..\qt-creator.pro<http://qt-creator.pro> -recursive -spec macx-g++ > > Backslashs seem wrong, too: > > qmake -r ../qt-creator/qt-creator.pro > > Andre' > > PS: Not being able to build in a subdirectory of the source tree is a qmake > problem that can be worked around by applying the patch at > http://creator.pastebin.com/d72U2z9e to your Qt sources: > > > --------------------------- snip ------------------------ > diff --git a/mkspecs/features/resources.prf b/mkspecs/features/resources.prf > index a305a4f..0003a7c 100644 > --- a/mkspecs/features/resources.prf > +++ b/mkspecs/features/resources.prf > @@ -20,8 +20,9 @@ resource_combine { > QMAKE_RESOURCE_FLAGS += -name ${QMAKE_FILE_BASE} > } > } > -rcc.commands = "$$QMAKE_RCC" $$QMAKE_RESOURCE_FLAGS "${QMAKE_FILE_IN}" -o > "${QMAKE_FILE_OUT}" > -rcc.depend_command = "$$QMAKE_RCC" -list $$QMAKE_RESOURCE_FLAGS > "${QMAKE_FILE_IN}" > +rcc.commands = cd "$$OUT_PWD" && "$$QMAKE_RCC" $$QMAKE_RESOURCE_FLAGS > "${QMAKE_FILE_IN}" -o "${QMAKE_FILE_OUT}" > +rcc.depend_command = cd "$$OUT_PWD" && "$$QMAKE_RCC" -list > $$QMAKE_RESOURCE_FLAGS "${QMAKE_FILE_IN}" > + > rcc.input = RESOURCES > rcc.variable_out = SOURCES > rcc.name = RCC ${QMAKE_FILE_IN} > --------------------------- snip ------------------------ > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
<<attachment: victor_sardina.vcf>>
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
