If you use “su” to switch to root, yast might not find the correct X display and may start in ncurses mode because of that.
Try “su -” (notice the ‘-’) to switch to root.
myHost:/ # /sbin/yast2
Qt GUI wanted but not found, falling back to ncurses.
myHost:/ #
Entering text-based yast again, I saw that the package ‘libqt4’ is installed,
as well as package ‘libqt4-qt3support’.
What is wrong?
libqt4 alone is not enough for YaST-Qt.
You need “libyui-qt5” and “libyui-qt-pkg5” as well, and “yast2-control-center-qt” of course.
No.
kdebase3-session is just for listing the KDE3 session on the login screen.
I get the Qt3 Control Center here as well when installing “yast2-control-center-qt3” even though I do not have kdebase3-session installed.
I would suggest to install “yast2-control-center-qt” instead, especially if you are using KDE4 anyway.
All the YaST modules do use libqt4 regardless of which yast2-control-center you have installed. At the moment only your main YaST window uses the KDE3 style/look.
That Qt3 version is only available from the KDE3 repo anyway, and is still at version 2.17.3, whereas all the rest of YaST including yast2-control-center-qt is at version 3.x already (with all the modules translated to ruby).
Of course, you need more KDE3 packages than just this one to run KDE3, or even install KDE3 applications.
Btw, the reason why you the Qt3 version ran even on KDE4 is that yast2-control-center-qt and yast2-control-center-qt3 contain the same program file /usr/lib/YaST2/bin/y2controlcenter. (that’s also the reason why you cannot install both at the same time)
Of course in one case it’s the old unmaintained qt3 version, in the other case the current qt4 version.
When you run YaST on KDE (3 or 4), it just tries to run /usr/lib/YaST2/bin/y2controlcenter (or /usr/lib/YaST2/bin/y2controlcenter-gnome on GNOME), and falls back to the other one or the ncurses version if that fails.
/sbin/yast2 is just a shell script btw, so you can have a look yourself if you want to.