paulo
2009-11-08 23:29:18 UTC
Hi all,
there's been a few threads about conditional release debug build problems.
I myself wrote one a while ago, but with no success.
Anyone can try something like this:
debug {
release {
error("release set with debug!")
}
TARGET = app.bin
} else {
TARGET = app.dbg
}
This is a bit annoying. Apparently due to a bit of mess in the loaded
config files, or some problem in qtcreator, both debug and release flags
are set at the same time...
Can anyone confirm this?
I'm not going to look into this right now, since debug is enough for me
now, but I'll look into it tomorrow.
If anyone finds a solution before me, please say so.
Thanks
Paulo
there's been a few threads about conditional release debug build problems.
I myself wrote one a while ago, but with no success.
Anyone can try something like this:
debug {
release {
error("release set with debug!")
}
TARGET = app.bin
} else {
TARGET = app.dbg
}
This is a bit annoying. Apparently due to a bit of mess in the loaded
config files, or some problem in qtcreator, both debug and release flags
are set at the same time...
Can anyone confirm this?
I'm not going to look into this right now, since debug is enough for me
now, but I'll look into it tomorrow.
If anyone finds a solution before me, please say so.
Thanks
Paulo