KBounce/Mac running - but needs a diet
Not many words needed:
Just the following command lets one think:
sts@goedel:/opt$ du -s -h
3.5G
I used the packages from KDE/Mac, more precisely qt4, kdesupport, kdelibs, strigi, kdegames.
Not many words needed:
Just the following command lets one think:
sts@goedel:/opt$ du -s -h
3.5G
I used the packages from KDE/Mac, more precisely qt4, kdesupport, kdelibs, strigi, kdegames.
Some time ago I started to port KBounce back to Qt. I did not finish this because the KDE port to Qt4 was not finished and KBounce was awfully slow with the new Qt. Now with KDE4 coming along there will be support for non-X environments. Sounds great. Kdelibs and any KDE program will instantly run e.g. on Mac. There are even packages already for an alpha snapshot: KDE/Mac. Looks great so far. The only cavet shows up in the picture:
For a small application a lot of stuff. All or nothing. I wonder how much one can down scale those libs to put everything in one DMG, just enough to run KBounce.

A very first snapshot of QBounce. Neither complete, nor free of bugs, nor anything else: qbounce-installer.exe.
… hopefully without those strange bugs I encountered while building QBounce in Windows/MinGW. Praying
Update: In fact it works fine. Still the performance problems of Dmitry’s patch for Qt4, but at least it runs (as good as in a KDE 4 snapshot).

The Qt/Windows port of QBounce is running! Now I only have to wait for the release of Qt 4.2 with its QGraphicsView. The release candidate is far too buggy (e.g. message boxes in debug builds trigger asserts). Moreover this version is not under the GPL yet, if I saw it correctly.
Another small problem is that the Qt 4 port is not very optimized yet. While the wall is built, the caching of the GraphicsView is reset constantly. But this is a fault of the KBounce version in KDE, not only applies to QBounce.
How much I love C++ and those strange bugs you are confronted sometimes. QBounce (the Qt only port of KBounce) compiles fine. Everything looks ok. It just crashes in the creation of QApplication, somewhere in some pointer references counting stuff, inlined function to make it hell to debug with gdb. How much I like this slogan: Well typed programs just do not go wrong (more or less Milner ‘78). Well, not with C++.