[Qt-interest] qmake / MinGW and stale libraries
Konstantin Tokarev
annulen at yandex.ru
Wed Oct 5 10:43:38 CEST 2011
05.10.2011, 12:29, "Schimkowitsch Robert" <Robert.Schimkowitsch at andritz.com>:
> Hi,
>
> with qmake, I often have the problem of "stale libraries", libs that seemingly haven't been recompiled correctly despite changes to the code.
>
> I have the most serious problems in folders where I have two project essentially compiling the same code, one an app (for testing) , one a lib (for other projects to use).
>
> They use the same source files, plus the test app has a main.cpp, and sometimes a few extra classes.
>
> One thing I often see are leftover Makefiles that I have to delete manually before the resulting lib is any good.
>
> In many cases where I simply can't know anymore which of my libraries is stale, I do a complete clean (plus a manual delete of the Makefiles, plus a manual delete of the output binaries), then take a break as the whole bunch of libraries is re-compiled.
>
> I am already using
> CONFIG += create_prl
> and
> CONFIG += link_prl
>
> in all my libraries and applications, respectively.
>
> Are there any ways to further improve qmake's capabilities to detect when it should re-run?
>
> Or are we talking mingw limitation here as well?
Could you provide minimal example of qmake project exposing your troubles?
--
Regards,
Konstantin
More information about the Qt-interest-old
mailing list