Hi,

the repository is right and you dont need openCherry for integrating Qt4. It is 
our new platform based on Qt4 on which we are currently working. I am sorry, I 
missed the fact that you don't want to use openCherry.
You can find out if the Qt-Support flag is set by investigate the project 
settings in Visual Studio:
Right click on MainApp project -> Properties -> Configuration Properties -> 
C/C++ -> Preprocessor -> Preprocessor Definitions. 
Search for "QT3_SUPPORT". If you can`t find it, add it there and have a try if 
it works then. Maybe it`s getting lost somehow during Cmake-configuration but I 
can`t figure out how this could happen.
Let me know if you got it working. If not, please send us the whole compiler 
output in your response.

Greets,
Michael


-----Ursprüngliche Nachricht-----
Von: do...@mi.fu-berlin.de [mailto:do...@mi.fu-berlin.de] 
Gesendet: Donnerstag, 5. Februar 2009 17:10
An: mitk-users@lists.sourceforge.net
Betreff: Re: [mitk-users] Errors building svn with qt4

Hi Michael!
Thanks for the quick response.

I used the svn location: http://svn.mitk.org/trunk/mitk, which should  
be the head repository?

Do I need openCherry and for what do I need it? It´s turned off in my  
project and in the stabile version it wasn´t necessary.

In CMake the variable "QT_QTSUPPORT_INCLUDE_DIR  
C:/qt/4.4.3/include/Qt3Support" is set and "SET(QT_USE_QT3SUPPORT 1)"  
stands in CMakeLists.txt. Can I elsewhere check out wheter the  
variable is set or not?

Thanks again,
Juliane

Quoting Müller Michael <michael.muel...@dkfz-heidelberg.de>:

> Hi again Juliane,
>
> I encountered the error you reported as I tried to use the   
> QT-Support classes (like Q3ListView) but forgot to set the   
> QT3-Support flag. So this was my first suspicion.
> However, i did a complete checkout of the current source available   
> through the public MITK repository. After setting up my openCherry   
> Environment, everything compiled fine and runs. Please ensure that   
> you really use the HEAD revision and then try again.
>
> Greets,
> Michael
>
>
> -----Ursprüngliche Nachricht-----
> Von: do...@mi.fu-berlin.de [mailto:do...@mi.fu-berlin.de]
> Gesendet: Donnerstag, 5. Februar 2009 13:44
> An: mitk-users@lists.sourceforge.net
> Betreff: Re: [mitk-users] Errors building svn with qt4
>
> Hi Michael,
>
> the line is and was activated, so this will not solve the problem.
>
> But thanks anyway,
> Juliane
>
> Quoting Müller Michael <michael.muel...@dkfz-heidelberg.de>:
>
>> 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
>>
>
>
>
> ----------------------------------------------------------------
> 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
>



----------------------------------------------------------------
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

Reply via email to