[Qt-creator] Release build?
Daniel Teske
daniel.teske at nokia.com
Mon Nov 10 19:28:24 CET 2008
> Maybe I'm just missing something here, but it looks like even on the
> "release" build setting, QTCreator tries to build a debug release,
> specifically linking against the debug Qt libraries. When I look at
> the "Build Steps" section of the release build settings, I notice the
> following line: CONFIG+=debug_and_release, which I can't seem to
> change. Additionally, when I tried building my application using a
> copy of Qt 4.4.3 that I had built (mistakenly, but whatever) with the -
> release flag, I got a linker error complaining that the QtSql_debug
> library could not be found (obviously, since I forgot to build it). Is
> there some way to convince QTCreator to do a "pure" release build?
Yes, due to a bug, both the debug and release build configuration build the
debug target. You can change the target in the Build Steps section under the
make step. Just enter "release" instead of "debug" for the release build
configuration.
daniel
More information about the Qt-creator-old
mailing list