[Development] Building Qt Creator with Qt 5

Friedemann Kleint Friedemann.Kleint at nokia.com
Thu Nov 24 16:05:44 CET 2011


Hi,

for those interested, it is now possible to compile Qt Creator / master 
with Qt 5 with the exception of QML Designer and WebKit-based help.

In your Qt 5 setup, go to the Qt Creator directory and run:

fixqt4headers.pl
qmake
make

The need to run fixqt4headers will go away once Qt Creator's coding 
style is modified to use #include <QClass> instead of <QtModule/QClass>.

The changes required are:

qtbase: c3160c84af3cb14c0edc5896be0ca637377e3805
qtcreator: b0eff051c1b67105a1dcc2c03d2ae30195dab539
qtcreator: 649ba48e4a56889692bae5996d9dbd2f6e503336

which gives an idea of what is required to port a project. Fully porting 
(without using deprecated functions) would require
replacing/#ifdef-ing all occurrences of Qt::escape() and 
QDesktop::storageLocation().


Regards,
Friedemann

-- 
Friedemann Kleint
Qt Open Source Team
Nokia, Qt Development Frameworks




More information about the Development mailing list