Recently in Qt Category

I’m having a bit of fun with Qt and qmake these days. Although qmake is nicely knitted together with all the Qt tools and gets you up and running quickly, it leaves a bit to be desired. Or maybe it is just the documentation which is lacking up quite a deal.

Anyhow I just figured out how to do add a make target for all SUBDIRS in a project file:

check.target = check
check.CONFIG = recursive
QMAKE_EXTRA_TARGETS += check

This makes a ‘check’ target in the current directory, which will run ‘make check’ in all SUBDIRS defined.

Yes, I am looking at unit tests :), so I might write more on that subject when I figure out some more about qmake.

About this Archive

This page is a archive of recent entries in the Qt category.

Mozilla is the previous category.

XForms is the next category.

Find recent content on the main index or look in the archives to find all content.

Qt: Monthly Archives

Powered by Movable Type 4.1