[Qt-creator] Release build?

Leo Spalteholz leo.spalteholz at gmail.com
Mon Nov 10 19:25:15 CET 2008


On Mon, Nov 10, 2008 at 10:10 AM, Israel Brewster
<israel at frontierflying.com> wrote:
> 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?

This is a bug in QtCreator.  Go to Build & Run, release-> build steps,
then click on Make and replace the debug with release in Make
arguments.  This change doesn't survive a Creator restart though.

Leo



More information about the Qt-creator-old mailing list