Hello,
when having a QT project and wishing that the debug version of the program has a different name than the release version the thing to do afaik is to add this lines into the .pro file of the project
debug {
TARGET = MyProgramD
}
release {
TARGET =MyProgram
}
This works very well compiling, but the VisualGDB parser seems to be unable to handle the conditionality of this construct. As a result it always takes the first TARGET definition and constructs its build variables – in the example above TARGET = MyProgramD, even in release mode. When it tries to transfer the target file to the linux system it stops with an error, since it can’t find the (non-existing) wrong binary.
Are there any workarounds?
thanks