Opened 16 years ago
Last modified 15 years ago
#19217 closed defect
All KDE4 ports needs to be built against qt4-kde not qt4-mac — at Initial Version
Reported by: | cjones051073 (Chris Jones) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | phonon |
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.