Qmake: Conditional "g++:" does not work
-
@ g++ {
FULLLIBNAME=$$join(TARGET,,,".a")
PRLNAME=$$join(TARGET,,,".prl")
}@does not work, whereas
@ linux-g++ {
FULLLIBNAME=$$join(TARGET,,,".a")
PRLNAME=$$join(TARGET,,,".prl")
}@does. Why? I would need the same behavior regardless of OS.
-
Hi,
AFAIK, g++ is not available on all OS but you can use *-g++
Why do you need the prl name ? These should be handled for you
-
Thanks! The '*' should come in handy.
Why I need the prl file? For my post-link copy command, which doesn't work anyway ;-)
-
You're welcome !
Check in the MakeFiles to see if you are not missing something like carriage return/line feed
-
As posted in the other thread, the makefile only moves the output file to the DESTDIR after my post_link copy command is executed. File not there yet, copy fails. But if I can rely on that, I can circumvent that with an ugly hack.