Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 378785

Summary: Qt designer doesn't find all the KDE widgets!
Product: Gentoo Linux Reporter: Giorgos Tsiapaliwkas <terietor>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: from the ebuilds
from the master
emerge --info
patch to unconditionally install the qt-designer widgets

Description Giorgos Tsiapaliwkas 2011-08-11 14:23:38 UTC
Hello,

I am using two variations of KDE in my system.
The one is coming from the ebuilds and the other is coming from the kdesrc-build script.
(If you don't know what is it look here,http://kdesrc-build.kde.org/).

I am using two KDE because i want a development enviroment which will not damage my system in case i screw up something.

The KDE upstream is using the kdelibs/kdewidgets directory in order to make embedded these widgets to Qt Designer.

Reproducible: Always

Steps to Reproduce:
1.designer
2.just enter something
3.look at the list at your left
Actual Results:  
first screenshot(named gentoo)

Expected Results:  
second screenshot (named master)
Comment 1 Giorgos Tsiapaliwkas 2011-08-11 14:24:12 UTC
Created attachment 282921 [details]
from the ebuilds
Comment 2 Giorgos Tsiapaliwkas 2011-08-11 14:24:41 UTC
Created attachment 282923 [details]
from the master
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-08-11 19:06:36 UTC
Which versions of qt-designer and kde, please? emerge --info please...
Comment 4 Giorgos Tsiapaliwkas 2011-08-12 20:22:21 UTC
Created attachment 283089 [details]
emerge --info

My KDE/Qt related information

$ kde4-config -v 
Qt: 4.7.3
KDE Development Platform: 4.7.00 (4.7.0)
kde4-config: 1.0


thanks
Comment 5 Giorgos Tsiapaliwkas 2011-09-01 04:34:33 UTC
Can you inform me please with the status of the current bug?
Comment 6 Giorgos Tsiapaliwkas 2011-09-14 15:06:11 UTC
I have found the solution for the current bug.

The CMakeLists.txt of kdelibs/kdewidgets in the 28 line checks for qt designer,so if you first install the designer and then kdelibs everything will be fine,but if you install first the kdelibs and then the designer then cmake will not find the designer and it will not create the required view column for the widgets.

The widgets are being created/installed in the system in both situation but the source code which creates their visual appearence it doesn't.

So should we have to add a "ewarning" in the ebuild?

thanks
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-09-23 19:14:02 UTC
(In reply to comment #6)
> I have found the solution for the current bug.
> 
> The CMakeLists.txt of kdelibs/kdewidgets in the 28 line checks for qt
> designer,so if you first install the designer and then kdelibs everything will
> be fine,but if you install first the kdelibs and then the designer then cmake
> will not find the designer and it will not create the required view column for
> the widgets.
> 
> The widgets are being created/installed in the system in both situation but the
> source code which creates their visual appearence it doesn't.

Thanks for digging into this... the problem is, noone with a pure gentoo install will ever hit it because qt designer is build together with qt-gui... I'll have a closer look.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-09-23 19:48:12 UTC
(In reply to comment #7)
> Thanks for digging into this... the problem is, noone with a pure gentoo
> install will ever hit it because qt designer is build together with qt-gui...

... and for the same reason I cannot really test it.

Could you please try the attached trivial kdelibs patch? I do not see anything in this codeblock that actually requires designer...
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-09-23 19:49:06 UTC
Created attachment 287549 [details, diff]
patch to unconditionally install the qt-designer widgets
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-10-21 21:26:32 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Thanks for digging into this... the problem is, noone with a pure gentoo
> > install will ever hit it because qt designer is build together with qt-gui...
> 
> ... and for the same reason I cannot really test it.
> 
> Could you please try the attached trivial kdelibs patch? I do not see anything
> in this codeblock that actually requires designer...

Ping?
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2011-10-30 16:06:16 UTC
Not really applicable to Gentoo.