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

David Cole david.cole at kitware.com
Thu Sep 6 16:37:03 EDT 2012


OK -- I'm gonna push my change and merge it to 'next' then. Plenty of
folks are still using various builds of Qt 4.6, 4.7 and 4.8 trees.


On Thu, Sep 6, 2012 at 4:29 PM, Clinton Stimpson <clinton at elemtech.com> wrote:
>
> I remember it being a problem in 4.6.0, 4.6.1 and then it was fixed in 4.6.2.
>
> I meant recent by looking at my 4.8.2 build I made a few weeks back and seeing
> that it doesn't have the empty framework.  However, it is there in the build
> tree.  So maybe they regressed again in 4.8.0 and fixed it.
>
> For Qt 5.0, I noticed they avoid making the empty framework in the build tree.
> https://bugreports.qt-project.org/browse/QTBUG-25522
>
> Clint
>
> On Thursday, September 06, 2012 04:19:14 PM David Cole wrote:
>> 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
> --
> Clinton Stimpson
> Elemental Technologies, Inc
> Computational Simulation Software, LLC
> www.csimsoft.com



More information about the cmake-developers mailing list