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

David Cole david.cole at kitware.com
Thu Sep 6 16:19:14 EDT 2012


I am using a Qt 4.8.0 build, and I am seeing this problem in the Qt
install tree.

What's "recent" in your book? (If I upgrade to 4.8.2 will the problem
also "just go away"...?)


On Thu, Sep 6, 2012 at 3:55 PM, Clinton Stimpson <clinton at elemtech.com> wrote:
> 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