Questions tagged [qt]
Qt is an application and UI framework. The K Desktop Environment is based on QT.
309 questions
1
vote
0
answers
35
views
How can I reliably block GUI-initiated system shutdown when systemd-inhibit only delays terminal shutdown commands?
I'm developing a desktop application using PySide6 for Linux, and I need to prevent or delay system shutdowns that are initiated from the graphical interface. I know that running systemd-inhibit --...
1
vote
0
answers
32
views
Xorg not starting when invoked from Python
I'm creating a display manager (dm) in python, which waits to Xorg to start in order to run the GUI.
Python
(omitted unnecessary code like widgets and classes and functions)
import os
(more imports ...
0
votes
1
answer
122
views
After upgrade to Plasma 6, some icons are blurry
I have a high DPI display. On X11, I scaled the display to 125% by forcing the font DPI to 120 (which is 96*1.25) as a workaround since Plasma's display scaling always caused slight blurriness of ...
0
votes
1
answer
53
views
QXcbConnection: Could not connect to display within a service
I have a shell script that sets environment variables and runs an executable. It looks like this:
export PATH=$PATH:/some/extra/binaries
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/some/extra/lib
cd /...
0
votes
0
answers
378
views
Qt-6-based program needs libxcb-cursor.so.0 - but I don't have a package for that
I'm trying to use a Qt6-based program, namely NVIDIA's Nsight Compute UI, on a machine running SLES 15 SP5 (SUSE Enterprise Linux 2015, service pack 5). No, I can't switch distributions, it's not my ...
1
vote
0
answers
50
views
How to fix Lutris PCSX2 runner errors: libwx_baseu-3.0.so.0 missing and Qt_6.5 not found
When I run the PCSX2 runner in Lutris I get this error in the console and PCSX2 doesn't launch:
PCSX2: error while loading shared libraries: libwx_baseu-3.0.so.0: cannot open shared object file: No ...
0
votes
0
answers
95
views
nvidia nsight compute tool crashes when run as root
I am trying to profile a program that uses CUDA on Alma Linux 9. I've installed Nvidia's nsight compute tool and when I start to try and profile my program, I get an error:
==ERROR== ERR_NVGPUCTRPERM -...
0
votes
0
answers
123
views
QT apps have no text in Ubuntu Mate
I'm running a Mate session on Ubuntu 24.04.4, and noticed that text is missing from all QT applications. The widgets, geometry, theme, is there, but no text.
It's not just text missing from menus, ...
0
votes
0
answers
164
views
Not able to use developer tools by default with Ubuntu 22.04 package `qt6-base-dev`
So currently, the package qt6-base-dev under Ubuntu 22.04 doesn't quite work. All of the developer tools that are in /usr/bin are just symlinks to qtchooser, and apparently, as described here, ...
1
vote
0
answers
157
views
KDE applications configuration - how do they do it?
I've been tackling a project more seriously lately, a project that probably every Linux dev goes through at some point - dotfiles management.
KDE (and it's applications) has a history of resisting ...
0
votes
1
answer
1k
views
Installing libqt4-dev in Debian GNU/Linux 12 (bookworm)
I need Qt 4 for installing a software in debian bookworm. I believe I can install Qt 4 by 'sudo apt install libqt4-dev'. I wanted to know if there are any risks to it. I don't think that would be the ...
1
vote
0
answers
209
views
Remote control and display of embedded Linux devices
Background information - We have two custom embedded Linux devices that both contain their own GUI for operating and controlling each device and it's software/firmware. The devices are class 2 medical ...
0
votes
1
answer
385
views
Running commands using sudo from within a program
I have a c++ qt program (lets call it test_program to make it easier to refer) which runs sudo lsblk using popen and prints the output.
When I run the test_program from within the qt application (the ...
0
votes
0
answers
176
views
Trouble using a Qt 6 application on an older (SLES 15) machine
I'm trying to run an app which apparently uses some Qt6 capabilities on my SLES 15 SP5. When I do that, I get the following error message:
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is ...
0
votes
1
answer
705
views
CMake build can't find Qt6 library in /usr/local
I have an Orange Pi 5, an arm64 SBC running Joshua Riek's Ubuntu 22.04.4 for RK3588 (link to project).
I'm trying to build Duckstation, a PS1 emulator, which depends on Qt 6.6.2. The latest arm64 Qt ...