[Qt-interest] QMake...

BRM bm_witness at yahoo.com
Thu Mar 25 22:41:20 CET 2010


Just to follow up on the thread...

----- Original Message ----

> From: BRM <bm_witness at yahoo.com>
> Hm...yeah that's a rather nasty hack. I can avoid that one. I've been 
> trying to find the QMAKE variable for the target output - in my case, libraries 
> (mostly static, but some dynamic at some point too). Basically, on some 
> projects it's okay to do:
> QMAKE_CLEAN *= $$DESTDIR/*
> But on  others, there may be more than one project putting its file there, and I'd like 
> to limit it to just the files that project puts there - which could be a library 
> file and a PRL file. I'm aware of the TARGET variable, but it doesn't 
> give me what I want.

Where needed I decided on the following:

QMAKE_CLEAN *= $$DESTDIR/*$$TARGET*

it does what I want, but not sure if it's "The Right Way" to do it.

Any how...HTH some down the road too.

Ben




More information about the Qt-interest-old mailing list