Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, March 2008
Compile qt : debug in shared and release in static


Message 1 in thread

Is it possible to have qt debug libraries shared and release libraries
static?

Basically I want to do my release builds in static (to avoid distributing
dlls) but static debug makes huge executables and very slow builds
(especially on a laptop), so I prefer to develop in shared.

Thanks!

Etienne

Message 2 in thread

On Tuesday 11 March 2008 11:00:17 Etienne Sandrà wrote:
> Is it possible to have qt debug libraries shared and release libraries
> static?
>
> Basically I want to do my release builds in static (to avoid distributing
> dlls) but static debug makes huge executables and very slow builds
> (especially on a laptop), so I prefer to develop in shared.
>
> Thanks!
>
> Etienne

yes it is. you need to use two different Qt builds anyway.
just configure one with static and one with debug.
then switch the qmake binary at demand.  (ie use the qmake binary from the 
static or debug build)

-- 
 [ signature omitted ]