I've resumed to deal with this topic again. I compiled the Qt Library with MinGW now. I think the compilation was successful, but now I want to build Qt Creator using my self compiled Qt Library.
The problem is, that the compilation of Qt Creator is incomplete.
I'm using the following command line to create the make file:
D:\Qt\qt5_creator\build>qmake d:\qt\qt5_creator\source\qtcreator.pro
D:\Qt\qt5_creator\build>qmake d:\qt\qt5_creator\source\qtcreator.pro
To copy to clipboard, switch view to plain text mode
Do I need to create make files for the other sub projects in the source directory, too?
Then I run MinGW:
D:\Qt\qt5_creator\build>mingw32-make release
......
LD:/Qt/qt5_creator/build2/libs/extensionsystem/lib/qtcreator -lAggregation -LD:/
Qt/qt5/qtbase/lib -lQt5Widgets -lQt5Concurrent -lQt5Gui -lQt5Core
d:/qt/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw
32/bin/ld.exe: cannot find -lAggregation
collect2.exe: error: ld returned 1 exit status
Makefile.Release:112: recipe for target 'lib\qtcreator\ExtensionSystem.dll' fail
ed
mingw32-make[2]: *** [lib\qtcreator\ExtensionSystem.dll] Error 1
mingw32-make[2]: Leaving directory 'D:/Qt/qt5_creator/build/libs/extensionsyste
m'
Makefile:48: recipe for target 'release' failed
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory 'D:/Qt/qt5_creator/build/libs/extensionsyste
m'
makefile:438: recipe for target 'sub-libs-extensionsystem-sub_Release_ordered' f
ailed
mingw32-make: *** [sub-libs-extensionsystem-sub_Release_ordered] Error 2
D:\Qt\qt5_creator\build>mingw32-make release
......
LD:/Qt/qt5_creator/build2/libs/extensionsystem/lib/qtcreator -lAggregation -LD:/
Qt/qt5/qtbase/lib -lQt5Widgets -lQt5Concurrent -lQt5Gui -lQt5Core
d:/qt/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw
32/bin/ld.exe: cannot find -lAggregation
collect2.exe: error: ld returned 1 exit status
Makefile.Release:112: recipe for target 'lib\qtcreator\ExtensionSystem.dll' fail
ed
mingw32-make[2]: *** [lib\qtcreator\ExtensionSystem.dll] Error 1
mingw32-make[2]: Leaving directory 'D:/Qt/qt5_creator/build/libs/extensionsyste
m'
Makefile:48: recipe for target 'release' failed
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory 'D:/Qt/qt5_creator/build/libs/extensionsyste
m'
makefile:438: recipe for target 'sub-libs-extensionsystem-sub_Release_ordered' f
ailed
mingw32-make: *** [sub-libs-extensionsystem-sub_Release_ordered] Error 2
To copy to clipboard, switch view to plain text mode
The compilation of "qtcreator.exe", "Aggregation.dll" and "ExtensionSystem.dll" has been working, but as you can see, I'm getting errors and the compilation isn't complete.
Do you know, what's the reason for this errors? Do I need to set an additional path? I already added the following directories:
D:\Qt\qt5_creator>echo %PATH%
D:\Qt\qt5\qtbase\bin;
D:\Qt\qt5\gnuwin32\bin;
D:\Qt\mingw\bin;D:\Qt\strawberry-per
l-5.16.2.1-64bit\perl\bin;
"D:\Python 2.7.3";
D:\Qt\ruby-1.9.3-p362-i386-mingw32\r
uby-1.9.3-p362-i386-mingw32\bin;
D:\Qt\qt5_deps\icu\dist\lib;
D:\Qt\qt5_deps\opens
sl-1.0.1c\dist\bin;
D:\Qt\PortableGit-1.8.0-preview20121022\cmd;
C:\Windows\System
32;D:\Qt\qt5_creator\source\src\plugins;
D:\Qt\qt5_creator\source\src\libs;
D:\Qt\
qt5_creator\source\src\plugins\tools;
D:\Qt\qt5_creator\source\src\app
D:\Qt\qt5_creator>echo %PATH%
D:\Qt\qt5\qtbase\bin;
D:\Qt\qt5\gnuwin32\bin;
D:\Qt\mingw\bin;D:\Qt\strawberry-per
l-5.16.2.1-64bit\perl\bin;
"D:\Python 2.7.3";
D:\Qt\ruby-1.9.3-p362-i386-mingw32\r
uby-1.9.3-p362-i386-mingw32\bin;
D:\Qt\qt5_deps\icu\dist\lib;
D:\Qt\qt5_deps\opens
sl-1.0.1c\dist\bin;
D:\Qt\PortableGit-1.8.0-preview20121022\cmd;
C:\Windows\System
32;D:\Qt\qt5_creator\source\src\plugins;
D:\Qt\qt5_creator\source\src\libs;
D:\Qt\
qt5_creator\source\src\plugins\tools;
D:\Qt\qt5_creator\source\src\app
To copy to clipboard, switch view to plain text mode
It would be nice, if someone knows, what I've forgotten to do :-)
EDIT: I also tried to run configure.bat (I'm not sure how I have to use it), but then the compilation doesn't work, too.
Bookmarks