Quick Introduction to Qt 4 Beta 1

The author of the Independent Qt Tutorial has published an example-driven article about Qt 4 Beta 1. The text touches the new Designer and some of the code-level changes that will affect application developers.


I have to say, I for one wished development would have continued along the lines of QtDesigner from Qt3 with the following features:

1) Adding the ability to show, in a popup, the available members of a non-visual class. e.g. when writing

MyClass a;
int b = a.

a popup would appear after the dot with all the available members for "a"

2) Adding build, compile, and debug buttons to the IDE, harnessing the knowledge that went into QMake to get it working. However I accept that there are some compilers where it may not be possible to do this.

3) Full project management, represented graphically as in KDevelop with docked window with three tabs for file-system, class and GUI members.

None of this is very far removed from what QtDesigner 3 does now. Such a product could then be shipped on Windows and MacOSX with the GNU compiler as a fully integrated development environment with no additional costs. It would lure in a lot of small companies. An additional sweetener would be to enhance this down the line to support Java and QtJava bindings.

However I'm not privy to everything that's going on in Trolltech, and I know Designer is still in the early beta stages, so I'll wait and see.

By Bryan Feeney at Wed, 2005/01/05 - 6:00am

Regarding item #2, I've done a part of that work. Check out http://www.digitalfanatics.org/e8johan/projects/deside/index.html .

One of the problems with this is that it requires a certain build system (make/nmake). The other problem is that the .ui-files are more or less bound to a certain Qt release. A better, but more complex, solution would be to add a non-Qt-specific layer, to make it possible to generate a generic XML-UI-description file...

By Johan Thelin at Wed, 2005/01/05 - 6:00am

Funny you should mention the "build" issue. I just sent a patch to the qt4 mailing list to add the capability into qmake. It is quite simple and I hope Trolltech implements it or something like it.

By Justin Karneges at Thu, 2005/01/06 - 6:00am

#1 - the main feature i miss from Delphi

By nick at Thu, 2005/01/06 - 6:00am

was it really needed to separate qt designer into multiple windows.

I know many people comment bad about the gimp because of this...
wouldn't this be just the same?

it would be very nice if this mode was optional and the developer could choose.
I for one, don't like it.

By Mark Hannessen at Fri, 2005/01/07 - 6:00am

Personally, I think that it is a thing of the future. If just the window managers could be taught to raise all windows of one application instance, this layout is great for multiple screen scenarios.

By Johan Thelin at Sat, 2005/01/08 - 6:00am