Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174295 - KDE configuration says that you can build with qt4, which you can't!
Summary: KDE configuration says that you can build with qt4, which you can't!
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/kde-conf...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 16:16 UTC by Mark
Modified: 2007-04-12 19:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2007-04-12 16:16:06 UTC
Straight from the page:
If you're interested in installing KDE (or KDE support), you will have to make sure that your USE variable contains the kde flag, and either the qt3 or qt4 flag (or both). Qt is the graphical widget library that KDE uses, and qt3 is for version 3.x, while qt4 will build support for the newer Qt 4.x library. 

Unfortunately this isn't true, KDE4 isn't in portage, therefore qt3 is all that can be used for KDE3.

Reproducible: Always

Steps to Reproduce:
1. Read the documentation page.
2. Set "-qt3 qt4" in your make.conf
3. Attempt to emerge any kde package (eg kdelibs)

Actual Results:  
Fails to switch from qt3 -> qt4

Expected Results:  
Ability to use qt4 with KDE3

Remove the information saying you can install KDE with qt4 until KDE4 is added to portage.
Comment 1 nm (RETIRED) gentoo-dev 2007-04-12 16:28:15 UTC
Nowhere does it say that QT4 is the same thing as KDE4. You didn't read it carefully. Go ahead, really try emerging with either flag settings. qt3 or qt4 aren't needed to get a working kde; they're only used by a limited number of separate applications that can use either library. QT4 most definitely exists, even if KDE4 doesn't.

Still, per genstef's suggestion on IRC, I'll mention that neither flag is necessary to install KDE.

Marking as INVALID.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2007-04-12 16:31:16 UTC
It neither says that KDE4 is available nor that KDE3 can be built with qt4.

USE="-qt3 qt4" emerge -pq kde-meta|head
[ebuild  N    ] x11-libs/qt-3.3.8-r2  
[ebuild  N    ] x11-apps/xmessage-1.0.1  
[ebuild  NS   ] dev-libs/glib-1.2.10-r5  
[ebuild  N    ] dev-libs/cyrus-sasl-2.1.22-r2  
[ebuild  N    ] app-text/enscript-1.6.4-r2  
[ebuild  N    ] x11-apps/xsetroot-1.0.1  
[ebuild  N    ] dev-libs/libical-0.26.6  
...
 plenty more bloat
...
[ebuild  N    ] kde-base/kontact-specialdates-3.5.6 
[ebuild  N    ] kde-base/kdepim-meta-3.5.6
[ebuild  N    ] kde-base/kde-meta-3.5.6

Total: 249 packages (247 new, 2 in new slots), Size of downloads: 262,395 kB
Comment 3 Charlie Shepherd (RETIRED) gentoo-dev 2007-04-12 16:31:44 UTC
(In reply to comment #0)
> Unfortunately this isn't true, KDE4 isn't in portage,

It's in an overlay currently.

> therefore qt3 is all that
> can be used for KDE3.

You have no choice over this. Setting neither the qt3 nor the qt4 flags affect KDE, it hard deps on Qt3.

> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Read the documentation page.
> 2. Set "-qt3 qt4" in your make.conf

Technically neither of these needs to be set, KDE will still use Qt3.

> 3. Attempt to emerge any kde package (eg kdelibs)
> 
> Actual Results:  
> Fails to switch from qt3 -> qt4

Now there's a surprise.

> Expected Results:  
> Ability to use qt4 with KDE3

Why? You *know* KDE3 uses Qt3. You *can't* choose which Qt KDE uses, it just doesn't work that way.

> Remove the information saying you can install KDE with qt4 until KDE4 is added
> to portage.

The guide doesn't say that. You *need* Qt3 to use KDE3. It's that simple.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-04-12 16:33:16 UTC
[ebuild  N    ] kde-base/kdelibs-3.5.6-r5  USE="alsa avahi cups fam spell ssl tiff -acl -arts -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter -xinerama -zeroconf" LINGUAS="-he" 15,170 kB

No where do I see qt3 or qt4 as being possible USE flags for this pkg...
Comment 5 Mark 2007-04-12 16:59:00 UTC
Man, I didn't expect people to jump down my throat for this. How about we say, "it is misleading to have it mention qt3/qt4 when they do not affect KDE's selection in anyway".
Comment 6 Xavier Neys (RETIRED) gentoo-dev 2007-04-12 19:08:03 UTC
(In reply to comment #5)
> How about we say,
> "it is misleading to have it mention qt3/qt4 when they do not affect KDE's
> selection in anyway".

That's how you should have reported it and it's how it was fixed a couple of hours ago.
Thanks.