Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
4
votes
1
answers
2273
views
qmlscene can't find Qt installation even though qtchooser lists versions
I'm running this in a folder with `main.qml`: ```shell $ qmlscene main.qml qmlscene: could not find a Qt installation of '' ``` Then I checked ```shell $ qtchooser -list-versions 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5 ``` ... and tried ```shell $ sudo qmlscene -qt=qt5-x86_64_linux-gnu...
I'm running this in a folder with
main.qml
:
$ qmlscene main.qml
qmlscene: could not find a Qt installation of ''
Then I checked
$ qtchooser -list-versions
4
5
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5
... and tried
$ sudo qmlscene -qt=qt5-x86_64_linux-gnu main.qml
qmlscene: could not find a Qt installation of 'qt5-x86_64_linux-gnu'
user304200
(41 rep)
Aug 7, 2018, 02:26 PM
• Last activity: Aug 7, 2025, 10:06 AM
0
votes
1
answers
2157
views
trying to find qt4 libraries on centos7
I am installing the default QT on the base yum repos (version 4: `sudo yum qt qt-devel`. I can see that it includes the bin (in `/usr/lib64/qt4/bin`) and the includes (in `/usr/include/Qt` , `/usr/include/QtCore`). I am not sure where the lib files are, or if they are named in the same format as the...
I am installing the default QT on the base yum repos (version 4:
sudo yum qt qt-devel
. I can see that it includes the bin (in /usr/lib64/qt4/bin
) and the includes (in /usr/include/Qt
, /usr/include/QtCore
). I am not sure where the lib files are, or if they are named in the same format as the qt3 lib directory (/usr/lib64/qt-3.3/lib/libqt-mt.so.3
). Are these files in the same naming convention i.e. libqt-mt.so.4
, or what would I be looking for here?
basil
(153 rep)
Jan 21, 2020, 04:58 PM
• Last activity: Apr 26, 2025, 03:04 AM
0
votes
1
answers
128
views
How to Fix Qt Custom Terminal Prompt Messy Codes Problem
I made a terminal by binding bash with *QProcess*: ```c++ // c++ in Qt4.8.7 on CentOS7 process_ptr->start("bash -i", QIODevice::ReadWrite | QIODevice::Append); // With the "-i" option, interactive bash is able to display the *prompt* ``` Commands are entered through *QCmdLine*, fed to *QProcess*, an...
I made a terminal by binding bash with *QProcess*:
++
// c++ in Qt4.8.7 on CentOS7
process_ptr->start("bash -i", QIODevice::ReadWrite | QIODevice::Append);
// With the "-i" option, interactive bash is able to display the *prompt*
Commands are entered through *QCmdLine*, fed to *QProcess*, and the output is printed to *QPlainTextEdit*
And I have merged the standard output channel with the standard error channel:
++
process_ptr->setProcessChannelMode(QProcess::MergedChannels);
The problem is: the command prompt(set by PS1) in *QPlainTextEdit*, which is used to display stdout or stderr, is messy.
**Specifically, the content printed in *QPlainTextEdit* is as follows:**
^[]0;eng@hostname:~^G[eng@hostname 15:36:41 #17 ~]$
ls
Desktop
Documents
Downloads
Music
Pictures
Public
Templates
Videos
^[]0;eng@hostname:~^G[eng@hostname 16:05:12 #18 ~]$
echo $PS1
[\u@\H \t #\# \W]\$
^[]0;eng@hostname:~^G[eng@hostname 16:05:35 #19 ~]$
^[]0;eng@hostname:~^G[eng@hostname 16:05:36 #19 ~]$
And I have set PS1 as
PS1="[\u@\H \t #\# \W]\$ "
It looks like the second half of the command prompt [eng@hostname 15:36:41 #17 ~]$
is what I set up correctly via PS1.
**Now I don't know how to get rid of the first half** ^[]0;eng@hostname:~^G
, where ^
denotes the ASCII control character "ESC" and ^G
denotes the ASCII control character "BEL"
I've researched the concept of *tty* for this issue: my practice of binding a fixed bash via *QProcess* bypasses line discipline and pty, in other words input and output content is *written/read* directly to the bash process without going through line discipline and pty(Here's the link, it might be useful: [tty/pty )
At the moment I'm not sure which module I should look at to locate the root cause of the problem: standard output/error channel redirection, the underlying principles of bash, *QPlainTextEdit* in Qt, etc.
Thank you very much for your valuable thoughts or solutions!
Qipa
(11 rep)
Oct 26, 2023, 08:33 AM
• Last activity: Nov 13, 2023, 08:08 AM
1
votes
2
answers
4031
views
No module named 'PyQt4.sip'
So, I have a .py file: from PyQt4.QtGui import * from PyQt4.QtCore import * When I'm executing it - I have this error message: Traceback (most recent call last): File "kek.py", line 1, in from PyQt4.QtGui import * ModuleNotFoundError: No module named 'PyQt4.sip' I've tried to install **sip** itself,...
So, I have a .py file:
from PyQt4.QtGui import *
from PyQt4.QtCore import *
When I'm executing it - I have this error message:
Traceback (most recent call last):
File "kek.py", line 1, in
from PyQt4.QtGui import *
ModuleNotFoundError: No module named 'PyQt4.sip'
I've tried to install **sip** itself, I've installed **Qt4**, **PyQt4** and it doesn't works.
Help me, guys
Curlindus
(13 rep)
Dec 21, 2019, 09:05 AM
• Last activity: Sep 7, 2023, 12:51 PM
0
votes
0
answers
150
views
The font of the menu of a package on Debian 9 Xfce doesn't look fine
For the package GeoGebra 5, the text of the menu bar looks bad, with a strange (and unwanted) font. [![Font used for GeoGebra 5 menu][1]][1] This is the normal, good look of the menus of other programs: [![Normal appearance of the menus of other programs][2]][2] This behavior is new. It's happening...
For the package GeoGebra 5, the text of the menu bar looks bad, with a strange (and unwanted) font.
This is the normal, good look of the menus of other programs:
This behavior is new. It's happening since around one week ago. Before this issue, I was tired by a poor appearance of my desktop: it looked with an old-fashion; almost all the fonts of the desktop looked no so well.
So, I followed this suggestion:
https://forum.manjaro.org/t/better-font-settings-in-easy-way-xfce-and-gnome/24319
However, I didn't make the step for Qt configuration. My system works with Qt4. Maybe this is the reason for the trouble. Today, I tried with the Qt4 configuration, font substitution. However, I don't know how to manage rightly this setting. I guess that the shown font is Abydos (it appears in the Qt4 font setting window, substitution area; it's exactly the first item in my fonts list).
I have tried too:
- changing some options in Setting tools Appearance and Windows Manager
- uninstalling (https://askubuntu.com/questions/151941/how-can-you-completely-remove-a-package , post of user2777677), deleting the geogebra and GeoGebra folders of my .config directory, and reinstalling GeoGebra 5
without fixing the issue.
My system: Debian 9, Xfce, 64 bits
This questions could be similar to my case:
- https://unix.stackexchange.com/questions/126281/weird-bug-with-xfce4-menu-panel-font-very-small
- https://unix.stackexchange.com/questions/443065/fix-for-ugly-fonts-in-programs-like-keepassxc-or-nextcloud-on-antergos-with-gnom



Jh0an1 Uzca73gu1
(1 rep)
Mar 19, 2020, 01:35 PM
2
votes
2
answers
731
views
qt4 applications don't work in Xephyr
I am using `Xephyr` to run applications as another user, while being logged in as primary user. Most applications work fine in `Xephyr`, except `qt4` based. Specifically: electrum ipython qtconsole qbittorrent The above applications work when started in normal X server, but when I start them in `Xep...
I am using
Xephyr
to run applications as another user, while being logged in as primary user.
Most applications work fine in Xephyr
, except qt4
based. Specifically:
electrum
ipython qtconsole
qbittorrent
The above applications work when started in normal X server, but when I start them in Xephyr
, I only see the window frame, but it is blank.
How can I fix this problem ?
My OS is Debian Wheezy and version numbers are:
xserver-xephyr 1.12.4
libqtcore4 4.8.2
Here is how I start my Xephyr
session:
Xephyr :1 -screen 1920x1080 -nolisten tcp -reset -terminate >/dev/null 2>&1 &
terminator --execute su - user2 -c 'DISPLAY=:1 startlxde >/dev/null 2>&1 &'
**UPDATE**
I have tested with XFCE4
and have the same problem. QT4 applications still don't work, I get a blank window. As example, see how qbittorrent window loks like:

Martin Vegter
(598 rep)
Dec 19, 2015, 09:24 PM
• Last activity: Nov 22, 2019, 01:24 PM
0
votes
0
answers
56
views
Configure Raspberry pi for my application to start on boot
I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform. I want to configure Raspberry Pi to only run that one single application. When I power the Raspberry P...
I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform.
I want to configure Raspberry Pi to only run that one single application. When I power the Raspberry Pi, it should not go to desktop but run the application (eventually only use necessary packages,library etc).
I have been looking around on different forums on how people do it, but it's not what I'm exactly looking for. There are also different solutions but it's just a bit confusing, that's why I'm here asking for advice/tips on how to implement that.
So far I've tried
sudo /etc/profile
and at the end of that file I call python3 /home/pi/test.py
where I execute my application.
But I get X cannot connect Server error
and Virtual Keyboard Florence is not really registering the button pressed.
Dot
(1 rep)
Aug 14, 2019, 07:47 AM
• Last activity: Aug 14, 2019, 10:18 AM
2
votes
2
answers
7143
views
Depends: libqtgui4 (>= 4.6.2) but it is not installed
I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be found. The problem now is I cannot install -f, install or remove any other package. All include in th...
I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be found. The problem now is I cannot install -f, install or remove any other package. All include in the following:
root@debian32:/home/saman/Downloads# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libqt4-network : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not installed
libqt4-sql : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not installed
libqt4-sql-mysql : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not installed
libqt4-xml : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not installed
libqtcore4-perl : Depends: libqtcore4 (>= 4:4.8) but it is not installed
Depends: libqtgui4 (>= 4:4.8) but it is not installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not installed
libqtgui4-perl : Depends: libqtcore4 (>= 4:4.8) but it is not installed
Depends: libqtgui4 (>= 4:4.8) but it is not installed
libsmokeqtcore4-3 : Depends: libqtcore4 (>= 4:4.8.0) but it is not installed
libsmokeqtgui4-3 : Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installed
Depends: libqtgui4 (>= 4:4.8.5) but it is not installed
libsmokeqtnetwork4-3 : Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installed
wingide5 : Depends: libqtcore4 (>= 4.6.2) but it is not installed
Depends: libqtgui4 (>= 4.6.2) but it is not installed
Depends: libqt4-svg (>= 4.6.2) but it is not installed
Depends: libqt4-webkit (>= 4.6.2) but it is not installed
Depends: libqt4-script (>= 4:4.5.3) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
This really looks like a huge problem to me now, how can I fix this?
# apt-cache policy libqtcore4
libqtcore4:
Installed: (none)
Candidate: 4:4.8.6+git64-g5dc8b2b+dfsg-3
Version table:
4:4.8.6+git64-g5dc8b2b+dfsg-3 0
500 http://ftp.tr.debian.org/debian/ stable/main i386 Packages
100 /var/lib/dpkg/status
# apt-get install libqtcore4
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libqtcore4-perl : Depends: libqtgui4 (>= 4:4.8) but it is not going to be installed
libqtgui4-perl : Depends: libqtgui4 (>= 4:4.8) but it is not going to be installed
libsmokeqtgui4-3 : Depends: libqtgui4 (>= 4:4.8.5) but it is not going to be installed
ninja-ide : Depends: python-pyinotify but it is not going to be installed
Depends: python-qt4 but it is not going to be installed
wingide5 : Depends: libqtgui4 (>= 4.6.2) but it is not going to be installed
Depends: libqt4-svg (>= 4.6.2) but it is not going to be installed
Depends: libqt4-webkit (>= 4.6.2) but it is not going to be installed
Depends: libqt4-script (>= 4:4.5.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@debian32:/usr/share/eclipse/dropins# apt-get install libqtgui4
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libqt4-network : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not going to be installed
libqt4-sql : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not going to be installed
libqt4-sql-mysql : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not going to be installed
libqt4-xml : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not going to be installed
libqtcore4-perl : Depends: libqtcore4 (>= 4:4.8) but it is not going to be installed
libqtdbus4 : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not going to be installed
libqtgui4 : Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3) but it is not going to be installed
libqtgui4-perl : Depends: libqtcore4 (>= 4:4.8) but it is not going to be installed
libsmokeqtcore4-3 : Depends: libqtcore4 (>= 4:4.8.0) but it is not going to be installed
libsmokeqtgui4-3 : Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not going to be installed
libsmokeqtnetwork4-3 : Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not going to be installed
ninja-ide : Depends: python-pyinotify but it is not going to be installed
Depends: python-qt4 but it is not going to be installed
wingide5 : Depends: libqtcore4 (>= 4.6.2) but it is not going to be installed
Depends: libqt4-svg (>= 4.6.2) but it is not going to be installed
Depends: libqt4-webkit (>= 4.6.2) but it is not going to be installed
Depends: libqt4-script (>= 4:4.5.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@debian32:/usr/share/eclipse/dropins# apt-cache policy libqtgui4
libqtgui4:
Installed: (none)
Candidate: 4:4.8.6+git64-g5dc8b2b+dfsg-3
Version table:
4:4.8.6+git64-g5dc8b2b+dfsg-3 0
500 http://ftp.tr.debian.org/debian/ stable/main i386 Packages
100 /var/lib/dpkg/status
Saman
(371 rep)
May 25, 2015, 07:51 AM
• Last activity: Apr 17, 2019, 07:50 AM
0
votes
2
answers
188
views
Problem compiling QT4 in Beyond Linux From Scratch 7.8
I'm using a VirtualBox machine (32 bit) to build BLFS to comply with the Linux Standard Base (all the packages mentioned in the book ([http://www.linuxfromscratch.org/blfs/view/7.8/][1]), with *required* and *recommended*, but trying to avoid *optional* packages). As the title says, I can't get BLFS...
I'm using a VirtualBox machine (32 bit) to build BLFS to comply with the Linux Standard Base (all the packages mentioned in the book (http://www.linuxfromscratch.org/blfs/view/7.8/ ), with *required* and *recommended*, but trying to avoid *optional* packages). As the title says, I can't get BLFS 7.8 to completely build Qt 4.8.7.
According to the BLFS 7.8 book, it's supposed to build the following:
Installed Programs:
assistant, designer, lconvert, linguist, lrelease, lupdate, moc, pixeltool, qcollectiongenerator, qdbuscpp2xml, qdbus, qdbusviewer, qdbusxml2cpp, qdoc3, qhelpconverter, qhelpgenerator, qmake, qmlplugindump, qmlviewer, qt3to4, qtconfig, qttracereplay, rcc, uic3, uic, xmlpatterns, and xmlpatternsvalidator
Installed Libraries:
libQtUiTools.a, libQt3Support.so, libQtCLucene.so, libQtCore.so, libQtDBus.so, libQtDeclarative.so, libQtDesignerComponents.so, libQtDesigner.so, libQtGui.so, libQtHelp.so, libQtMultimedia.so, libQtNetwork.so, libQtOpenGL.so, libQtScript.so, libQtScriptTools.so, libQtSql.so, libQtSvg.so, libQtTest.so, libQtWebKit.so, libQtXmlPatterns.so, and libQtXml.so, and several plugins under /opt/qt4/imports and /opt/qt4/plugins
It builds all the libraries, but not all of the programs: qdbuscpp2xml, qdbus, qdbusviewer, qdbusxml2cpp, qmake, xmlpatterns, and xmlpatternsvalidator are not built.
Since most of the programs left out have dbus in their names, I checked systemctl and the result is the following:
UNIT LOAD ACTIVE SUB
proc-sys-fs-binfmt_misc.automount loaded active waiting
org.freedesktop.hostname1.busname loaded inactive dead
org.freedesktop.locale1.busname loaded inactive dead
org.freedesktop.login1.busname loaded inactive dead
org.freedesktop.machine1.busname loaded inactive dead
org.freedesktop.network1.busname loaded inactive dead
org.freedesktop.resolve1.busname loaded inactive dead
org.freedesktop.systemd1.busname loaded inactive dead
org.freedesktop.timedate1.busname loaded inactive dead
dev-cdrom.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_CD\x2dROM_VB2\x2d01700376.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB1b03ea62\x2ddbc63e3e.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB1b03ea62\x2ddbc63e3e\x2dpart1.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB661dfc8e\x2d76a9fb53.device loaded active plugged
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB661dfc8e\x2d76a9fb53\x2dpart1.device loaded active plugged
dev-disk-by\x2duuid-adf6eeae\x2d5ab2\x2d42a3\x2d9e1d\x2d0fed7f32a451.device loaded active plugged
dev-disk-by\x2duuid-eb028a99\x2d93f4\x2d4b71\x2d98b4\x2daaf40d3d6c84.device loaded active plugged
dev-sda.device loaded active plugged
dev-sda1.device loaded active plugged
dev-sdb.device loaded active plugged
dev-sdb1.device loaded active plugged
dev-sr0.device loaded active plugged
dev-ttyS0.device loaded active plugged
dev-ttyS1.device loaded active plugged
dev-ttyS2.device loaded active plugged
dev-ttyS3.device loaded active plugged
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged VBOX_HARDDISK 1
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sdb-sdb1.device loaded active plugged VBOX_HARDDISK 1
sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:1-0:0:1:0-block-sdb.device loaded active plugged
sys-devices-pci0000:00-0000:00:01.1-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged
sys-devices-virtual-net-sit0.device loaded active plugged
sys-subsystem-net-devices-sit0.device loaded active plugged
-.mount loaded active mounted
dev-hugepages.mount loaded active mounted
dev-mqueue.mount loaded active mounted
proc-sys-fs-binfmt_misc.mount loaded inactive dead
sys-fs-fuse-connections.mount loaded inactive dead
sys-kernel-config.mount loaded inactive dead
sys-kernel-debug.mount loaded active mounted
tmp.mount loaded active mounted
var-lib-machines.mount loaded inactive dead
systemd-ask-password-console.path loaded active waiting
systemd-ask-password-wall.path loaded active waiting
alsa-restore.service loaded inactive dead
alsa-state.service loaded inactive dead
alsa-store.service loaded inactive dead
auditd.service not-found inactive dead auditd.service
dbus.service loaded failed failed
display-manager.service not-found inactive dead display-manager.service
emergency.service loaded inactive dead
getty@tty1.service loaded active running
kmod-static-nodes.service loaded active exited
plymouth-quit-wait.service not-found inactive dead plymouth-quit-wait.service
plymouth-start.service not-found inactive dead plymouth-start.service
rc-local.service loaded inactive dead
rescue.service loaded inactive dead
syslog.service not-found inactive dead syslog.service
systemd-ask-password-console.service loaded inactive dead
systemd-ask-password-wall.service loaded inactive dead
systemd-binfmt.service loaded inactive dead
systemd-fsck-root.service loaded active exited
systemd-hostnamed.service loaded inactive dead
systemd-hwdb-update.service loaded inactive dead
systemd-initctl.service loaded inactive dead
systemd-journal-catalog-update.service loaded inactive dead
systemd-journal-flush.service loaded active exited
systemd-journald.service loaded active running
systemd-localed.service loaded inactive dead
systemd-logind.service loaded activating auto-restart restart Login Service
systemd-machine-id-commit.service loaded inactive dead
systemd-machined.service loaded inactive dead
systemd-modules-load.service loaded inactive dead
systemd-networkd.service loaded activating auto-restart restart Network Service
systemd-random-seed.service loaded active exited
systemd-remount-fs.service loaded active exited
systemd-resolved.service loaded inactive dead
systemd-sysctl.service loaded active exited
systemd-sysusers.service not-found inactive dead systemd-sysusers.service
systemd-timedated.service loaded inactive dead
systemd-timesyncd.service loaded active running
systemd-tmpfiles-clean.service loaded inactive dead
systemd-tmpfiles-setup-dev.service loaded active exited
systemd-tmpfiles-setup.service loaded active exited
systemd-udev-trigger.service loaded active exited
systemd-udevd.service loaded active running
systemd-update-done.service loaded inactive dead
systemd-update-utmp-runlevel.service loaded inactive dead
systemd-update-utmp.service loaded active exited
systemd-user-sessions.service not-found inactive dead systemd-user-sessions.service
systemd-vconsole-setup.service loaded active exited
-.slice loaded active active
machine.slice loaded inactive dead
system-getty.slice loaded active active
system.slice loaded active active
user.slice loaded active active
dbus.socket loaded active running
syslog.socket loaded inactive dead
systemd-initctl.socket loaded active listening
systemd-journald-audit.socket loaded inactive dead
systemd-journald-dev-log.socket loaded active running
systemd-journald.socket loaded active running
systemd-networkd.socket loaded active listening
systemd-udevd-control.socket loaded active running
systemd-udevd-kernel.socket loaded active running
dev-disk-by\x2did-ata\x2dVBOX_HARDDISK_VB661dfc8e\x2d76a9fb53\x2dpart1.swap loaded active active
dev-disk-by\x2duuid-adf6eeae\x2d5ab2\x2d42a3\x2d9e1d\x2d0fed7f32a451.swap loaded active active
dev-sdb1.swap loaded active active
basic.target loaded active active
busnames.target loaded inactive dead
emergency.target loaded inactive dead
getty.target loaded active active
graphical.target loaded inactive dead
local-fs-pre.target loaded active active
local-fs.target loaded active active
multi-user.target loaded inactive dead
network-pre.target loaded inactive dead
network.target loaded inactive dead
nss-user-lookup.target loaded inactive dead
paths.target loaded active active
remote-fs-pre.target loaded inactive dead
remote-fs.target loaded active active
rescue.target loaded inactive dead
shutdown.target loaded inactive dead
slices.target loaded active active
sockets.target loaded active active
swap.target loaded active active
sysinit.target loaded active active
time-sync.target loaded active active
timers.target loaded active active
umount.target loaded inactive dead
systemd-tmpfiles-clean.timer loaded active waiting
Does anyone have any idea of what might be wrong?
Pertrecho
(1 rep)
Oct 15, 2017, 03:16 PM
• Last activity: Dec 19, 2018, 11:59 PM
0
votes
1
answers
298
views
How to edit Qt4 source and make changes apply
Basically, I have a change to be done in /usr/src/qt/src/src/gui/kernel/qclipboard_x11.cpp There is a 10s timeout that causes apps to hang on shutdown (search the file for the word "reasonable"). Not very reasonable, in fact. For illustration, this is what I want to mitigate - I can't open another i...
Basically, I have a change to be done in
/usr/src/qt/src/src/gui/kernel/qclipboard_x11.cpp
There is a 10s timeout that causes apps to hang on shutdown (search the file for the word "reasonable"). Not very reasonable, in fact.
For illustration, this is what I want to mitigate - I can't open another instance of Okular until the 10 seconds timeout ends.
okular(9173) Okular::Utils::realDpiY: Pix: 1080 MM: 285
okular(9173) Okular::Utils::realDpiX: Pix: 1920 MM: 508
okular(9173) Okular::DocumentPrivate::openDocumentInternal: Output DPI: QSizeF(96, 96.2526)
...
(window is closed)
...
(10 seconds later)
...
QClipboard: Unable to receive an event from the clipboard manager in a reasonable time
Here I should be able to fix it:
XEvent event;
// waiting until the clipboard manager fetches the content.
if (!X11->clipboardWaitForEvent(ownerId, SelectionNotify, &event, /*HERE->*/ 10000, true)) {
qWarning("QClipboard: Unable to receive an event from the "
"clipboard manager in a reasonable time");
}
I've changed this to 3 seconds, which should be much better.
How to make the changes apply?
Is there some makefile to run to rebuild Qt from these sources, or am I doing it completely wrong? I assume there's some qt library object file that needs to be rebuilt, but I can't find a way to do it.
Thanks.
btw. it's Arch install with Xfce, if it's relevant in any way
MightyPork
(1242 rep)
Dec 7, 2014, 02:11 PM
• Last activity: Dec 15, 2018, 10:05 PM
3
votes
0
answers
1920
views
How to launch an application with different Gtk+ 2 theme?
I'm trying to use a dark Gtk+ theme, and everything goes fine with native Gtk+ apps, and well, only with Gtk+ apps. I mean, wxWidgets and Mozilla's apps looks terrible, if not counting unreadability (see screenshot below). Rendering Gtk's buttons and fonts in Qt apps looks bad too. [
gtk-2.0/gtkrc
:
style "moz" {
text[NORMAL] = "#000000"
base[NORMAL] = "#FFFFFF"
}
class "GtkInvisible" style "moz"
apwidget "GtkInvisible" style "moz"
So I came out with this solution: start these apps with a 'fallback' light Gtk+ 2 theme (let's say Adwaita). But launching with something like GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc
could change gtk's PNGs (like buttons and checkboxes), **not** the color scheme:

qtconfig-qt4
).
Here are some of my software versions (I'm using Debian testing):
- Gtk+ 2: 2.24.28
- Gtk+ 3: 3.16.6
- Qt4: 4.8.7
- wxWidgets: 3.0.2 (Audacity's version is 2.0.6)
- Iceweasel (Firefox): 38.1.0
- Icedove (Thunderbird): 31.7.0
Does anyone know how to solve this problem? I would be really glad to see any answer, even if it's specific to only one application.
McSinyx
(591 rep)
Jul 30, 2015, 10:34 AM
• Last activity: Jan 25, 2017, 12:13 PM
4
votes
1
answers
5207
views
How to change QtCurve style/theme without KDE via config file editing?
I have downloaded a QtCurve theme. I do not use KDE, I use a standalone WM (awesome). How do I change QtCurve style/theme via config file editing? Which config file contains this setting?
I have downloaded a QtCurve theme. I do not use KDE, I use a standalone WM (awesome). How do I change QtCurve style/theme via config file editing? Which config file contains this setting?
Danil Gaponov
(143 rep)
Sep 3, 2015, 10:55 PM
• Last activity: May 15, 2016, 04:09 PM
0
votes
1
answers
464
views
On a KDE4 Debian installation, where does the QtCore library install to?
I have installed every possible package that could have to do with QtCore (I think), but the QtCore library is nowhere to be found. Not in `/usr/lib`, not in `/usr/local/lib`, not in `usr/include`... you get the idea. Still, CMAKE gives the location of `QT_QTCORE_LIBRARY_RELEASE` as `QT_QTCORE_LIBRA...
I have installed every possible package that could have to do with QtCore (I think), but the QtCore library is nowhere to be found. Not in
/usr/lib
, not in /usr/local/lib
, not in usr/include
... you get the idea. Still, CMAKE gives the location of QT_QTCORE_LIBRARY_RELEASE
as QT_QTCORE_LIBRARY_RELEASE-NOTFOUND
and since it doesn't show up where I look, I can't tell it otherwise. I have installed qmake, libqtcore4, libqt4-dev and several other packages. To add insult to injury, _I am using the Qt4 version of Cmake._ Am I simply missing the _real_ QtCore package or is the library somewhere incredibly non-obvious?
bootmii
(3 rep)
Apr 14, 2016, 04:41 AM
• Last activity: Apr 14, 2016, 06:23 AM
2
votes
1
answers
694
views
Can't input non-latin characters into skype on OpenSUSE 13.1
I'm currently having an annoying issue with the latest version of Skype 4.3.0.37 (installed from the RPM on a 64bit machine following the official [documentation][1]). For some unknown to me reason, I'm unable to input any character other than English ones (i.e. cyrillic characters would appear some...
I'm currently having an annoying issue with the latest version of Skype 4.3.0.37 (installed from the RPM on a 64bit machine following the official documentation ). For some unknown to me reason, I'm unable to input any character other than English ones (i.e. cyrillic characters would appear something similar to "Ñова е ÑеÑÑ").
When I start Skype from a console I get the following output:
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
I can write in cyrillic on every other program but not in Skype. I've checked
Skype: 4.3.0.37
Qt: 4 64 & 32 bit versions
/usr/share/fonts
and I have fonts installed there so I'm not quite sure what seems to be the problem here. Any ideas on what's missing?
OS: OpenSUSE 13.1x64_84Skype: 4.3.0.37
Qt: 4 64 & 32 bit versions
tftd
(193 rep)
Nov 10, 2014, 05:50 PM
• Last activity: Nov 24, 2014, 11:02 AM
-1
votes
1
answers
1258
views
online installer Qt for chessx on Centos 6.4 compile with qmake
Using `yum install qt` has installed `qt.i686 1:4.6.2-28.el6_5` to my `/usr/share` folder on Centos 6.5 but I need to follow these instructions to get chessx working: > To compile ChessX, you need Qt version 4.2.0 or above. 2. Compilation Compiling the source is simple. Execute: qmake and then make...
Using
yum install qt
has installed qt.i686 1:4.6.2-28.el6_5
to my /usr/share
folder on Centos 6.5 but I need to follow these instructions to get chessx working:
> To compile ChessX, you need Qt version 4.2.0 or above.
2. Compilation
Compiling the source is simple. Execute:
qmake
and then
make
If the compilation is successful you should be able to run ChessX
executable in bin subdirectory. It is called: chessx on Linux,
chessx.app on Mac OS, chessx.exe on Windows
3. Problems
If you have both Qt3 and Qt4 installed, verify that Qt4 is first
on your path. You may check it, running:
qmake -v
But I don't know how to do the above exactly.
chessx I have downloaded and installed in /usr/local/games
as that seems logical to me.How do I set the path to make qmake work?
Read "For simple projects, you only need to run qmake in the top level directory of your project." So the directory above chessx or qt4?
NB: Since found out this is only to install locally where I was attempting to install remotely.
cea
(1573 rep)
Mar 9, 2014, 02:36 AM
• Last activity: Oct 22, 2014, 04:44 PM
1
votes
2
answers
1230
views
Skype does not appear in panel (elementaryOS 0.2)
I had removed skype panel icon with this method : https://askubuntu.com/questions/7479/how-can-i-remove-the-skype-panel-icon-in-ubuntu-12-04-and-earlier/118979#118979 It worked fine, and I was using skype-wrapper to have skype in my messaging menu.. Then skype-wrapper has stopped working and I wante...
I had removed skype panel icon with this method : https://askubuntu.com/questions/7479/how-can-i-remove-the-skype-panel-icon-in-ubuntu-12-04-and-earlier/118979#118979
It worked fine, and I was using skype-wrapper to have skype in my messaging menu.. Then skype-wrapper has stopped working and I wanted to have my skype icon back..
I have reinstalled sni-qt (I never removed it but anyway I did reinstall it.) and I have reinstalled skype too (following this link :https://askubuntu.com/questions/68616/i-installed-sni-qt-and-there-is-no-indicator-for-skype-how-do-i-fix-this) but it didn't do anything..
(I will add that I don't need to whitelist it in dconf editor because I'm using elementaryOS Luna 2.0 and doesn't have a whitelist but a blacklist (which I have checked))
What package sould I add or update ? I tried to update QT libraries unsuccessfully..
Cheers!
ElementaryOS 2.0 Luna, based on Ubuntu 12.04
Startouf
(11 rep)
Dec 3, 2013, 05:08 PM
• Last activity: Oct 8, 2014, 09:41 PM
4
votes
3
answers
3015
views
How to find out what's wrong on all of my Qt programs?
I'm using Arch Linux (Linux 3.13), when I run `qtcreator`, it crashes, and the same happens for other Qt based software: $ qtcreator "Qt Warning - invalid keysym: dead_actute" Segmentation fault (core dumped) $ qtalarm "Qt Warning - invalid keysym: dead_actute" Segmentation fault (core dumped) all m...
I'm using Arch Linux (Linux 3.13), when I run
qtcreator
, it crashes, and the same happens for other Qt based software:
$ qtcreator
"Qt Warning - invalid keysym: dead_actute"
Segmentation fault (core dumped)
$ qtalarm
"Qt Warning - invalid keysym: dead_actute"
Segmentation fault (core dumped)
all my "qt" installed packages are:
gambas3-gb-qt4 3.5.2-1
gambas3-gb-qt4-ext 3.5.2-1
gambas3-gb-qt4-opengl 3.5.2-1
gambas3-gb-qt4-webkit 3.5.2-1
kdebindings-qtruby 4.12.1-1
kdebindings-smokeqt 4.12.1-1
libdbusmenu-qt 0.9.2-2
phonon-qt4 4.7.1-1
polkit-qt 0.103.0-2
poppler-qt4 0.24.5-1
pyqt4-common 4.10.3-1
python2-pyqt4 4.10.3-1
qt4 4.8.5-7
qt5-base 5.2.0-3
qt5-declarative 5.2.0-3
qt5-graphicaleffects 5.2.0-3
qt5-imageformats 5.2.0-3
qt5-jsbackend 5.1.1-5
qt5-location 5.2.0-3
qt5-multimedia 5.2.0-3
qt5-qtsystems-git 20130509-1
qt5-quick1 5.2.0-3
qt5-quickcontrols 5.2.0-3
qt5-script 5.2.0-3
qt5-sensors 5.2.0-3
qt5-serialport 5.2.0-3
qt5-svg 5.2.0-3
qt5-tools 5.2.0-3
qt5-translations 5.2.0-3
qt5-webkit 5.2.0-3
qt5-x11extras 5.2.0-3
qt5-xmlpatterns 5.2.0-3
qtalarm 4700237.6-1
qtchooser 39-1
qtcreator 3.0.0-2
qtwebkit 2.3.3-1
telepathy-qt 0.9.3-7
How can I find out what's wrong (what the cause of the problem is) on my system?
Kokizzu
(10481 rep)
Jan 27, 2014, 06:22 PM
• Last activity: Apr 8, 2014, 01:49 AM
1
votes
0
answers
115
views
Changing order of font style
Is it possible to change the order of font style? ![enter image description here][1] In qtconfig-qt4, the default style was no longer Regular. Is it possible to re-order it? Maybe with something in /etc/fonts/conf.d? Anyone know it? [1]: https://i.sstatic.net/niAle.png
Is it possible to change the order of font style?
In qtconfig-qt4, the default style was no longer Regular. Is it possible to re-order it?
Maybe with something in /etc/fonts/conf.d? Anyone know it?

daisy
(55777 rep)
Apr 21, 2013, 10:14 AM
Showing page 1 of 18 total questions