MantisBT - VTK
View Issue Details
0007720VTK(No Category)public2008-09-23 00:292016-08-12 09:55
Elvis John Dowson 
Kitware Robot 
normalblockalways
closedmoved 
 
 
0007720: Problem compiling libQVTK.dylib with vtk-5.2.0 and qt-4.4.1
Hi,
       As of qt-4.4.0, qt supports the cocoa frameworks on Mac OS X 10.5. I just compiled the open source version of qt-4.4.1 and it compiled successfully with the cocoa frameworks.

I tried to compile vtk-5.2.0 using the cocoa framework and turned on GUI_SUPPORT and QVTK, but I get the following error
Linking CXX shared library ../bin/libvtkViewsTCL.dylib
[ 73%] Built target vtkViewsTCL
Linking CXX shared library ../../bin/libQVTK.dylib
Undefined symbols:
  "vtkCarbonRenderWindow::UpdateGLRegion()", referenced from:
      QVTKWidget::DirtyRegionProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) in QVTKWidget.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [bin/libQVTK.5.2.0.dylib] Error 1
make[1]: *** [GUISupport/Qt/CMakeFiles/QVTK.dir/all] Error 2
make: *** [all] Error 2

I am trying to build a qt and vtk app using cocoa frameworks. I have not used carbon frameworks before and I have spent some time learning the cocoa frameworks and Xcode 3.1.

Best regards,

Elvis Dowson

There is an identical bug reported earlier (ID:0007484). The notes on that bug said that this issue will be looked into when qt-4 supports cocoa.
No tags attached.
Issue History
2008-09-23 00:29Elvis John DowsonNew Issue
2008-09-29 10:03Mike JacksonNote Added: 0013613
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037019
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0013613)
Mike Jackson   
2008-09-29 10:03   
As discussed on the Mailing List, Qt 4.4 does NOT support Cocoa. Qt 4.5 DOES support Cocoa.
(0037019)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.