I have a somewhat-beyond-simple project (.pro) file that will build my
application in the correct destination folder.
In Qt Creator (2.2.1), I have unchecked "shadow build", so it should use
the paths as specified by the .pro-file, no?
The build in Creator works fine, and the executable is placed in the
correct folder. However, Creator then attempts to run the executable
from a different folder. I can see in the "Run"-settigs that the
executable folder is incorrect, but I can't change it (grayed).
Anyway, I would prefer a solution where Creator gets the correct path
from the profile.
I traced the problem to the following lines in a .pri file I include in
the .pro file:
# Determine postfix for destination folder
contains(TEMPLATE, lib) {
TCLDESTEXTENSION=".sysgen"
} else {
contains(TEMPLATE, app)
{
TCLDESTEXTENSION=".utils"
} else {
TCLDESTEXTENSION=".unknown"
}
}
As I am building an "app", the correct desination folder gets postfixed
with ".utils".
However, Creator looks in ".unknown" instead.
Why would creator interpret the project files differently from qmake?
Kind regards
Robert Schimkowitsch
#####################################################################################
This message and any attachments are solely for the use of the intended
recipients. They may contain privileged and/or confidential information or
other information protected from disclosure. If you are not an intended
recipient, you are hereby notified that you received this email in error and
that any review, dissemination, distribution or copying of this email and any
attachment is strictly prohibited. If you have received this email in error,
please contact the sender and delete the message and any attachment from your
system.
Thank You.
#####################################################################################
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator