[Qt-creator] Release build?
Israel Brewster
israel at frontierflying.com
Mon Nov 10 19:45:21 CET 2008
On Nov 10, 2008, at 9:28 AM, Daniel Teske 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?
>
> 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.
Oh, right, thanks. I was seeing the CONFIG+=debug_and_release under
the QMake step, thinking this was the problem, and completely missing
the make step. In retrospect, of course, that doesn't make sense, as
all that does is tell QMake to make both debug and release makefiles -
it doesn't tell make which one to use. Changing the make step worked.
Thanks again!
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
>
>
> daniel
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list