CuteBuilder

A free tool to build Qt 4 with Microsoft Visual C++

Last news about CuteBuilder

CuteBuilder 0.8.0 released

May 21st, 2009

CuteBuilder 0.8.0 is available. This version corrects the main weaknesses of previous version:

  • Fixed the dual licensing issue with Qt 4.5.1: CuteBuilder 0.7.0 could not compile Qt 4.5.1 because configure.exe now first asks to choose between Commercial or Open Source license. This is why you remained stuck at the configuration stage it you tried to compile Qt 4.5.1. For now, CuteBuilder always chooses the Open Source license. If you want CuteBuilder to allow you to choose the Commercial license, please contact me.
  • Introduced compiler profiles: this new version of CuteBuilder allows you to customize each compiler settings. The direct benefit of this new feature is that CuteBuilder supports Visual C++ 2005 Express: just add the Windows SDK in the compiler profile and click Next! Management of third party libraries and SDKs (Direct3D SDK, PostgresSQL libpq driver, …) will be improved in the future.
  • Added a must have feature: it is now possible to restrict the compilation of Qt parts: you can avoid the compilation of all the parts of Qt and only compile the libraries & tools for example. This new feature works in combinaison with the existing options restrincting the libraries being used (-no-phonon, -no-webkit, …).

This new release of CuteBuilder has been tested on Qt 4.5.0 & Qt 4.5.1. The older is the version of Qt you want to compile, the more likely some features won’t work or even cause the compilation to fail. But as I can observe in the feedbacks sent by the registered users, most of you are just interested in compiling the latest version of Qt, so this is what I am focusing on. Just contact me if you want to compile older releases and you are experiencing problems with it.

In addition to these essential new features, I also worked on improving the support of Visual C++ 2008:

  • I was contacted to know if I could add the support of jom, a nmake clone developped by Jörg from Qt Labs in order to Speed up Visual C++ Qt Builds on multi-core processors. Actually, Visual C++ offers the -MP option, wich allows multiple instances of the compiler to run at the same time. So I added a new Visual C++ option: Use Multiple Processes (/MP) (detailed here). This new option is checked by default if more than one (logical) processor are detected. This should do the same work than jom. However, this option is not officially supported by Visual C++ 2005, so it is not available with this compiler.
  • I also added the experimental support of 64 bits: CuteBuilder now detects the x64 cross-compilers (AMD64 and Intel64) shipped with Visual C++ 2008 Express. The support of these compilers is experimental, wich in other words means it does not work (Qt compilation fails immediately). My goal is actually to create some interest in this feature so people having experience with 64 bits compilation help me to make it work with CuteBuilder. If you are one of them, just contact me!

Now, a few notes about CuteBuilder 0.7.0.

CuteBuilder 0.7.0 was downloaded 1400 times, and more than 500 users accepted to register. Being a registered user means CuteBuilder sends feedbacks to this website about what is going well… and wrong.

In the future, I plan to share my conclusions about Qt and Visual C++ on this website, based on my own experience and the feedbacks sent by registered users. In particular, how to better optimize your final executable, is Whole Program Optimization worth it, etc. This is my way to thank you for your cooperation.

As a conclusion to this post,  it seems that none of you used CuteBuilder 0.7 to build a Commercial version of Qt. I guess it means CuteBuilder doesn’t handle properly these versions. As I do not own such a license, I need your help to support Commercial versions of Qt. Just contact me!

Happy coding with Qt!

1 Comment »

CuteBuilder 0.7.0 released

October 28th, 2008

I am happy to announce the release of the first version of CuteBuilder. It is still a Beta version, but it should be stable enought so the next release a stable one. This first release was successfuly tested with Qt 4.4.3 Open Source and Qt 4.5 Tech Preview, both with Visual C++ 2008 Express only.

Few remarks about CuteBuilder 0.7.0:

  • Compared to formal QtBuilder, the wizard was redesigned. Now, all the configuration settings are chosen before compilation, so you can first completely configure your build process, and then let it run automatically without having to wait for the end of qmake compilation for example.
  • An on line “registration” feature was added in order to make it possible for me to get some feedback about any problem you have building Qt with CuteBuilder. You are free to accept this “registration” or not. It also give me an idea of the number of people using CuteBuilder, and will inform you of any new CuteBuilder release. In the long term, this feedback system should move in the direction of a CDash board.
  • The trick with mt.exe was removed, as it is no longer needed with Visual C++ 2008 (see the corresponding Qt Knowledgebase entry). On the other hand, it may be a problem with Visual C++ 2005 if you want to use the static version of the CRT. Actually the support of Visual C++ 2005 is broken in this version, at least for VC++ 2005 Express as there is no way to configure the Platform SDK. But the next version of CuteBuilder should add a way to configure libraries (not only the PSDK…).
  • Some options where added, in particular -no-webkit and -no-phonon, as I experienced some trouble compiling Phonon in static or WebKit with Whole Program Optimization. Actually the compilation of Qt 4.4.3 can easily fail in static, I got many weird errors that I will try to document here. In the future, CuteBuilder should offer a way to restrict the compilation of Qt to the library source code only, as problems arise most of the time in the examples, and also because it can be very very long to compile the whole source if WPO is turned on.
  • In the future, CuteBuilder should also propose to run “make clean” after the compilation finished, as it can help to save a lot of disk space.

I hope you will enjoy this new version and that it will help you to use Qt, as it is in my opinion a very valuable development platform which is as much a rich and powerful framework that it is unknown and unused. Happy coding!

2 Comments »

CuteBuilder project started

October 14th, 2008

The CuteBuilder project has been started, in order to succeed to QtBuilder which development has been stopped to avoid any future trademark issue with the name Qt (although Trolltech / Nokia did not complain). This new website is powered by Wordpress, and the graphical chart is inspired from the Beautiful Day theme by Arcsin.

CuteBuilder 0.7.0 has not been released yet because it is still under development, but it should be made available before the end of the month. Stay tuned!

2 Comments »