[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Bug with FindQt4?
From:       David Cole <david.cole () kitware ! com>
Date:       2012-05-29 18:54:58
Message-ID: CAAdwe9UijWiTJ9nbJfeRb01S+nprj7diHwOzDobGP-uarasSag () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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
>

[Attachment #5 (text/html)]

Hey Kurtis,<div><br></div><div>If you make a git commit that fixes the issue, and \
then create a patch file using:</div><div><br></div><div>  git format-patch \
-1</div><div><br></div><div>You can attach that patch to a bug report in our issue \
tracker, and I&#39;ll bring it to the attention of the devs who typically work on the \
Qt stuff.</div> <div><br></div><div>  <a \
href="http://public.kitware.com/Bug">http://public.kitware.com/Bug</a></div><div><br>< \
/div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div><br><div \
class="gmail_quote">On Sun, May 27, 2012 at 8:37 PM, Kurtis Nusbaum <span \
dir="ltr">&lt;<a href="mailto:klnusbaum@gmail.com" \
target="_blank">klnusbaum@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">I&#39;m deploying a Qt application which uses phonon on \
windows. For some reason, the DeployQt4.cmake module wasn&#39;t finding the \
phonon_ds9 backend plugin that is standard with windows installations of Qt4. More \
specifically (and was I&#39;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&#39;s line 1062 on cmake release \
2.8,8):<br>

<br>set( QT_PHONON_BACKEND_PLUGINS phonon_qt7 )<br><br>phonon_qt7 is the phonon \
backend used exclusively on mac. Sure enough, changing the line to<br><br>set( \
QT_PHONON_BACKEND_PLUGINS phonon_ds9 )<br><br>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&#39;m happy to create a patch myself if no one else wants \
to fix it).<span class="HOEnZb"><font color="#888888"><br clear="all">

<br>-- <br>Peace, Love, and Source Code<br>-Kurtis<br><br>
</font></span><br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a \
href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> <br>
Please keep messages on-topic and check the CMake FAQ at: <a \
href="http://www.cmake.org/Wiki/CMake_FAQ" \
target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br> <br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" \
target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>




--

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic