[Paraview] OSX 10.6, Qt 4.5

Michael Wild themiwi at gmail.com
Fri Oct 23 03:53:51 EDT 2009


Just noticed that the binary install of Qt-Cocoa-4.5.3 is buggy. It  
only contains a stub for QtDBus.framework. Reported the issue to Nokia  
and am building now Qt myself (what a pain!)

Michael

On 22. Oct, 2009, at 13:12 , Berk Geveci wrote:

> Btw, we may drop the support for Carbon once we fix all issues related
> to the Cocoa build. I don't see why we would support both.
>
> On Wed, Oct 21, 2009 at 3:44 PM, Michael Wild <themiwi at gmail.com>  
> wrote:
>> Hi all
>>
>> I managed to build ParaView CVS with the binary distribution of Qt  
>> 4.5.3
>> (Carbon version) on Mac OS X 10.6.1. Was rather tricky, however.  
>> Especially,
>> I had to manually fix up the cache (specifying the location of the  
>> QtUiTools
>> library etc.). Also I had to explicitly set CMAKE_C_FLAGS and
>> CMAKE_CXX_FLAGS to '-arch i386', because of a bug in CMake where a  
>> single
>> architecture in CMAKE_OSX_ARCHITECTURES doesn't get passed to the  
>> command
>> line if it is the "default" architecture (which i386 was up to 10.5).
>>
>> Further I had to make sure that add
>> /System/Library/Frameworks/Carbon.framework to the add_library call  
>> of
>> VTK/GUISupport/Qt/CMakeLists.txt and revert parts of the commit  
>> "Utkarsh:
>> Mon Sep 14 18:23:28 2009" with the message "COMP: Fixed build  
>> issues." by
>> re-introducing the Q_WS_MAC specific code in
>> Qt/Widgets/pqProgressBarHelper.cxx.
>>
>> I also had to completely revert the commit "COMP:  Support building  
>> with Qt
>> install from dmg on Mac." (remove the Mac-specific include for
>> QtUiTools/QUiLoader in Qt/Core/pqFormBuilder.h)
>>
>>
>> Michael
>>
>>> Thanks.  Just to add to the thread, fwiw, I ended up doing (after  
>>> re-
>>> installing mysql, sigh):
>>>
>>> (path-to)/qt-all-opensource-src-4.5.3$ ./configure -opensource - 
>>> cocoa -
>>> framework -arch   x86_64 -nomake examples -nomake demos -sdk /
>>> Developer/SDKs/MacOSX10.6.sdk/
>>>
>>> and it seemed to build fine (famous last words).
>>>
>>> -Randy
>>>
>>>
>>> On Oct 20, 2009, at 6:25 PM, Clinton Stimpson wrote:
>>>
>>>>
>>>> :)
>>>> A "configure -nomake examples -nomake demos" will cut off some  
>>>> time.
>>>> The examples can be compiled on demand if you wanted.
>>>>
>>>> Clint
>>>>
>>>> On Tuesday 20 October 2009 02:47:34 pm Berk Geveci wrote:
>>>>>
>>>>> I am too scared of Qt to change its build settings :-) Some  
>>>>> probably
>>>>> think the same about ParaView.
>>>>>
>>>>> On Tue, Oct 20, 2009 at 4:22 PM, Randy Heiland
>>>>> <heiland at indiana.edu> wrote:
>>>>>>
>>>>>> Thanks Berk, I'm going down that LONG path (building from source)
>>>>>> now...
>>>>>> if you're aware of certain Qt libs that *don't* need to be built
>>>>>> for PV3,
>>>>>> I'd welcome hearing about that too, just to possibly speed up  
>>>>>> this
>>>>>> process.
>>>>>>
>>>>>> On Oct 20, 2009, at 2:06 PM, Berk Geveci wrote:
>>>>>>>
>>>>>>> I am going to guess that something is screwed up with the Qt
>>>>>>> installation. I recommend building your own (I know it is not
>>>>>>> fun). I
>>>>>>> built pretty much every combination possible (32bit vs 64bit and
>>>>>>> Cocoa
>>>>>>> vs Carbon). I am currently using 64bit build with Cocoa. There  
>>>>>>> are
>>>>>>> some glitches that we will have to fix but nothing that stops me
>>>>>>> from
>>>>>>> working.
>>>>>>>
>>>>>>> On Tue, Oct 20, 2009 at 11:22 AM, Randy Heiland <heiland at indiana.edu
>>>>>>>>
>>>>>>>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Having just updated to Snow Leopard recently, am now trying to
>>>>>>>> re-build
>>>>>>>> PV3
>>>>>>>> (from CVS).
>>>>>>>>
>>>>>>>> Install Qt 4.5.3 (from qt-sdk-mac-opensource-2009.04.dmg)
>>>>>>>>
>>>>>>>> running cmake (2.8.0-rc3) on PV3, I have the following  
>>>>>>>> problems:
>>>>>>>> ...
>>>>>>>> -- Looking for Q_WS_MAC - not found.
>>>>>>>> -- Found Qt-Version 4.5.3 (using /usr/bin/qmake)
>>>>>>>> ...
>>>>>>>> Qt QTUITOOLS library not found.
>>>>>>>> CMake Error at Applications/Client/CMakeLists.txt:498 (FILE):
>>>>>>>> file GLOB requires a glob expression after the directory
>>>>>>>>
>>>>>>>>
>>>>>>>> Would welcome any insight.  Also, am curious if Snow Leopard
>>>>>>>> users try
>>>>>>>> to build using the default 64-bit or try to force 32-bit?
>>>>>>>> And what's the story with Cocoa support in ParaView - should I
>>>>>>>> be able
>>>>>>>> to install/use the Qt cocoa-4.6.0-beta1 OK?
>>>>>>>>
>>>>>>>> thanks, Randy
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>



More information about the ParaView mailing list