[CMake] Bug with FindQt4?

Kurtis Nusbaum klnusbaum at gmail.com
Tue May 29 16:02:18 EDT 2012


Sounds good. I submitted the bug report with patch here.
http://public.kitware.com/Bug/view.php?id=13254

On Tue, May 29, 2012 at 1:54 PM, David Cole <david.cole at kitware.com> wrote:

> Hey Kurtis,
>
> If you make a git commit that fixes the issue, and then create a patch
> file using:
>
>   git format-patch -1
>
> You can attach that patch to a bug report in our issue tracker, and I'll
> bring it to the attention of the devs who typically work on the Qt stuff.
>
>   http://public.kitware.com/Bug
>
>
> Thanks,
> David
>
>
> On Sun, May 27, 2012 at 8:37 PM, Kurtis Nusbaum <klnusbaum at gmail.com>wrote:
>
>> I'm deploying a Qt application which uses phonon on windows. For some
>> reason, the DeployQt4.cmake module wasn't finding the phonon_ds9 backend
>> plugin that is standard with windows installations of Qt4. More
>> specifically (and was I'm almost positive this was what was tripping up
>> DeployQt4), the QT_PHONON_DS9_PLUGIN_RELEASE variable was not set. I went
>> and looked at the FindQt4.cmake file and found this line (it's line 1062 on
>> cmake release 2.8,8):
>>
>> set( QT_PHONON_BACKEND_PLUGINS phonon_qt7 )
>>
>> phonon_qt7 is the phonon backend used exclusively on mac. Sure enough,
>> changing the line to
>>
>> set( QT_PHONON_BACKEND_PLUGINS phonon_ds9 )
>>
>> resulted in the variable QT_PHONON_DS9_PLUGIN_RELEASE and
>> QT_PHONON_DS9_PLUGIN_DEBUG being set to the correct libraries and DeployQt4
>> module finding the phonon_ds9 plugin and successfully bundling it with my
>> application. Is this a bug with FindQt4? If so, how can I go about getting
>> it fixed (I'm happy to create a patch myself if no one else wants to fix
>> it).
>>
>> --
>> Peace, Love, and Source Code
>> -Kurtis
>>
>>
>> --
>>
>> 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
>>
>
>


-- 
Peace, Love, and Source Code
-Kurtis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120529/41ce2394/attachment-0001.htm>


More information about the CMake mailing list