LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-07-2015, 07:32 AM   #1
stagex
LQ Newbie
 
Registered: Jul 2015
Posts: 4

Rep: Reputation: Disabled
Qt error by sddm


I installed KDE 5 into /opt/kf5 and sddm into /usr. I wanted sddm to use the native breeze theme. At first, it did not find qml files, I made symlinks from /opt/qt5 to the corresponding folders from /opt/kf5. Now it tells me that it cannot find "oxygen" icon theme and there are errors like these :

QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is SDDM::GreeterApp(0x7fffba842e70), parent's thread is QThread(0x244ae60), current thread is QThread(0x24876d0).

How could I make it use this theme ?
sddm runs with the breeze theme but there are missing icons on the screen.
 
Old 07-09-2015, 03:23 AM   #2
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Make sure /opt/kf5/share is in XDG_DATA_DIRS in sddm environment. Or, if you like ugly hacks, try symlinking /opt/kf5/share/icons/breeze into /usr/share/icons.
 
Old 07-10-2015, 01:05 PM   #3
stagex
LQ Newbie
 
Registered: Jul 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
I rebuilt it from scratch. sddm tells me that it does not find the qml files, here are the error messages :

file:///opt/kf5/share/sddm/themes/breeze/Main.qml:25:1: module "org.kde.plasma.components" is not installed
import org.kde.plasma.components 2.0 as PlasmaComponents
^
file:///opt/kf5/share/sddm/themes/breeze/Main.qml:24:1: module "org.kde.plasma.core" is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^
file:///opt/kf5/share/sddm/themes/breeze/Main.qml:25:1: module "org.kde.plasma.components" is not installed
import org.kde.plasma.components 2.0 as PlasmaComponents
^
file:///opt/kf5/share/sddm/themes/breeze/Main.qml:24:1: module "org.kde.plasma.core" is not installed
import org.kde.plasma.core 2.0 as PlasmaCore
^


The QML_IMPORT_PATH and QML2_IMPORT_PATH include "/opt/qt5/lib/qt5/qml:/usr/lib/qt5/qml:/lib/qt5/qml:/opt/kf5/lib/qt5/qml
". It seems to be pointing the correct locations, the files it needs are installed into /opt/kf5/lib/qt5/qml. XDG_DATA_DIRS include /opt/kf5/share too. Why is sddm reporting this error ?
 
Old 07-10-2015, 01:32 PM   #4
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
I guess because sddm doesn't read /etc/profile and /etc/profile.d/*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SDDM won't load KF5 flesh75 Linux From Scratch 5 07-03-2015 04:01 AM
SDDM... gor0 Arch 5 06-23-2015 02:49 PM
[SOLVED] SDDM in rc.4 lopid Slackware 2 05-02-2015 02:36 AM
Anyone use sddm and actually get auto login to work? Timothy Miller Arch 3 01-18-2015 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration