would like to install KDE 4.6.0

Hi - I’d like to do some development on KDE. Downloaded whatever the ‘default’ version of KDE is. That is,

svn up kdelibs kdepimlibs kdebase

I find upon trying to build that kde wants Qt 4.6.0 and the Qt that came bundled with the openSUSE 11.2 that I have installed is 4.5.3.

A) Can stock 11.2 openSUSE be upgraded to Qt 4.6.0
and
B) if so, how?

thanx - pat

the subject line should read:

would like to install Qt 4.6.0

Don’t you mean you have kde4.4.3 not 4.5.3?

The factory repos that provide kde4.4.3 supply qt4.6

Open a terminal and do this

rpm --query --all '*libqt4*'

report the output here

linux-xwu5:/home/kde-devel/kde/sources/trunk/KDE # rpm --query --all ‘libqt4
libqt4-4.5.3-2.4.2.x86_64
libqt4-sql-4.5.3-2.4.2.x86_64
libqt4-sql-sqlite-4.5.3-2.4.2.x86_64
libqt4-x11-4.5.3-2.4.2.x86_64
libqt4-qt3support-4.5.3-2.4.2.x86_64
libqt4-devel-4.5.3-2.4.2.x86_64
linux-xwu5:/home/kde-devel/kde/sources/trunk/KDE #

kde-devel@linux-xwu5:~/kde/build/trunk/KDE/kdelibs> cmakekde
cmake /home/kde-devel/kde/sources/trunk/KDE/kdelibs -DCMAKE_INSTALL_PREFIX=/space/kde/installs/trunk -DCMAKE_BUILD_TYPE=debugfull -DLIB_SUFFIX=64
CMake Error at cmake/modules/FindQt4.cmake:1240 (MESSAGE):
The installed Qt version 4.5.3 is too old, at least version 4.6.0 is
required
Call Stack (most recent call first):
cmake/modules/FindKDE4Internal.cmake:399 (find_package)
CMakeLists.txt:38 (find_package)

– Configuring incomplete, errors occurred!
kde-devel@linux-xwu5:~/kde/build/trunk/KDE/kdelibs>

Please post result of

zypper lr -d

If you have the factory repo added already, have you done this:
ImageBam - Fast, Free Image Hosting and Photo Sharing

This is the factory repo to add

zypper ar -f http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2/ kde4 factory

STOP
You are are going about this the wrong way, see my post above

the cmakekde is not what I’m doing now.

It’s what I did earlier and what first informed me that I had Qt 4.5.3.

I added it here by way of, um, shall we say emphasizing my point.

I’ll retrace now and do that command you asked to do.

kde-devel@linux-xwu5:~> zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±------------------------------------±----------------------------±--------±--------±---------±-------±-------------------------------------------------------------------±-------
1 | Qt4.6.0 | Qt4.6.0 | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/Qt46/openSUSE_11.2 |
2 | http-download.opensuse.org-eb93758b | Updates for openSUSE 11.2-0 | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |
3 | openSUSE 11.2-0 | openSUSE 11.2-0 | Yes | No | 99 | yast2 | cd:/// |
4 | repo-debug | openSUSE-11.2-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.2/repo/oss |
5 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
6 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
7 | repo-source | openSUSE-11.2-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.2/repo/oss |
kde-devel@linux-xwu5:~>

As you can see, I added a repo that I thought would update to Qt 4.6 but I’m guessing it’s the wrong location. So I’ll look again at your message and try that one.

You do NOT need that repo
remove it - like this in a su terminal

zypper rr 1

Follow the ar (add repo) I gave here:
would like to install KDE 4.6.0 - openSUSE Forums

Then do this
ImageBam - Fast, Free Image Hosting and Photo Sharing

Yast2 is updating now from repo kde4factory. Lots of packages.

Indeed, lots.
Logout and back in when it’s done. Or reboot.
Then check

rpm --query --all '*libqt4*'
kde4-config -v

If you want lots of extras add the community repo

zypper ar -f http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE4_Factory_Desktop/ kde4 community

Browse it via Yast - Software Management
Filter view by Repository
see kde4 community

I seem to have 4.6.2

ME@linux-xwu5:~> rpm -q -a ‘libqt4*’
libqt4-qt3support-4.6.2-114.4.x86_64
libqt4-devel-4.6.2-114.4.x86_64
libqt4-sql-4.6.2-114.4.x86_64
libqt4-sql-mysql-4.6.2-116.1.x86_64
libqt4-4.6.2-114.4.x86_64
libqt4-sql-sqlite-4.6.2-114.4.x86_64
libqt4-x11-4.6.2-114.4.x86_64
ME@linux-xwu5:~> kde4-config -v
Qt: 4.6.2
KDE Development Platform: 4.4.3 (KDE 4.4.3)
kde4-config: 1.0
ME@linux-xwu5:~>

But I’m somewhat confused. I was initially unable to boot back into Desktop. At a point the screen went completely dark - and then, well, nothing.

Tried this a couple of times.

Hey what’s this thing ‘Failsafe’? Tried that - and I can login.

Does Qt 4.6 give one a black toolbar at the bottom. I think the previous one was green.

This is all running, actually, inside 64 bit VirtualBox on top of Windows 7. Perhaps unsurprisingly, the VirtualBox Guest Additions (which allow things such as copy-and-paste between the host and guest) no longer work (I can try reinstalling).

So how do I tell what the black toolbar means? And is there some command one can run, when booted up into Failsafe, what will indicate that, yes, I am indeed in Failsafe.

Other than that, things are great.

Make sure you have auto login disabled
Disable Auto-Login - openSUSE Forums

reboot

Then at the login, do a console login
http://public.bay.livefilestore.com/y1pV185_4E2jZVxGkJueq3hPZ3rzDcOKJbaJd476ZyOVB6O14ih3lTvdDzVqt50pHr-y_9N3i4FKLi5FT0NDx48RA/console.login.png

Login with your username and password at the CLI

Now do this

mv .kde4 .kde4-old

now type: startx

Hmm. I turned auto-login off.

However, when I try to select Console login (whether with the menu item or Alt-N) the screen becomes unresponsive (freezes).

The only thing I’ve figured out so far to do in this case is reboot.

Of course since my openSUSE installation is in a virtual machine, I can simply wipe it out and start over. That’s part of the point of the exercise.

Please try booting to level 3

http://public.bay.livefilestore.com/y1pgJecVBArpE4jZP3eZyRfyEGEHfMjK_dzi4VNX5-x14FiDAWkQXTe_RNnDcaVB5ly08RnrDujs9kCg_2o_In0IA/2%20Edit%20the%20Boot%20line.png

and login there and do as I suggested

Fine.
In my experience openSUSE doesn’t play that nicely in Virtual Box compared to some other distros. I have to be honest don’t I.

Can’t you grab some space and install in a real partition? Or is that too scary?

#3 worked. Got a console prompt and logged in.

then: mv .kde .kde_old

restart; login from the main screen and I can’t tell any difference.