Re: [CMake] Testing Qt 5 RC 1 CMake files

2013-03-19 Thread lonka
Hi Stephen, I have tried to build vtk from master (applying your patch) with qt5 but I can not succeed. What I get is: In file included from /home/rlonka/Qt5.0.1/5.0.1/gcc_64/include/QtCore/qobject.h:55:0, from /home/rlonka/Qt5.0.1/5.0.1/gcc_64/include/QtWidgets/qwidget.h:46,

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-19 Thread Stephen Kelly
Stephen Kelly wrote: Note that an RC1 was released in the mean-time: http://qt-project.org/downloads That does not change anything with regard to the CMake files however. Qt 5.0 final has now been released :). http://blog.qt.digia.com/blog/2012/12/19/qt-5-0/ It also does not change

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-12 Thread Stephen Kelly
Clinton Stimpson wrote: I took a peek at building it earlier with Qt5. Great, thanks for that. I started making changes and one of the more surprising ones was that #include QtGui/QWidget pulled in my Qt4 QWidget from /usr/include/QtGui/QWidget. Instead of Qt5's QtWidgets/QWidget.

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-12 Thread John Drescher
I didn't try running any examples, but I also ported it to Qt 5. My patch for that is attached. John, the patch for older VTK versions should be similar if you wish to try it. I will see what I can do this weekend. Thanks, John -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-12 Thread David Cole
Doesn't seem like return false; is quite the right implementation for vtkQtView::SaveImage... ;-) On Wed, Dec 12, 2012 at 12:41 PM, John Drescher dresche...@gmail.comwrote: I didn't try running any examples, but I also ported it to Qt 5. My patch for that is attached. John, the patch for

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-12 Thread Stephen Kelly
David Cole wrote: Doesn't seem like return false; is quite the right implementation for vtkQtView::SaveImage... ;-) I can't get anything past you :). Though in my defense the commit message only says it builds :). I found another issue with a QtNetwork include, so an updated version is

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread Stephen Kelly
John Drescher wrote: I emailed before about reviewing Config files that are being shipped with Qt 5 and got great feedback: http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7165/focus=41551 Now that Qt 5 beta 2 is out, I'd like to ask for feedback again on anything that can still

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread John Drescher
On Tue, Dec 11, 2012 at 12:02 PM, Stephen Kelly steve...@gmail.com wrote: John Drescher wrote: I emailed before about reviewing Config files that are being shipped with Qt 5 and got great feedback: http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7165/focus=41551 Now that Qt 5

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread Stephen Kelly
John Drescher wrote: I had some trouble building a x64 version of Qt 5.0 beta2 but then after getting past that I found out that vtk-5.10.X would not work with Qt5 so it pretty much ended what I wanted to test since pretty much all of my current code uses vtk. I see. I just tried building

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread David Cole
In VTK 'master' -- if you turn on the VTK_Group_Qt CMake option, either in the gui, or by -D on the command line, then all the Qt-related modules will be enabled. In VTK 5.10, there were some other configure time options (I'd have to go look them up or try it out) to control building the

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread John Drescher
In VTK 5.10, there were some other configure time options (I'd have to go look them up or try it out) to control building the Qt-related bits... In vtk-5.X you needed to enable VTK_USE_GUISUPPORT then that gave you the ability to enable VTK_USE_QT John -- Powered by www.kitware.com Visit

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread Clinton Stimpson
I took a peek at building it earlier with Qt5. I started making changes and one of the more surprising ones was that #include QtGui/QWidget pulled in my Qt4 QWidget from /usr/include/QtGui/QWidget. Instead of Qt5's QtWidgets/QWidget. That led to confusing linker errors. I got as far as trying

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread David Cole
Question for the VTK list On Tue, Dec 11, 2012 at 5:34 PM, Clinton Stimpson clin...@elemtech.comwrote: I took a peek at building it earlier with Qt5. I started making changes and one of the more surprising ones was that #include QtGui/QWidget pulled in my Qt4 QWidget from