optimism_ said the following on 11.04.2008 15:36:
Hi,

I'm trying to use QCA, which uses the following code in its .prf file
to determine whether to link against a debug or release version of its
libraries:

LINKAGE = -lqca
CONFIG(debug, debug|release) {
        windows:LINKAGE = -lqcad
        mac:LINKAGE = -lqca_debug
}
LIBS += $$LINKAGE

When qmake is used to generate visual studio2005/8 project files, it
always links against qca, not qcad, regardless of which profile in the
project is being used (debug or release) or if CONFIG includes the
debug flag.

It looks like the CONFIG(debug, debug|release) scope is always
evaluating to false on windows.

Nah, this works fine. And AFAIK has not been broken.

--
.marius [EMAIL PROTECTED]
'if you know what you're doing, it's not research'

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to