[Qt-creator] How to compile Qt Creator myself?

Ziller Eike Eike.Ziller at digia.com
Wed Oct 2 15:48:22 CEST 2013


My guess is that you are trying to use Makefiles that were generated for msvc with mingw. They are not compatible.
Note that you need a mingw build of Qt if you want to build Qt Creator with mingw.

Br, Eike

On 02.10.2013, at 14:57, Lanin Alexander (BSOT/ENG) <Alexander.Lanin at bosch-softtec.com> wrote:

> Hi,
> 
> I have some trouble compiling qt creator on windows. Please correct me where I went wrong. This is my first attempt. There are some guides on the net, but none of them seem to work.
> 
> I'm on latest master branch on http://git.gitorious.org/qt-creator/qt-creator.git. I have tried it with Qt 5.2 Alpha (from git) and with latest stable branch of all subrepositories. I've tried mingw32 4.8.0_2 and 4.8.1.
> 
> 
> 
> c:\build\qtcreator>qmake c:\Git\qt-creator\qtcreator.pro CONFIG+=release DEFINES+=IDE_REVISION=2ef111fc8f52f085a81e89ac8d351b8224357bca
> 
> c:\build\qtcreator>c:\Progs\mingw-builds\mingw32-4.8.0_2\bin\mingw32-make.exe
> cd src\ && ( if not exist Makefile C:\Git\Qt5-Windows\qtbase\bin\qmake.exe C:\Git\qt-creator\src\src.pro CONFIG+=release  DEFINES+=IDE_REVISION=2ef111fc8f52f085a81e89ac8d351b8224357bca -o Makefile ) && c:/Progs/mingw-builds/mingw32-4.8.0_2/b
> in/mingw32-make -f Makefile
> mingw32-make[1]: Entering directory 'c:/build/qtcreator/src'
> cd libs\ && ( if not exist Makefile C:\Git\Qt5-Windows\qtbase\bin\qmake.exe C:\Git\qt-creator\src\libs\libs.pro CONFIG+=
> release DEFINES+=IDE_REVISION=2ef111fc8f52f085a81e89ac8d351b8224357bca -o Makefile ) && c:/Progs/mingw-builds/mingw32-4.
> 8.0_2/bin/mingw32-make -f Makefile
> mingw32-make[2]: Entering directory 'c:/build/qtcreator/src/libs'
> cd aggregation\ && ( if not exist Makefile C:\Git\Qt5-Windows\qtbase\bin\qmake.exe C:\Git\qt-creator\src\libs\aggregatio
> n\aggregation.pro CONFIG+=release DEFINES+=IDE_REVISION=2ef111fc8f52f085a81e89ac8d351b8224357bca -o Makefile ) && c:/Pro
> gs/mingw-builds/mingw32-4.8.0_2/bin/mingw32-make -f Makefile
> mingw32-make[3]: Entering directory 'c:/build/qtcreator/src/libs/aggregation'
> c:/Progs/mingw-builds/mingw32-4.8.0_2/bin/mingw32-make -f Makefile.Release
> mingw32-make[4]: Entering directory 'c:/build/qtcreator/src/libs/aggregation'
> Makefile.Release:64: *** missing separator.  Stop.
> mingw32-make[4]: Leaving directory 'c:/build/qtcreator/src/libs/aggregation'
> Makefile:34: recipe for target 'release' failed
> mingw32-make[3]: *** [release] Error 2
> mingw32-make[3]: Leaving directory 'c:/build/qtcreator/src/libs/aggregation'
> Makefile:56: recipe for target 'sub-aggregation-make_first' failed
> mingw32-make[2]: *** [sub-aggregation-make_first] Error 2
> mingw32-make[2]: Leaving directory 'c:/build/qtcreator/src/libs'
> Makefile:43: recipe for target 'sub-libs-make_first-ordered' failed
> mingw32-make[1]: *** [sub-libs-make_first-ordered] Error 2
> mingw32-make[1]: Leaving directory 'c:/build/qtcreator/src'
> makefile:41: recipe for target 'sub-src-make_first-ordered' failed
> mingw32-make: *** [sub-src-make_first-ordered] Error 2
> 
> Regards,
> Alexander
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list