Questions tagged [qt]

Qt is a cross-platform application development framework widely used for the development of application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while having the power and speed of native applications. Qt is available with both commercial and open source licenses. Questions about programming with Qt should be asked on Stack Overflow.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

Setcap is not allowing qt program to load libraries

For loading libraries I am doing export LD_LIBRARY_PATH=./SupportLibs:$LD_LIBRARY_PATH Loading of libraries fails when any cap abilities is set for qt application, sudo setcap =ep Application If I ...
UNREAL's user avatar
  • 101
0 votes
1 answer
22 views

All Qt GUI applications hang up trying to open or save a file

I use Mint Linux 20.3 on my office workstation, with a custom Qt 5.15.6 build, Qt Creator, and TeXStudio. Some side applications, like the VLC Media Player I use, are also compiled with this Qt build. ...
Andrei Vukolov's user avatar
1 vote
1 answer
124 views

How to force a linux binary to use only its own provided shared libraries?

I'm using an application, PowerISO, that comes with no source code, only its binary and the required shared libraries. I've used it for a number of years on Debian 10, but now I'm on Debian 12, it no ...
jimjamz's user avatar
  • 35
0 votes
0 answers
141 views

Qt5 development libraries for Debian

So, I'm trying to compile VLC myself, as I noticed the Debian package refused to show VA-API support in the settings (and according to intel_gpu_top isn't using it). And while the flatpak version does ...
Richard Rosner's user avatar
0 votes
0 answers
440 views

Install qt 5.15 onto CentOS 7

I have a program I want to compile on Red Hat 7.8 which uses Qt 5.15 features, yet the last available Qt 5 library (from repo's) is Qt 5.9 How can I install Qt 5.15 on CentOS 7 to compile my program? ...
TSG's user avatar
  • 309
0 votes
0 answers
81 views

What is qt6-tools equivalent of qt5-tool uic option?

What is qt6-tools equivalent of qt5-tool uic option? Looking thru qt6-tool help is not so helpful. nov25-1@nov251-desktop:~$ qt6-tools --help Usage: qt6-tools [OPTIONS] COMMAND [ARGS]... Options: --...
Jan Hus's user avatar
  • 101
0 votes
1 answer
123 views

What script does set my QT_AUTO_SCREEN_SCALE_FACTOR env variable to zero by default?

I'm struggling to set default value of QT_AUTO_SCREEN_SCALE_FACTOR in my system (debian bullseye). But it seems that value I put a setter into .profile is ignored. Anyway the environment variale is ...
ardabro's user avatar
  • 475
3 votes
1 answer
667 views

Black out application window on KDE Plasma after long uptime

After using for a long time, application window fails to render application windows. Problem: application screen sometimes blacks out (Attached image) occurs in any application (Chrome, Thunderbird, ...
yuki's user avatar
  • 41
8 votes
1 answer
18k views

how to install qt5 in debian 11 stable?

I'm trying to play an NES emulator named punes, and on its github page, it says I need to configure and build manually. When I do ./configure, I get configure: error: Qt5 library not found. However, ...
xdavidliu's user avatar
  • 1,200
1 vote
0 answers
68 views

luckybackup-pkexec (as root) fails in Linux Mint Cinnamon 20.3

I tested the failure in the terminal of its app's source folder to see the errors. The question is, what is needed to re-install, Qt? because the app has been purged and reinstalled twice. root@...
ineuw's user avatar
  • 43
0 votes
0 answers
3k views

"This application failed to start because no Qt platform plugin could be initialized"

I have created a Kali-Linux environment on Windows using Oracle VM VirtualBox 6.1.32. I've been trying to run wireshark on kali-linux. But when I type wireshark in the terminal, I get this error. I've ...
Sunghyeon Lee's user avatar
3 votes
1 answer
827 views

Qt5's QPA can not connect to my display?

I am trying to launch the Garuda Boot Manager and get this: qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though ...
Ingwie Phoenix's user avatar
0 votes
0 answers
74 views

Arch Linux on Pi4 double display

I'm trying to build a Qt double display Application on Raspberry Pi4 with Arch linux. But my Rasp cannot find the two HDMI displays. " [root@trolly home]# xrandr Can't open display " How can ...
Olly's user avatar
  • 1
1 vote
1 answer
466 views

Is there a way to search for Cygwin packages by command, and then download the package, and all its dependents?

I'm currently trying to use a program called Paml, in Cygwin but to initially configure it I need to use the "qmake" command in a Cygwin which as far as I can tell, seems to be part of the ...
Zerraphin's user avatar
0 votes
0 answers
488 views

How to force resolution in VirtualBox headless mode?

Many will ask why? So, I have some automatic tests implemented using QtTest for my GUI application. I need to trigger them by my CI each time someone commits something. Application needs to be ...
Piotr Zych's user avatar
0 votes
0 answers
69 views

How do I stop "Maintain QT" from appearing on Windows Boot?

Everytime I restart Windows, the QT creator shows up: Also I noticed this is running from this Start Menu/Programs/Startup/ folder, I don't know why this is there: Finally, I noticed that when I ...
Bersan's user avatar
  • 101
1 vote
0 answers
536 views

QT5 theme not applied on my own applications

I set QT_QPA_PLATFORMTHEME=qt5ct at login. Installed applications such as designer and qt5ct itself respect that, and use the theme. However, the applications I make or build myself (e.g. python ...
Gauthier's user avatar
  • 1,235
1 vote
0 answers
2k views

Running a Qt GUI application in Docker on Windows

I have a Docker container based on an Ubuntu 20.04 image. In this Docker container, I want to open a Qt GUI. As host, I am using Windows 10. When having a Linux machine as host, this setup is well ...
Pikkostack's user avatar
0 votes
1 answer
290 views

Running Qt app within WinPE

I'd say this is kind of inbetween both SuperUser and StackOverflow, but I am writing a GUI application using Qt that I would like to run within WinPE. I am well aware that WinPE is a very limited ...
ddybing's user avatar
  • 36
0 votes
0 answers
87 views

Which terminal is that?

While watching Introduction tutorial to Qt / QML I noticed Jesper Pedersen from KDAB seems to be using a Windows terminal which is not that old (classic) DOS command prompt I'm used to. Seems to be ...
KcFnMi's user avatar
  • 604
0 votes
0 answers
160 views

How can I change the last download location in XFCE?

Applications like simple-scan uses one kind of a file-dialog (A) and applications like chromium, telegram, xfce4-screenshooter use some other kind of file-dialog (B). (There are two different kinds of ...
ceremcem's user avatar
  • 605
1 vote
0 answers
404 views

Update all GTK and Qt applications' themes on the fly

I use a tool called oomox to generate GTK themes. After I generate the new theme, I would like to run a command that makes all currently open GTK applications use said new theme. I'm pretty sure ...
KNOB Personal's user avatar
1 vote
0 answers
155 views

MindMaster mind-mapping tool does not show cloud documents

MindMaster, an app for creating mind-maps, does not show cloud documents. Here is the output from running the app from the command line: QPixmap::scaled: Pixmap is a null pixmap QPixmap::scaled: ...
Borivoje Petrovic's user avatar
2 votes
1 answer
760 views

How to set QT_SCALE_FACTOR for Okular?

Okular's UI elements are too big. After some looking I found that QT_SCALE_FACTOR was set to 2 because my laptop's screen is 4K while my external monitor's is not. Even when my laptop's screen is off ...
scribe's user avatar
  • 206
1 vote
2 answers
622 views

QT Creator hangs on opening a file or project

My previously installed QT SDK 1.2.1 was working fine. Then, I tried to upgrade it to QT OpenSource 5.6.1. It was working fine. One day, it started hanging on clicking "File--->Open a New File ...
dashthird's user avatar
0 votes
1 answer
1k views

Qt5 on Wayland - how to set keyboard repeat rate?

I'm running SwayWM. I set the keyboard repeat delay and rate in ~/.config/sway/config as: input * repeat_delay 180 input * repeat_rate 50 This works in everything except Qt5 applications. Qt5 ...
Owen's user avatar
  • 835
2 votes
0 answers
757 views

No matching fbConfigs or visuals found, while openning Qt Creator over SSH

I have Qt 5.12.7 64 installed on Debian 9.12, these are running on vmware on Windows host. Then I use macOS and ssh into debian. And I tried to open Qt Creator and got: $ ~/Qt5.12.7/Tools/QtCreator/...
KcFnMi's user avatar
  • 604
0 votes
0 answers
125 views

Is my graphics driver and opengl properly installed?

I got some suspicious outputs related to graphics and opengl while looking around an install of Debian 9.12 64 on ThinkPad X200s. Perhaps you guys can tell me if the following looks fine? I tried to ...
KcFnMi's user avatar
  • 604
19 votes
2 answers
19k views

Can't skip login in Qt installer?

In the past, I have been able to use the Qt installers & maintenance tool without a login by agreeing to GPL licensing and pressing the skip button. But today I discovered that skip button is no ...
01d55's user avatar
  • 293
4 votes
5 answers
12k views

Which package provides qmake on Fedora?

I'm having trouble determining the Qt package that provides qmake on Fedora 31. I already installed qt5-designer qconf qt5-devel qt5-qtbase qt5-qtbase-devel qt5-qttools qt5-qttools-devel (and ...
jww's user avatar
  • 12.1k
1 vote
0 answers
3k views

Out-File: cannot find part of path

I tried to follow this tutorial that explains how to download a static mingw builder for Qt, but I got this error. I did follow the steps that were mentioned. Does anyone know how to fix this issue? ...
JustProgrammingQuestions's user avatar
1 vote
0 answers
511 views

GTK Dark themes on QT applications?

I'm using Arch Linux with Xfce desktop environment. I want to apply Plata GTK DARK theme for QT apps. I've changed /etc/profile, but I've some bugs with themes. Menu called by right-click is with ...
ProgerSoft's user avatar
2 votes
0 answers
2k views

How to change qt5 color scheme permanently?

I am trying to fix some colors in qt5 applications. I'm using a dark theme and some of the text colors are not bright enough on the dark background. However, I am very confused about how to achieve ...
jost21's user avatar
  • 757
1 vote
0 answers
244 views

VisualStudio2017-Qt5.12.3 - cannot add msvc2017_64

I want to build a Qt GUI app using VS2017, so I installed VS2017 and Qt5.12.3. And also the VS-Qt add-in. But when I setup this, I can't add msvc2017_64 into it. When I click "Add", there is an ...
Object Unknown's user avatar
0 votes
1 answer
93 views

Can't install “qt-examples” and “qt-docs” packages because dependency is too new?

What is wrong with my repository? Why can't I install qt-examples? How do I fix the repository? $ sudo yum install qt-examples [...] Error: Package: 1:qt-examples-4.8.7-2.el7.x86_64 (base) ...
Pulseczar's user avatar
1 vote
0 answers
385 views

Raspberry pi Qt bluetooth module non functional ,dummy backend running

Hello I am working on a project where i use Qt creator on ubuntu 16.04 to cross-compile on raspberry pi 3b +. for my project requirement I need to use Bluetooth with Qt environment hence QtBluetooth ...
user1097885's user avatar
0 votes
1 answer
908 views

Connect to Enterprise WiFi network issue

I configured the Radius Server on Windows Server 2016 and I want to connect to Enterprise WiFi network using my application. I tried to do the following steps: Set the profile without credentials ...
Hunter91151's user avatar
0 votes
1 answer
44 views

buid qt5.4.1 on centos5.5 error

I'm ready build Qt5.4.1 on Centos5.5, according this https://kate-editor.org/2014/12/22/qt-5-4-on-red-hat-enterprise-5/。 and now i got some problem when build qt src。 when i do the make command, it ...
chenc's user avatar
  • 1
1 vote
0 answers
288 views

Error when opening Minergate-gui on Debian 9

I'm trying to install Minergate-GUI on my Debian 9 to mine some coins. I downloaded the Minergate-GUI installation file MinerGate-xFast-GUI-1.5-ubuntu.deb (yes Ubuntu) from the official website and ...
Peter S's user avatar
  • 11
0 votes
1 answer
92 views

Bluetooth characteristics scan

I am developing a bluetooth application for an embedded linux device. On the hardware I have an IMX 6 MCU and EMMY W161 communication module. The operating system is a Yocto Project distribution (Poky)...
jonathan eslava's user avatar
0 votes
0 answers
234 views

Unable to compile out of the box Qt Gui App in the Visual Studio extension C++

I was banging my hand against this wall, attempting to install the qt Visual studio tools, both VS and the Qt extension are the latest 2019 version, with the Qt version 5.13.0: Basically after I've ...
kandabi's user avatar
0 votes
0 answers
2k views

Failed to install Qt on Win10 WSL2 (ubuntu 16.04) with error: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

When i tried to install Qt on WSL2 ubuntu, i got below errors: root@sun-pc:/mnt/e# ls -l qt* -rwxrwxrwx 1 sun sun 157714525 May 30 09:51 qt-creator-opensource-linux-x86_64-4.9.1.run -rwxrwxrwx 1 sun ...
feng's user avatar
  • 101
1 vote
1 answer
571 views

QT android make returns cannot find -lc++

I'm on Pop!_OS (ubuntu based distro) running Qt creator 4.9.2 with Qt 5.13.0 and am currently trying to build an app for android. When I try to build my app for desktop I have no error, but when I try ...
faz95's user avatar
  • 21
1 vote
0 answers
47 views

Source-code-compiled qt on command

Backstory I am using opensuse, there are built-in qt4 and qt5 in my system. I need more complete tools from qt for compiling a file, that’s why I installed from source code via qt website. I have ...
hphys's user avatar
  • 11
0 votes
2 answers
2k views

How do I fix this error in VS Code with Python 3 and Anaconda?

How do I fix the error below, so I can open a .jpg image? Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use: QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen ...
user1055263's user avatar
10 votes
2 answers
11k views

How to suppress QXcbConnection: XCB error

I'm using KDE Plasma under Arch Linux and there are a lot of logs such as kwin_x11[5129]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11416, resource id: 56623191, major code: 20 (...
Frederick Zhang's user avatar
0 votes
1 answer
151 views

Gimp on W10 install qmlexporter.py

Need you help: I installed GIMP 2.10 and wanted to also use the plugin qmlexporter.py but it will not work, just by putting into the plugin folder. Info states:https://doc.qt.io/qtcreator/quick-export-...
CHRIT SCHER's user avatar
0 votes
0 answers
129 views

ْQT Creator to use Desktop kit get Error with :“Application finished with exit code 126.”

I am using the QT Creator for my laptop (Linux LMDE 3 Cindy OS) And for Raspberry Cross-compiling. I have installed the QT based of this instruction and by this setting: mkdir ~/raspi cd ~/...
Soheil Paper's user avatar
1 vote
0 answers
899 views

Qt/Qml Error - Qml module not found(QtQuick.Controls.Material)

I recently decided to try out creating a gui for python with pyside and qml. I installed pyqt5, pyside2, qt designer and qt creator. The code I tried seems to work well, however, when I try to use the ...
jstack123's user avatar
0 votes
0 answers
975 views

QT creator - issues getting started

Just finished my python course and trying to get started making GUI applications. Downloaded the open source QT. Running into problems off the bat. I make a new python window application, and keep ...
Steve Franco's user avatar