Main Contents

Playing with clang and Qt

January 10, 2010

You might know that there’s a new kid in the C++ compilers list ; clang. Llvm has been around for quite some time, but until recently the only way to make use of it was through the somehow cumbersome llvm-gcc which binds the gcc C/C++ frontend to the llvm backend. People (mostly Apple) have been [...]

Filed under: Gentoo, KDE | Comments (5)

How to use flex and bison with qmake (my own way)

November 22, 2009

qmake (sort of) supports lex/yacc, but modern people prefer to use flex/bison. If you google, you can find some tricks like convincing qmake that yacc is spelled ‘bison’ and so on.  Morever qmake supports for lex/yacc has several drawbacks, such as weird naming scheme, and (when using the tricks), dependencies are not building files in [...]

Filed under: Gentoo, KDE | Comments (2)

Wonders from a KDE fan and developer about some KDE design choices

November 10, 2009

Technologies going forward..
Twenty years ago, I was reading some books about Unix at the local library. By the time, it was really difficult for me to see, touch, or test an actual unix system and reading books was the closest I could get.
I remember that among the numerous very good ideas ™ in this system, [...]

Filed under: Gentoo, KDE | Comments (43)

feedback about converting eigen2 to mercurial

May 18, 2009

This week-end we did the final conversion of the eigen2 source code repository. I shall describe here the few problems we had, as a feedback to the community.
Eigen original purpose was to help provide linear algebra for several KDE parts. As such, it was until now developed inside the KDE repository, which (still) uses subversion. [...]

Filed under: Admin, KDE | Comments (6)

how to handle translations for an application that is both qt-only and KDE ?

May 2, 2009

I have the problem for my application Opale, which used to be KDE only and is now both Qt and KDE.
The first thing I’ve done is to switch from *.po (gettext) to *.ts (qt), because Qt can not (or can it ?  tell me how !) handle gettext files. Then, I needed to use qApp->addTranslator() [...]

Filed under: KDE | Comments (11)

Fixing qmake missing rule for *.ts -> *.qm

March 10, 2009

We are used to polished and great tools from the trolls, but qmake has always been the big exception to this: ugly documentation, lot of undocumented tricks, and missing features.
For me the biggest one was that it would not automatically create the rule to transform *.ts to *.qm in the generated Makefile. I have been [...]

Filed under: Gentoo, KDE | Comments (8)

updating to KDE 4.2.1 : delete your plasma files (again)

March 6, 2009

Thanks to the great work of the gentoo KDE packaging team, I have been able to update to KDE 4.2.1 yesterday. And since then, a couple of processes  suck up all my CPUs.
The first one is a well-known issue : lancelot does that when used with Qt 4.5. Ok, this one was quick to remove.
The [...]

Filed under: Gentoo, KDE | Comments (14)

Support for ‘long double’ in Qt tests.

March 5, 2009

Qt supports most types for most compilers…… but long double.  I do not know why. When asking on #qt (IRC), people say that nobody seems to care. Well… I do. long double have some use in scientific software at least. If you ever need to use long double in QTest, you will need to add [...]

Filed under: Gentoo, KDE | Comments (1)

First release candidate for Opale

February 12, 2009

One of my pet projects (A simple bank account manager focused on graphs and planning) is about to reach 1.0. This first release candidate has been tested on several Linux systems and Windows. It can compile against KDE, but Qt is enough. (no, i have not yet tested with KDE/Windows…).
So far, the only big problem [...]

Filed under: Gentoo, KDE | Comments (0)

Mercurial bulk update

November 14, 2008

I don’t know about you, but I have on a lot of different places a directory called ‘hg’ with lot of different mercurial clones inside. Whether on the home of my several computers for my own projects, or inside other directories for external projects, and so on.
Now, remember one important aspect of distributed source control [...]

Filed under: Admin, Gentoo, KDE | Comments (6)