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)

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)