[vtkusers] hide console for vtk-qt-applications in windows

Shekhar Chandra Shekhar.Chandra at sci.monash.edu.au
Mon Jan 7 16:25:30 EST 2008


Hi Manuel,

You will need to use qmake instead of cmake to toggle console I think. 
Look at the end of this tutorial <http://doc.trolltech.com/3.3/qmake-
manual-4.html>

In the CONFIG variable, u just set it to release and it hides the 
console. So it will look like
CONFIG += qt release
and to enable the console
CONFIG += qt console

Hope that helps.
Cheers
Shakes

----- Original Message -----
From: Manuel Feige <ManuelFeige at saxonia.net>
Date: Saturday, January 5, 2008 9:36 am
Subject: [vtkusers] hide console for vtk-qt-applications in windows
To: vtkusers at vtk.org

> hi, when I start the example qtevents.exe (demo for vtk+qt) in 
> windows, the
> console appears.  This is good for development, but finally I want 
> to hide
> this console. I've tried sth. like set(LINK_FLAGS "${LINK_FLAGS} -
> mconsole")in CMakeLists.txt - without any effects.
> Thank you for your advises.
> 



More information about the vtkusers mailing list