[Qt-creator] CMake alternative buildsystem - request for adoption
Helio Chissini de Castro
helio at kde.org
Fri Mar 20 14:15:31 CET 2009
Hello
Some of you should already know about the cmake buildsystem we adopted in
Mandriva which i blogged some days ago.
The is for now a linux/unix specific buildsystem, but make qt-creator package
suitable to be adopted in a "package distro environment" which means in some
cases split packages, different lib + modules dir.
Let's resume what the main differences that this build introduced:
- Uses bare cmake 2.6.2 and automoc4, so no magic tools or special hacks are
included
- Allow to install libs in lib or lib64, independent of qt-creator binaries or
share data
- Use the qt plugin space, instead of a subdir inside /usr/lib/qt-creator.
This is a bit controversy, but in the view of a distribution, a qt plugin
should be under qt umbrella, and qt-creator plugins, even been slightly
different, still are a qt plugins.
Due to 32/64 bits qt installed in usr. we have qt plugins in
/usr/lib/qt4/plugins and /usr/lib64/qt4/plugins respectively, and in this case
this allow concurrent apps in both archs been used simultaneously .
I still use the Nokia plugin prefix of course, but i think that should be named
like Nokia/QtCreator or something similar
- Enabled designer plugin by default that for some unidentified reason was not
compiling at Mandriva
The major benefit at end is an easy installation and package creation for us.
I attached the relevant patches, the second one ( -source ) is to workaround
the limitation of automoc4 to not detect all the moc requirements, and a
addition of qt plugin standard path. Presumably all safe to be upstream
So my proposal is adopt as a alternative buildsystem, side by side with official
qmake buildsystem, in this way been up to date and turn packagers life easier,
increasing the deployment.
I appreciate any input :-)
[]'
--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-creator-1.0.0-cmake-source.patch
Type: text/x-patch
Size: 15214 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090320/29990414/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-creator-1.0.0-cmake.patch
Type: text/x-patch
Size: 62032 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090320/29990414/attachment-0001.bin
More information about the Qt-creator-old
mailing list