[CMake] Problem with QtTest Bundle Utility Example?

Clinton Stimpson clinton at elemtech.com
Fri Mar 12 16:28:52 EST 2010


On Friday 12 March 2010 01:42:09 pm Clinton Stimpson wrote:
> The warnings come from the Qt plugins being compiled as shared libraries
> instead of modules.  As shared libraries, the first line refers to itself.

Let me clarify, the first line returned from otool is itself, which needs to be 
skipped by the get_prerequisites function.

Clint

> 
> So I think the fix is to modify GetPrerequisites.cmake's
> function(get_prerequisites ...)
> So if the first line returned from gp_tool matches the target, skip it.
> 
> That should fix the warnings and prevent the extra copies.
> 
> Clint
> 
> On Friday 12 March 2010 01:20:50 pm Bradley Lowekamp wrote:
> > Hello,
> >
> > I am trying run the QtTest-Package-Example from:
> >  http://www.vtk.org/Wiki/BundleUtilitiesExample and I am getting some
> >  errors on install.
> >
> > I am running CMake 2.8, with Qt 4.6.2 Cocoa universal, on OSX 10.6.2.
> >
> > During the fixup_bundle phase I am getting some error message and some
> >  undesired behavior. It appears the qt plugin libraries are problematic.
> >  Here is snipits of the output:
> >
> > - Install configuration: ""
> > -- Installing: ~/Downloads/QtTest/./install/./QtTest.app
> > -- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents
> > -- Installing:
> >  ~/Downloads/QtTest/./install/./QtTest.app/Contents/Info.plist --
> >  Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/MacOS --
> >  Installing:
> >  ~/Downloads/QtTest/./install/./QtTest.app/Contents/MacOS/QtTest --
> >  Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/Resources
> >  -- Installing:
> >  ~/Downloads/QtTest/./install/./QtTest.app/Contents/Resources/QtTest.icns
> >  -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s/libqgif.dylib -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s/libqico.dylib -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s/libqjpeg.dylib -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s/libqmng.dylib -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s/libqsvg.dylib -- Installing:
> > 
> > ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageforma
> >t s/libqtiff.dylib -- fixup_bundle
> > --   app='./install/QtTest.app'
> > --
> > 
> > libs='~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imag
> >e
> > formats/libqgif.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/Ma
> >cO
> > S/plugins/imageformats/libqico.dylib;~/Downloads/QtTest/./install/QtTest.
> >ap
> > p/Contents/MacOS/plugins/imageformats/libqjpeg.dylib;~/Downloads/QtTest/.
> >/i
> > nstall/QtTest.app/Contents/MacOS/plugins/imageformats/libqmng.dylib;~/Dow
> >nl
> > oads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libq
> >sv
> > g.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/im
> >ag eformats/libqtiff.dylib' --   dirs=''
> > -- fixup_bundle: preparing...
> 
> _______________________________________________
> 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 CMake FAQ at:
>  http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
> 


More information about the CMake mailing list