[MacPorts] #19217: All KDE4 ports needs to be built against qt4-kde not qt4-mac

MacPorts noreply at macports.org
Tue Apr 21 11:40:47 PDT 2009


#19217: All KDE4 ports needs to be built against qt4-kde not qt4-mac
--------------------------------------+-------------------------------------
 Reporter:  jonesc@…                  |       Owner:  illogic-al@…           
     Type:  defect                    |      Status:  new                    
 Priority:  Normal                    |   Milestone:  Port Bugs              
Component:  ports                     |     Version:  1.7.1                  
 Keywords:                            |        Port:  phonon                 
--------------------------------------+-------------------------------------
Description changed by macsforever2000@…:

Old description:

> Hi,
>
> If I understand things, a new QT4 package has been introduced, qt4-kde,
> to provide a version compatible with the KDE4 packages. However, it seems
> that some KDE4 packages have been updated to use qt4-kde, but others
> still use qt4-mac, which means overall KDE4 depends on both e.g. kdelibs4
> depends on phonon ad qt4-kde, whilst phonon itself uses qt4-mac....
>
> This cause various (probably all) KDE applications to fail to start with
> messages like
>
> Chris-Jones-Macbook-Pro ~ > kate
> objc[639]: Class QMacSoundDelegate is implemented in both
> /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
> implementation from
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
> objc[639]: Class QNSMenu is implemented in both
> /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
> implementation from
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
> objc[639]: Class QNSStatusItem is implemented in both
> /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
> implementation from
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
> objc[639]: Class QNSImageView is implemented in both
> /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
> implementation from
> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
> QObject::moveToThread: Current thread (0x375b420) is not the object's
> thread (0x370a4b0).
> Cannot move to target thread (0x370a4b0)
>
> On Mac OS X, you might be loading two sets of Qt binaries into the same
> process. Check that all plugins are compiled against the right Qt
> binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of
> binaries are being loaded.
> QObject::moveToThread: Current thread (0x375b420) is not the object's
> thread (0x370a4b0).
> Cannot move to target thread (0x370a4b0)
>
> Note this issue affects more KDE4 ports than just phonon, but until I get
> some feedback I won't submit any additional tickets for the other ports.

New description:

 Hi,

 If I understand things, a new QT4 package has been introduced, qt4-kde, to
 provide a version compatible with the KDE4 packages. However, it seems
 that some KDE4 packages have been updated to use qt4-kde, but others still
 use qt4-mac, which means overall KDE4 depends on both e.g. kdelibs4
 depends on phonon ad qt4-kde, whilst phonon itself uses qt4-mac....

 This cause various (probably all) KDE applications to fail to start with
 messages like

 {{{
 Chris-Jones-Macbook-Pro ~ > kate
 objc[639]: Class QMacSoundDelegate is implemented in both
 /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
 implementation from
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
 objc[639]: Class QNSMenu is implemented in both
 /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
 implementation from
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
 objc[639]: Class QNSStatusItem is implemented in both
 /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
 implementation from
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
 objc[639]: Class QNSImageView is implemented in both
 /opt/local/libexec/qt4-kde/lib/QtGui.framework/Versions/4/QtGui and
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. Using
 implementation from
 /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui.
 QObject::moveToThread: Current thread (0x375b420) is not the object's
 thread (0x370a4b0).
 Cannot move to target thread (0x370a4b0)
 }}}

 On Mac OS X, you might be loading two sets of Qt binaries into the same
 process. Check that all plugins are compiled against the right Qt
 binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of
 binaries are being loaded.
 {{{
 QObject::moveToThread: Current thread (0x375b420) is not the object's
 thread (0x370a4b0).
 Cannot move to target thread (0x370a4b0)
 }}}

 Note this issue affects more KDE4 ports than just phonon, but until I get
 some feedback I won't submit any additional tickets for the other ports.

--

-- 
Ticket URL: <http://trac.macports.org/ticket/19217#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list