Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: kf5 doesn't work

  1. #1

    Default kf5 doesn't work

    Hi there and thx if you read and possibly answer my question.

    I wasn't very happy to know that kde5 was packaged on opensuse 13.1 so that it supersedes the current kde4 installation.

    So I compiled it with kdesrc-build and installed in /opt/kde5. But when I try to run /opt/kde5/bin/startkde from a mere shell or via a Xnest session, kded5 or kcmshell5 still use the kde4 path for their shared objects(/usr) instead of /opt/kde5.

    Of course I set correct paths, export PATH=/opt/kde5/bin:$PATH , added a path file in /etc/ld.so.conf.d, changed KDEHOME, KDEDIR and KDEDIRS, used LD_LIBRARY_PATH. Nada de nada :-(

    Any idea ?

  2. #2

    Default Re: kf5 doesn't work

    Quote Originally Posted by skylendar View Post
    I wasn't very happy to know that kde5 was packaged on opensuse 13.1 so that it supersedes the current kde4 installation.
    AFAIK it's the same on every other distribution as well that provides KF5 packages.
    The libraries should be co-installable, but the applications (including plasma-desktop) are not.

    So I compiled it with kdesrc-build and installed in /opt/kde5. But when I try to run /opt/kde5/bin/startkde from a mere shell or via a Xnest session, kded5 or kcmshell5 still use the kde4 path for their shared objects(/usr) instead of /opt/kde5.

    Of course I set correct paths, export PATH=/opt/kde5/bin:$PATH , added a path file in /etc/ld.so.conf.d, changed KDEHOME, KDEDIR and KDEDIRS, used LD_LIBRARY_PATH. Nada de nada :-(

    Any idea ?
    Have a look at openSUSE's kf5 script that was used when the KF5/Plasma next packages were still co-installable with KDE4 because they used /opt/kf5 as prefix:
    https://build.opensuse.org/package/v...64.sh?expand=1
    Code:
    export KF5=/opt/kf5
    export QTDIR=/usr/lib64/qt5
    export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS
    export XDG_CONFIG_DIRS=$KF5/etc/xdg:$KF5/share/kde5/config:$XDG_CONFIG_DIRS
    export PATH=$KF5/bin:$QTDIR/bin:$KF5:$PATH
    export LIBEXEC_PATH=/usr/lib64/libexec/kf5:/usr/lib64/libexec:$KF5/lib64/libexec/kf5:$KF5/lib64/libexec
    export LD_LIBRARY_PATH=$KF5/lib64
    export QT_PLUGIN_PATH=$KF5/lib64/qt5/plugins:$KF5/lib64/qt5/plugins/kf5:$QTDIR/plugins
    export QML2_IMPORT_PATH=$KF5/lib64/qt5/qml:$QTDIR/qml
    #export XDG_DATA_HOME=$HOME/.kf5
    #export XDG_CONFIG_HOME=$HOME/.kf5
    #export XDG_CACHE_HOME=$HOME/.kf5
    export KDE_COLOR_DEBUG=1
    export QTEST_COLORED=1
    Do the same (with the correct paths of course) and it should work.

  3. #3

    Default Re: kf5 doesn't work

    Thank you for the help, but it doesn't work. plasmashell crashes. I've both tried the script form Xnest and from a specific kdm session.

    Here is the log file. It has been shorten so that I can send it out
    :
    Notice first that the line libGL error: dlopen /usr/lib64/dri/updates/r600_dri.so failed (/usr/lib64/dri/updates/r600_dri.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type) has nothing to do with my problem. It works with kde4
    Also notice that startkde complains about e.g.
    Code:
    Error:  file:///opt/kde5/share/plasma/shells/org.kde.plasma.desktop/contents/loader.qml:23:1: module"org.kde.plasma.platformcomponents" is not installed import org.kde.plasma.platformcomponents 2.0 as Platform
    However, this file is really present and readable.
    .
    Code:
    startkde: Starting up...
    kdeinit5: preparing to launch 'libkdeinit5_klauncher'
    kdeinit5: Launched KLauncher, pid = 13184, result = 0
    Qt: Session management error: networkIdsList argument is NULL
    Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    kdeinit5: opened connection to :0
    kdeinit5: preparing to launch 'libkdeinit5_kded5'
    kdeinit5: Launched KDED, pid = 13186 result = 0
    kdeinit5: preparing to launch 'libkdeinit5_kcminit_startup'
    "Theme tree: (Oxygen)"
    kdeinit5: Launched 'kcminit_startup', pid = 13187 result = 0
    Qt: Session management error: networkIdsList argument is NULL
    Can't use FAM (fam daemon not running?)
    Available methods:  ("Stat", "INotify", "QFileSystemWatcher") preferred= INotify
    kdeinit5: Got EXT_EXEC '/opt/kde5/bin/kbuildsycoca5' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/kbuildsycoca5'
    KXMessages used on non-X11 platform! This is an application bug.
    KXMessages used on non-X11 platform! This is an application bug.
    kbuildsycoca5 running...
    "Theme tree: (Oxygen)"
    Trying to open ksycoca from "/home/cg/.cache/ksycoca5"
    checking file timestamps
    Trying to open ksycoca from "/home/cg/.cache/ksycoca5"
    kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
    kdeinit5: PID 13187 terminated.
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    kdeinit5: Got KWRAPPER 'ksmserver' from wrapper.
    kdeinit5: preparing to launch 'libkdeinit5_ksmserver'
    KXMessages used on non-X11 platform! This is an application bug.
    timestamps check ok
    Emitting notifyDatabaseChanged ()
    KXMessages used on non-X11 platform! This is an application bug.
    kdeinit5: PID 13191 terminated.
    Trying to open ksycoca from "/home/cg/.cache/ksycoca5"
    
    Successfully loaded module "networkmanagement"
    Successfully loaded module "powerdevil"
    Fetched layout groups from X server:     layouts: ("ch")     variants: ("fr")
    Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.xml"
    xkbConfigRegistry version "1.1"
    Qt: Session management error: networkIdsList argument is NULL
    "Trying to convert empty KLocalizedString to QString."
    "Trying to convert empty KLocalizedString to QString."
    "Trying to convert empty KLocalizedString to QString."
    Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.extras.xml"
    Merged from extra rules: 36 layouts, 0 models, 0 option groups
    Configuring Lock Action
    Fetched layout groups from X server:     layouts: ("ch")     variants: ("fr")
    Registered for new device events from XInput, class 81
    qCoreApp QApplication(0x7fffd0a36ed0)
    Successfully loaded module "keyboard"
    XSync seems available and ready
    XSync Inited
    Supported, init completed
    Successfully loaded module "statusnotifierwatcher"
    Successfully loaded module "bluedevil"
    Successfully loaded module "kded_ksysguard"
    Added Dir "/opt/kde5/share/kconf_update" for "" ["KDirWatch-2"]
    Trying to open ksycoca from "/home/cg/.cache/ksycoca5"
    kdeinit5: Got EXEC_NEW '/opt/kde5/lib64/libexec/kf5/kconf_update' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/lib64/libexec/kf5/kconf_update'
    kdeinit5: PID 13198 terminated.
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    "Theme tree: (Oxygen)"
    QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.7'
    No outputs have backlight property
    detected kglobalaccel restarting, re-registering all shortcut keys
    QObject::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) in /home/cg/kdesrc/frameworks/solid/src/solid/devices/backends/upower/upowermanager.cpp:72
    QObject::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) in /home/cg/kdesrc/frameworks/solid/src/solid/devices/backends/upower/upowermanager.cpp:74
    XSync seems available and ready
    XSync Inited
    Supported, init completed
    kded5: The profile  "AC" tried to activate "HandleButtonEvents" a non existent action. This is usually due to an installation problem or to a configuration problem. or simlpy the action is not supported
    kded5: The profile  "AC" tried to activate "DimDisplay" a non existent action. This is usually due to an installation problem or to a configuration problem. or simlpy the action is not supported
    Created alarm 29360129
    "/run/user/1000/KSMserver"
    kdeinit5: Got SETENV 'SESSION_MANAGER=local/alpha.uhara.net:@/tmp/.ICE-unix/13193,unix/alpha.uhara.net:/tmp/.ICE-unix/13193' from launcher.
    kdeinit5: Got EXEC_NEW '/opt/kde5/bin/baloo_file' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/baloo_file'
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    kdeinit5: Got EXEC_NEW '/opt/kde5/bin/krunner' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/krunner'
    "Theme tree: (Oxygen)"
    QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.7'
    detected kglobalaccel restarting, re-registering all shortcut keys
    Session path: "/org/freedesktop/login1/session/_39"
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    kdeinit5: Got EXEC_NEW '/opt/kde5/bin/plasmashell' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/plasmashell'
    libGL error: dlopen /usr/lib64/dri/updates/r600_dri.so failed (/usr/lib64/dri/updates/r600_dri.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
    "Theme tree: (Oxygen)"
    Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "b"  fixes: 0x "50"  randr: 0x "14"  sync: 0x "31"  damage: 0x  "11" 
    
    org.kde.kactivities.lib.core: Should we start the daemon?
    org.kde.kactivities.lib.core: Starting the activity manager daemon
    Trying to load decoration plugin "Oxygen"
    Can't use FAM (fam daemon not running?)
    Available methods:  ("Stat", "INotify", "QFileSystemWatcher") preferred= INotify
    Added File "/home/cg/.config/plasmarc" NotExisting for "" ["KDirWatch-1"]
    Added Dir "/home/cg/.config" for "/home/cg/.config/plasmarc" [""]
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    "Theme tree: (Oxygen)"
    "Theme tree: (Oxygen)"
    Can't use FAM (fam daemon not running?)
    Available methods:  ("Stat", "INotify", "QFileSystemWatcher") preferred= INotify
    Added File "/home/cg/.config/baloofilerc" for "" ["KDirWatch-1"]
    "/home/cg"
    "/home/cg"
    
    Successfully opened connection to inotify: 18
    XSync seems available and ready
    XSync Inited
    Supported, init completed
    QMetaProperty::read: Unable to handle unregistered datatype 'QQmlListProperty<QObject>' for property 'QQuickWindow::data'
    Added File "/opt/kde5/share/plasma/desktoptheme/default/metadata.desktop" for "" ["KDirWatch-1"]
    Normal
    "Theme tree: (Oxygen)"
    Doing initialization
    kdeinit5: Got EXEC_NEW '/opt/kde5/bin/kaccess' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/kaccess'
    org.kde.kactivities.activities: Starting the KDE Activity Manager daemon QDateTime("2014-07-11 15:23:26.250 CEST Qt::LocalTime")
    "file:///home/cg/" 
     "Error loading QML file.
    File not found
    "
    Created alarm 41943041
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    Added File "General" NotExisting for "" ["KDirWatch-1"]
    Added Dir "General/.." NotExisting for "General" [""]
    Added Dir ".." for "General/.." [""]
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    unnamed app: Xlib XKB extension major= 1  minor= 0
    screens:  1 desktops:  1
    Done.
    libGL error: dlopen /usr/lib64/dri/updates/r600_dri.so failed (/usr/lib64/dri/updates/r600_dri.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
    User timestamp, ASN: 4294967295
    User timestamp, final: 'ID: 4194338 ;WMCLASS: "xterm" : "xterm" ;Caption: "cg@alpha.uhara.net:~" ' : 4294967295
    Activation: No client active, allowing
    kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/cg/.gtkrc:/home/cg/.config/gtkrc' from launcher.
    kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/cg/.gtkrc-2.0:/home/cg/.config/gtkrc-2.0' from launcher.
    screens:  1 desktops:  1
    Done.
    screens:  1 desktops:  1
    Done.
    kdeinit5: Got EXEC_NEW '/opt/kde5/bin/kwrited' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/kwrited'
    kdeinit5: Got EXEC_NEW '/usr/bin/start-pulseaudio-kde' from launcher.
    kdeinit5: preparing to launch '/usr/bin/start-pulseaudio-kde'
    Added File "/home/cg/.config/kdeglobals" for "" ["KDirWatch-3"]
    Successfully loaded module "kded_platformstatus"
    Application::crashHandler() called with signal 6; recent crashes: 1
    kdeinit5: Got EXEC_NEW '/usr/bin/start-pulseaudio-x11' from launcher.
    kdeinit5: preparing to launch '/usr/bin/start-pulseaudio-x11'
    kdeinit5: Got EXEC_NEW '/usr/bin/synaptikscfg' from launcher.
    kdeinit5: preparing to launch '/usr/bin/synaptikscfg'
    kdeinit5: Got EXEC_NEW '/opt/kde5/bin/klipper' from launcher.
    kdeinit5: preparing to launch '/opt/kde5/bin/klipper'
    N: [pulseaudio] main.c: User-configured server at {a101a70076324be7995d68b67cb57aa7}unix:/run/user/1000/pulse/native, which appears to be local. Probing deeper.
    screens:  1 desktops:  1
    Done.
    Compositing is not possible
    Trying to open ksycoca from "/home/cg/.cache/ksycoca5"
    Échec : Échec lors de l'initialisation du module
    kdeinit5: PID 13233 terminated.
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 170, resource id: 33554439, major code: 20 (GetProperty), minor code: 0
    N: [pulseaudio] main.c: User-configured server at {a101a70076324be7995d68b67cb57aa7}unix:/run/user/1000/pulse/native, which appears to be local. Probing deeper.
    "Theme tree: (Oxygen)"
    org.kde.kactivities.application: [   OK   ] loaded:   "kactivitymanagerd_plugin_activitytemplates.so"
    org.kde.kactivities.application: [   OK   ] loaded:   "kactivitymanagerd_plugin_slc.so"
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Aucun fichier ou dossier de ce type
    org.kde.kactivities.application: [   OK   ] loaded:   "kactivitymanagerd_plugin_sqlite.so"
    Service started, version: 6.2.0
    Successfully loaded module "solidautoeject"
    Successfully loaded module "remotedirnotify"
    Successfully loaded module "networkstatus"
    Added File "/etc/timezone" NotExisting for "" ["KDirWatch-4"]
    Added Dir "/etc" for "/etc/timezone" [""]
    Added File "/etc/localtime" for "" ["KDirWatch-4"]
    Added Dir "/usr/share/zoneinfo" for "" ["KDirWatch-5"]
    Successfully loaded module "ktimezoned"
    Successfully loaded module "freespacenotifier"
    Successfully loaded module "khotkeys"
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 1244, resource id: 27262985, major code: 18 (ChangeProperty), minor code: 0
    QObject::connect: No such signal QAction::globalShortcutChanged(QKeySequence)
    QObject::connect:  (sender name:   '{d03619b6-9b3c-48cc-9d9c-a2aadb485550}')
    QObject::connect: No such signal QAction::globalShortcutChanged(QKeySequence)
    QObject::connect:  (sender name:   '{d03619b6-9b3c-48cc-9d9c-a2aadb485550}')
    QObject::connect: No such signal QAction::globalShortcutChanged(QKeySequence)
    QObject::connect:  (sender name:   '{557c867c-86c5-48f2-8217-78f91e17257c}')
    usage: synaptikscfg [-h] [--version] {init,load,save} ...
    synaptikscfg: error: no touchpad found
    kdeinit5: PID 13234 terminated.
    kdeinit5: PID 13236 terminated.
    "Theme tree: (Oxygen)"
    service is "org.kde.StatusNotifierItem-13238-1"
    unnamed app: X server XKB extension major= 1  minor= 0
    "Theme tree: (Oxygen)"
    kdeinit5: PID 13220 terminated.
    "Theme tree: (Oxygen)"
    Registering a client interface to the KStatusNotifierWatcher
    libGL error: dlopen /usr/lib64/dri/updates/r600_dri.so failed (/usr/lib64/dri/updates/r600_dri.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
    Failed to load history resource. Clipboard history cannot be read. :  History file does not exist
    KCrash: crashing... crashRecursionCounter = 2
    KCrash: Application Name = plasmashell path = /usr/local/opt/kde5/bin pid = 13206
    KCrash: Arguments: /usr/local/opt/kde5/bin/plasmashell --shut-up 
    KCrash: Attempting to start /opt/kde5/lib64/libexec/drkonqi from kdeinit
    kdeinit5: Got EXEC_NEW '/opt/kde5/lib64/libexec/drkonqi' from wrapper.
    kdeinit5: preparing to launch '/opt/kde5/lib64/libexec/drkonqi'
    found lsb_release
    Using /proc to determine executable path
    Executable is: "/usr/local/opt/kde5/bin/plasmashell"
    Executable exists: true
    Enabling drkonqi crash catching
    ...

  4. #4

    Default Re: kf5 doesn't work

    Quote Originally Posted by skylendar View Post
    TNotice first that the line libGL error: dlopen /usr/lib64/dri/updates/r600_dri.so failed (/usr/lib64/dri/updates/r600_dri.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type) has nothing to do with my problem. It works with kde4
    I know. That's just debug output. /usr/lib64/dri/updates/ is searched before /usr/lib64/dri/, but that's normally empty. It can be used to override the system's drivers with updated versions.

    Error: file:///opt/kde5/share/plasma/shells/org.kde.plasma.desktop/contents/loader.qml:23:1: module"org.kde.plasma.platformcomponents" is not installed import org.kde.plasma.platformcomponents 2.0 as Platform
    However, this file is really present and readable.
    Try to run "kbuildsycoca5 --noincremental (after you set those environment variables.

    What I find strange in your output (haven't looked at everything in detail yet):
    Code:
    Using /proc to determine executable path
    Executable is: "/usr/local/opt/kde5/bin/plasmashell"
    Executable exists: true
    Enabling drkonqi crash catching
    ...
    You installed KF5 to /opt/kde5, but plasmashell is in /usr/local/opt/kde5/bin/.
    Apparently something went wrong there (wrong options?), or you have some stuff left in /usr/local from an earlier try or something like that.

  5. #5

    Default Re: kf5 doesn't work

    I did as suggested, but plasmashell crashes again. ¿¿¿ Qué pasó ???

    p.s. /opt is a link to /usr/local/opt on my computer. No enough place on /

  6. #6

    Default Re: kf5 doesn't work

    Here is the drkonqi's output for one plasmashell crash:

    Code:
    Application: plasmashell (plasmashell), signal: Aborted
    Using host libthread_db library "/lib64/libthread_db.so.1".
    [Current thread is 1 (Thread 0x7f71ed7e2880 (LWP 18072))]
    
    Thread 3 (Thread 0x7f71d8443700 (LWP 18075)):
    #0  0x00007f71e432fb3d in poll () from /lib64/libc.so.6
    #1  0x00007f71e951a32a in ?? () from /usr/lib64/libxcb.so.1
    #2  0x00007f71e951be1f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
    #3  0x00007f71d9005af9 in ?? () from /usr/local/opt/Qt5.3.0/5.3/gcc_64/plugins/platforms/libqxcb.so
    #4  0x00007f71e4ebf124 in ?? () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #5  0x00007f71e3dd30db in start_thread () from /lib64/libpthread.so.0
    #6  0x00007f71e433890d in clone () from /lib64/libc.so.6
    
    Thread 2 (Thread 0x7f71cf5ef700 (LWP 18087)):
    #0  0x00007f71e024bff7 in ?? () from /usr/lib64/libglib-2.0.so.0
    #1  0x00007f71e024c289 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
    #2  0x00007f71e020bcb9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
    #3  0x00007f71e020c523 in ?? () from /usr/lib64/libglib-2.0.so.0
    #4  0x00007f71e020c70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
    #5  0x00007f71e514b4a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #6  0x00007f71e50eefeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #7  0x00007f71e4eb946a in QThread::exec() () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #8  0x00007f71e4ebf124 in ?? () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #9  0x00007f71e3dd30db in start_thread () from /lib64/libpthread.so.0
    #10 0x00007f71e433890d in clone () from /lib64/libc.so.6
    
    Thread 1 (Thread 0x7f71ed7e2880 (LWP 18072)):
    [KCrash Handler]
    #6  0x00007f71e4286849 in raise () from /lib64/libc.so.6
    #7  0x00007f71e4287cd8 in abort () from /lib64/libc.so.6
    #8  0x00007f71e4eae8be in QMessageLogger::fatal(char const*, ...) const () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #9  0x000000000049831c in ShellManager::updateShell() ()
    #10 0x0000000000497edf in ShellManager::loadHandlers() ()
    #11 0x00000000004ba1d4 in ?? ()
    #12 0x00007f71e51247c6 in QObject::event(QEvent*) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #13 0x00007f71e5dbe764 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Widgets.so.5
    #14 0x00007f71e5dc1de6 in QApplication::notify(QObject*, QEvent*) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Widgets.so.5
    #15 0x00007f71e50f0dd4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #16 0x00007f71e50f3958 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #17 0x00007f71e514b013 in ?? () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #18 0x00007f71e020c316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
    #19 0x00007f71e020c668 in ?? () from /usr/lib64/libglib-2.0.so.0
    #20 0x00007f71e020c70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
    #21 0x00007f71e514b444 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #22 0x00007f71e50eefeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #23 0x00007f71e50f3eb5 in QCoreApplication::exec() () from /opt/Qt5.3.0/5.3/gcc_64/lib/libQt5Core.so.5
    #24 0x0000000000467d97 in main ()
    if it can help

  7. #7

    Default Re: kf5 doesn't work

    Quote Originally Posted by skylendar View Post
    if it can help
    Well, it seems to abort in libQt5Core.

    Apparently you use Qt5 5.3.0, that's quite old already.
    Try to update to the latest 5.3.1. Packages are available in the KDE:QT5 repo.
    http://download.opensuse.org/reposit...openSUSE_13.1/

    You could also try to run "plasmashell" inside your KDE4 session. Does it work then?
    I still have plasma-desktop5 from June 8th installed (in /opt/kf5), and running plasmashell works fine here (after setting up the environment variables as posted earlier).
    If I run it inside KDE4, it sits on top of KDE4's plasma-desktop and hides it...
    Maybe you get some interesting message in the terminal then?

    Quote Originally Posted by skylendar View Post
    Also notice that startkde complains about e.g.
    Code:
    Error:  file:///opt/kde5/share/plasma/shells/org.kde.plasma.desktop/contents/loader.qml:23:1: module"org.kde.plasma.platformcomponents" is not installed import org.kde.plasma.platformcomponents 2.0 as Platform
    However, this file is really present and readable.
    Which file?

    I have this in /usr/lib64/qt5/qml/org/kde/plasma/platformcomponents:
    Code:
    wolfi@linux-lf90:~> ls /usr/lib64/qt5/qml/org/kde/plasma/platformcomponents
    libplatformcomponentsplugin.so  qmldir
    wolfi@linux-lf90:~>
    And that directory (/usr/lib64/qt5/qml/ in my case, it might deviate for you) must be part of the QML2_IMPORT_PATH, as posted earlier:
    Code:
    export QML2_IMPORT_PATH=$KF5/lib64/qt5/qml:$QTDIR/qml
    What I want to say is: add that directory that contains org/kde/plasma/platformcomponents to the QML2_IMPORT_PATH variable.
    Last edited by wolfi323; 11-Jul-2014 at 13:01.

  8. #8

    Default Re: kf5 doesn't work

    Quote Originally Posted by wolfi323 View Post
    Well, it seems to abort in libQt5Core.

    Apparently you use Qt5 5.3.0, that's quite old already.
    Try to update to the latest 5.3.1. Packages are available in the KDE:QT5 repo.
    http://download.opensuse.org/reposit...openSUSE_13.1/

    You could also try to run "plasmashell" inside your KDE4 session. Does it work then?
    I still have plasma-desktop5 from June 8th installed (in /opt/kf5), and running plasmashell works fine here (after setting up the environment variables as posted earlier).
    If I run it inside KDE4, it sits on top of KDE4's plasma-desktop and hides it...
    Maybe you get some interesting message in the terminal then?


    Which file?
    QML2_IMPORT_PATH=
    I have this in /usr/lib64/qt5/qml/org/kde/plasma/platformcomponents:
    Code:
    wolfi@linux-lf90:~> ls /usr/lib64/qt5/qml/org/kde/plasma/platformcomponents
    libplatformcomponentsplugin.so  qmldir
    wolfi@linux-lf90:~>
    And that directory (/usr/lib64/qt5/qml/ in my case, it might deviate for you) must be part of the QML2_IMPORT_PATH, as posted earlier:
    Code:
    export QML2_IMPORT_PATH=$KF5/lib64/qt5/qml:$QTDIR/qml
    What I want to say is: add that directory that contains org/kde/plasma/platformcomponents to the QML2_IMPORT_PATH variable.
    Ok, upgrade to 5.3.1 done, but no progress. Same crash in ShellManager::updateShell(), apparently.
    As to QML2_IMPORT_PATH, it's ok. I did as you suggest in my script, but same thing.

    Patience is the virtue of the strong

  9. #9

    Default Re: kf5 doesn't work

    Quote Originally Posted by skylendar View Post
    Ok, upgrade to 5.3.1 done, but no progress. Same crash in ShellManager::updateShell(), apparently.
    Ok, I tried to rename /usr/lib64/qt5/qml/org/kde/plasma/platformcomponents/ now here, and I get exactly the same crash as you.

    So the crash definitely seems to be related to it not being able to import "org.kde.plasma.platformcomponents".

    I´d say you should check again whether you have a directory org/kde/plasma/platformcomponents/ in a path specified with $QML2_IMPORT_PATH, and that contains a libplatformcomponentsplugin.so.

    I have no experience with kdesrc-build, but did you use that for installing the Frameworks as well?
    You need the Plasma framework installed.
    It should be possible to install the Frameworks via the openSUSE packages (repo KDE:Frameworks5 or KDE:Unstable:Frameworks), that specific component is in the package plasma-framework, and then only compile the actual programs like plasmashell.
    But I guess you should also install libqt5 from the packages then.

  10. #10

    Default Re: kf5 doesn't work

    Quote Originally Posted by wolfi323 View Post
    I´d say you should check again whether you have a directory org/kde/plasma/platformcomponents/ in a path specified with $QML2_IMPORT_PATH, and that contains a libplatformcomponentsplugin.so.
    PS: that directory (org/kde/plasma/platformcomponents/) must also contain a file called "qmldir" with the following content:
    Code:
    module org.kde.plasma.platformcomponents
    plugin platformcomponentsplugin
    So create that manually if it doesn't exist, I'd say.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •