[vtkusers] QT + VKT + ITK + VS2008
Michael Jackson
mike.jackson at bluequartz.net
Wed Apr 27 07:42:01 EDT 2011
In your add_executable call in your cmakelists.txt file you need to to
set the GUI type to win32. Look at the documentation for cmake to get
an idea of what you should write.
Mike Jackson
Www.bluequartz.net
On Wednesday, April 27, 2011, G G <greenlander1986 at gmail.com> wrote:
> I have tried it, but I ran console window again :(
>
> 2011/4/27 G G <greenlander1986 at gmail.com>
>
> Thank you very much, I will try it :)
> Do you know some article about it? I wrote some thesis and it would be nice, if I have some reference for it...
>
> 2011/4/27 Lodron, Gerald <Gerald.Lodron at joanneum.at>
>
>
>
>
>
>
> Qt runs only in console mode, if you want to hide console
> you can write a bat file which starts the exe like this:
>
> start MyPropgram.exe
>
> Then the program does not wait for the return value of the
> MyProgram.exe console
> best regards
>
>
> Von: vtkusers-bounces at vtk.org
> [mailto:vtkusers-bounces at vtk.org] Im Auftrag von G G
> Gesendet:
> Mittwoch, 27. April 2011 12:57
> An: vtkusers at vtk.org
> Betreff:
> [vtkusers] QT + VKT + ITK + VS2008
>
>
> Hi I have some project with QT+VTK+ITK and I compile it in Visual
> Studio 2008. I create solution with CMake. It works fine. But I compile it and
> run. When I run it, I have GUI window and console window. So I have question.
> How to disable console window?
>
> I think, that it is because of CMake, but
> I dont know very well.
> I tried to used this
> http://www.qtforum.org/article/18473/tutorial-for-using-qt-with-vtk.html
> But
> when I tried to compile it, it gave me many errors...
> Do you know some
> complete progress, how to compile it?
> Or how to disable console
> window?
>
> I dont have console window because of it get me qWarning
>
>
> QObject::killTimers: timers cannot be stopped from another
> thread
>
> when I exit application from console window.
> When I exit
> application from GUI console window freeze :(
>
> Thank you all for
> help
>
>
>
>
--
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
More information about the vtkusers
mailing list