Thomas Capricelli archive
Tag: qmake
January 10, 2010
Playing with clang and Qt
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 […]
November 22, 2009
How to use flex and bison with qmake (my own way)
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 […]
March 10, 2009
Fixing qmake missing rule for *.ts -> *.qm
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 […]