Howto add Qt support for geordi revised

19 April 2009 | 23:06 | Howtos, Linux, Programming, Qt | 1 Comment

It’s time to write revised instructions for how to add Qt support for Geordi. The following versions were used: GHC 6.10.2 Geordi 2009-04-18 (from darcs repo, num patches: 425) Qt 4.5.0 Start with installing Qt inside Geordi rt: ./configure -prefix /path/to/geordi/rt/usr/local/Trolltech/Qt-4.5.0 make make install Add to prelude/prelude.hpp: #include Recompile prelude: scripts/compile-prelude Remove from compile-config/COMPILE_FLAGS: -pedantic-errors […]



Snowboarding…

18 April 2009 | 19:43 | Personal | 4 Comments

…is fun. Here’s the result. It’s my knee after ACL operation. 🙂



Mapping signals and slots

19 January 2009 | 21:58 | Programming, Qt, Qxt | No Comments

Have you ever hoped there was a class that was able to do the opposite of QSignalMapper? For example, “If the signal parameter is 2, call that slot of this receiver. If the signal parameter is “foo”, call this slot of that receiver.” We have it now in Qxt, it’s called QxtSlotMapper. An example follows: […]



What’s my idle status?

25 August 2008 | 22:14 | Programming, Qt, Qxt | No Comments

There has been a raising demand for querying the system idle time. The Qxt team runs to help again! A new method, namely QxtWindowSystem::idleTime(), was introduced last week. The current implementation covers X11 and Windows platforms. And in case you’re curious about the implementation, we did it with help of XScreenSaver and GetLastInputInfo(), respectively. A […]



LibQxt 0.4.0

1 August 2008 | 0:22 | Programming, Qt, Qxt | No Comments

The Qxt team is proud to announce the immediate release of LibQxt version 0.4.0. LibQxt, an extension library for Qt, provides a suite of cross-platform utility classes to add functionality not readily available in the Qt toolkit by Trolltech, a Nokia company. LibQxt 0.4.0 introduces new features and contains bug fixes to the 0.3.x series: […]



A header view with proportional section sizes

4 July 2008 | 11:28 | Programming, Qt, Qxt | No Comments

Here comes more Qxt news. Yesterday I introduced a header view with proportional section sizes. This makes it possible to say that for example “section A is twice as wide as section B and section C is 3 times as wide as section B”: |–A—|-B-|—-C—-| Btw, this TODO task was only 4 months old. 🙂



Say hello to QxtTabBar::TabMovementMode

3 July 2008 | 11:10 | Programming, Qt, Qxt | 1 Comment

It was about the time to give Qxt some attention. Yesterday I finally took care of a TODO task added by myself in 14th of February: “draggable tabs”. Say hello to QxtTabBar::TabMovementMode: QxtTabBar::NoMovement QxtTabBar::InPlaceMovement QxtTabBar::DragDropMovement Like the name suggests, QxtTabBar::NoMovement doesn’t allow tab movement. QxtTabBar::InPlaceMovement handles moving of tabs “in place”, which means that the […]



My beloved…

20 April 2008 | 20:36 | BMW | No Comments

…after a long and pleasurable bath:



How to switch Qt version in Ubuntu

16 March 2008 | 2:10 | Howtos, Linux, Programming, Qt | 13 Comments

It’s surprising how often people seem to ponder how to switch between different Qt/Qtopia versions when they have multiple versions of Qt/Qtopia installed. All what really matters is to have the right qmake in PATH at time. Even if it might not be that hard to write a shell script to do the switch, I […]



Howto add Qt support for geordi

24 January 2008 | 15:34 | Howtos, Linux, Programming, Qt | No Comments

Install Qt to geordi rt: ./configure -prefix /path/to/geordi/rt/usr/local/Trolltech/Qt-4.3.3 make make install Remove from compile-config: -pedantic-errors Add to compile-config: -D_REENTRANT -DQT_SHARED -DQT_CORE_LIB -I/usr/local/Trolltech/Qt-4.3.3/include -I/usr/local/Trolltech/Qt-4.3.3/include/QtCore -L/usr/local/Trolltech/Qt-4.3.3/lib -lQtCore -lpthread -ldl Add to prelude/prelude.h: #include <QtCore/QtCore> #include </usr/local/Trolltech/Qt-4.3.3/mkspecs/linux-g++/qplatformdefs.h>