« August 2006 | Main | October 2006 »

September 8, 2006

QTM ... with Qt 4.2

Trolltech has just put out the first release candidate of Qt 4.2, and naturally as a Qt 4 developer I was eager to get my hands on it, for among other reasons to see what it would look like with the new Cleanlooks theme, derived from GNOME's Clearlooks and, like Qt's new support for GLib, intended to make Qt apps blend in on the GNOME desktop. Anyway, here's a snapshot:

QTM screenshot with the Cleanlooks theme></img></p>

<p>There are a number of bugs in the theme (remember, it's not an official release) - among them that it sometimes (but not always) displays toolbar items wrong when they are of different heights - instead of being in a straight line along the middle, they are straight along the top.  There is another issue, which isn't necessarily a bug, which is that on monitors like mine with a slight tinge - in my case, a Dell 1905FP with a noticeable pinkish tinge - the menu bar looks a completely different colour to the toolbar: a bluish grey and a light pink, respectively.  Admittedly this is a monitor fault, but it's common in lower-end TFT monitors.  Perhaps theme designers might consider this when they choose their colour schemes?</p>

                              
                              <p class= | | Comments (0) | TrackBacks (0)

September 3, 2006

QTM changes build system

QTM has now jumped on the CMake bandwagon, and a new version of the source bundle has been uploaded to SourceForge and KDE Apps which includes a CMake project file as well as the old QMake one. I don't intend to get rid of the QMake version yet; for one thing, it's still useful in preparing the Mac application bundle which doesn't require installing; it just needs dragging to the Applications folder, which is not the case on any other OS. This was built with the help of Jacek at Qt Centre, who wrote this guide at the Qt Centre Wiki to building Qt 4 programs with CMake. Note that the CMake project file example at qtnode does not work; I tried it myself and it didn't make it past the configure stage.

To build and install, you need to type "cmake ." from the directory where the source files are (note the dot, denoting the current directory). Then you type "make" and then, as root or with sudo, "make install" (without the quotes in each case). Note that Makefiles built with CMake give a concise, pretty and colourful output as standard, quite unlike the (to most users) incomprehensible list of commands the old Makefiles made.

You need CMake version 2.4.3 or 2.4.1; version 2.4.2 is not reliable. It can be obtained from this page on the CMake homepage, or (and preferably) as a binary from a repository specific to your OS. Note that Ubuntu Dapper has a 2.2 version which is not suitable for this purpose.

Minor update: version 0.3.9.1

Yesterday I released a minor update, fixing a bug introuduced in version 0.3.9 in the code which was meant to fix an earlier bug. For anyone who knows Qt, it was a signal-slot mismatch, and it was causing the initial host lookup not to be acted upon.

Downloads are available at SourceForge (with source also at KDE Apps if you prefer). Source, a Mac OS X universal binary and RPMs for Ubuntu Dapper, SUSE 10.1 and Fedora 5 are there now. (By the way, SUSE's Qt 4.1 RPMs are now located here for 10.1 and here for version 10. The binaries for 9.3 seem to have been deleted.)