[cmake-developers] FindQt4 DBus framework problem on the Mac

Clinton Stimpson clinton at elemtech.com
Thu Sep 6 15:55:21 EDT 2012


On Thursday, September 06, 2012 03:17:33 PM David Cole wrote:
> I still get bit by issues with QtDBus when building VTK with Qt
> support on my Mac... It gets "found" as a .framework, but there's not
> actually a library inside the framework folder, so link errors occur.
> It would be fine if it simply didn't get found.
> 
> I waste some time every few months when I rebuild VTK again, encounter
> this problem, then figure out how to fix it manually one more time,
> and then forget about it again. This patch would allow me to NEVER
> HAVE THE PROBLEM AGAIN.
> 
> Would the attached patch be reasonable to put into FindQt4, or should
> we actually build similar functionality into the find_library code
> internal to CMake?
> 
> 
> Thanks,
> David

As far as I can tell, recent versions of Qt do not have this problem.
Except possibly if you configure with -prefix /path/to/qt/build to avoid a make 
install step.

The patch to FindQt4 is fine with me.

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com



More information about the cmake-developers mailing list