[I] dev-util/qt-creator Available versions: 1.2.1 (~)1.3.0 {bineditor bookmarks +cmake cvs debug +debugger +designer doc examples fakevim git kde linguas_de linguas_es linguas_fr linguas_it linguas_ja linguas_pl linguas_ru linguas_sl mercurial perforce qtscript subversion} Installed versions: 1.3.0(00:54:52 20.12.2009)(bineditor cmake debugger designer fakevim git kde linguas_ru perforce qtscript subversion -bookmarks -cvs -debug -doc -examples -linguas_de -linguas_es -linguas_fr -linguas_it -linguas_ja -linguas_pl -linguas_sl -mercurial) Homepage: http://labs.qtsoftware.com/page/Projects/Tools/QtCreator Description: Lightweight IDE for C++ development centering around Qt [I] kde-base/phonon-kde Available versions: (4.3) 4.3.3 (~)4.3.4{tbz2} (~)4.3.4{tbz2}[1] **4.3.9999!m!t[1] (4.4) [M](~)4.3.82!m[1] (live) [M]**9999!m!t[1] {alsa aqua debug kdeenablefinal (+)kdeprefix pulseaudio +xine} Installed versions: 4.3.4(4.3){tbz2}(22:16:34 10.12.2009)(pulseaudio xine -aqua -debug -kdeenablefinal -kdeprefix) Homepage: http://phonon.kde.org Description: Phonon KDE Integration [I] media-sound/phonon Available versions: 4.3.1 4.3.50_pre20090520 (~)4.3.80{tbz2} [M]**9999[1] {alsa debug gstreamer pulseaudio +xcb +xine} Installed versions: 4.3.80{tbz2}(22:16:21 10.12.2009)(alsa pulseaudio xcb xine -debug -gstreamer) Homepage: http://phonon.kde.org Description: KDE multimedia API [I] x11-libs/qt-phonon Available versions: (4) 4.5.3 (~)4.6.0 {dbus debug pch} Installed versions: 4.6.0(4)(00:13:03 20.12.2009)(dbus pch -debug) Homepage: http://qt.nokia.com/ Description: The Phonon module for the Qt toolkit qt-phonon was installed with FEATURES="-protect-owned". 1) Open qt-creator 2) Create qt-gui project, with phonon enabled. 3) click mainwindow.ui appeared qt-designer, there are no any phonon widget (for example Phonon/SeekSlider )
Last time I've checked media-sound/phonon and x11-libs/qt-phonon blocked each other. If you forced install of those, it's probably a bug of your own making.
(In reply to comment #1) > Last time I've checked media-sound/phonon and x11-libs/qt-phonon > blocked each other. If you forced install of those, > it's probably a bug of your own making. > I try in all variants, it doesn't work. I can revert in one minute to phonon+phonon-kde and it's doesn't change situation.
It's either one or the other. If you forced install of both, such failure was to be expected. After only one is installed, you'll still probably need to rebuild anything that linked with phonon.
(In reply to comment #3) > It's either one or the other. > If you forced install of both, such failure was to be expected. > After only one is installed, you'll still probably need to rebuild > anything that linked with phonon. > Hey! It was the last instance to install qt-phonon before posting the bug. (so, it doesn't work in _any_ variant) Did you try to open qt-creator (designer)?
I forgot - for completeness sake, attach qt-creator build.log.
Qt-creator should work with qt-phonon installed but I haven't tried that actually However, I am assigning this bug to us in case a Qt member can provide further info about this
Created attachment 213600 [details] qt-creator build log emerge -C qt-phonon && emerge phonon phonon-kde qt-creator + attached build log
I can say that AFAIK qt-creator uses the designer internally, so this isn't a dev-util/qt-creator bug. It should be responsibility of qt-phonon to install a designer plugin, just like qt-webkit installs a plugin for QWebView.
There's still one question: does it work with media-sound/phonon, cause otherwise many people will get a block.
(In reply to comment #9) > There's still one question: > does it work with media-sound/phonon > Currently it doesn't.
Created attachment 218559 [details, diff] qt-phonon-4.6.1-r1 patch for designer plugins I hit the same problem, so I modified my qt-phonon ebuild (I'm using qt 4.6.1) to install the designer plugins. Patch is attached.
Coy Barnes nice idea, thanks. But now i have the crash qtcreator: symbol lookup error: /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so: undefined symbol: _ZN6Phonon12PulseSupport11getInstanceEv I install it like `COLLISION_IGNORE="/usr/lib/pkgconfig/phonon.pc" emerge -O qt-phonon` How i can use qtcreator plugins with phonon-kde ?
We (the Qt team) know what the problem is and how to fix it, but the fix is only applicable to qt-phonon (for now). We hope we'll be able to fix it also for media-sound/phonon, but it'll probably require a major overhaul of all phonon ebuilds in the tree. Anyway we will consider fixing qt-phonon as a temporary solution for non-kde users.
qt-creator is only meant to work with qt-phonon. Hence this patch will be applied asap on qt-phonon but we wont bother ( at least I wont bother ) touching kde-phonon for now Fixed on qt-phonon-4.6.1-r2 Thanks for reporting this
Since qt-phonon now install widgets, media-sound/phonon should have the same behavior So I kindly ask kde herd to try and make media-sound/phonon more compatible with Qt apps that require those phonon widgets Thanks
i asked upstream, they said that kde phonon doesn't provide such widgets. A solution would be to introduce a minimal flag in qt-phonon and make media-sound/phonon depend on qt-phonon[minimal]. Any objections to that?
making media-sound/phonon depending on qt-phonon[minimal] implies that you have to fix all the deps in the tree imho you don't need to do that. qt-phonon widgets are meant only for development purposes so whoever wants to develop apps based on phonon API should use the Qt4 package. If you really want to combine media-sound/phonon + phonon-widgets I am afraid that you have to create a split ebuild for that.
(In reply to comment #16) > i asked upstream, they said that kde phonon doesn't provide such widgets. A > solution would be to introduce a minimal flag in qt-phonon and make > media-sound/phonon depend on qt-phonon[minimal]. Any objections to that? > Could you elaborate on that minimal USE flag? How would it resolve the issue?
no let's drop that scenario, a split ebuild qt-phonon-widgets would be better but on a second thought i don't think we should do it. upstream phonon knows the issue now, let them fix it. i'm resolving as fixed, since it is fixed for qt-phonon which was the real issue on this bug
Agreed.