Hi Juliane, it seems that the Qt3 Support layer is somehow deactivated in your checkout. Please do the following: - open trunk/mitk/CMakeLists.txt - got to line 150 - you should find "SET(QT_USE_QT3SUPPORT 1)"- if not, add it there
I hope that this will solve the problem. Regards, Michael -----Ursprüngliche Nachricht----- Von: do...@mi.fu-berlin.de [mailto:do...@mi.fu-berlin.de] Gesendet: Donnerstag, 5. Februar 2009 11:39 An: mitk-users@lists.sourceforge.net Betreff: [mitk-users] Errors building svn with qt4 Hello, Using mitk-0.10.0 and qt4 went fine. Now I would like to use the svn version. I configured qt4 in the cmakelist.txt, before starting cmake. Vtk and Itk are still the same. I got the follwing error messages: Error building Qmitk : 1>------ Build started: Project: Qmitk, Configuration: Debug Win32 ------ 1>Compiling... 1>moc_QmitkToolWorkingDataSelectionBox.cxx 1>c:\qt\4.4.3\include\qt3support\../../src/qt3support/itemviews/q3listview.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ... 1>c:\insighttoolkit-3.8.0\source\code\common\itkExceptionObject.h(169) : fatal error C1903: unable to recover from previous error(s); stopping compilation 1>QmitkMaterialEditor.cpp 1>..\..\_svn-mitk\Q4mitk\QmitkMaterialEditor.cpp(117) : error C2039: 'minValue' : is not a member of 'QSlider' 1> c:\qt\4.4.3\include\qtgui\../../src/gui/widgets/qslider.h(53) : see declaration of 'QSlider' ... 1> c:\qt\4.4.3\include\qtgui\../../src/gui/widgets/qslider.h(53) : see declaration of 'QSlider' 1>..\..\_svn-mitk\Q4mitk\QmitkPropertyObservers\QmitkNumberPropertySlider.cpp(160) : error C2039: 'minValue' : is not a member of 'QSlider' ... 1> c:\qt\4.4.3\include\qtcore\../../src/corelib/tools/qstring.h(87) : see declaration of 'QString' 1>Generating Code... 1>Build log was saved at "file://c:\mitk-0.10.0\_svn-mitkBinary\Q4mitk\Qmitk.dir\Debug\BuildLog.htm" 1>Qmitk - 104 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Error building Step1: 1>LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\Qmitk.lib' Anyone an idea? Thanks, Juliane ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users