Hi everyone,

I have encountered something unexpected with qmake on Windows.
If DESTDIR contains either "release" or "debug", qmake will replace
it with the one matching the actual build configuration.

For instance if I have: "DESTDIR = foo/release/bar"
and I run: "qmake CONFIG+=debug"
the actual DESTDIR in the generated Makefile will be "foo/debug/bar".

As far as I know it looks like it is caused by:
qtbase/mkspecs/features/exclusive_builds_post.prf

Also it doesn't happen anymore if I do not do and "debug_and_release"
build on Windows
and it never happens on Linux (with or without "debug_and_release").

It looks like a bug to me. Is this behavior expected for some use cases?

Regards

Benjamin Terrier
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to