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
1 vote
1 answer
253 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, ...
user avatar
  • 330
0 votes
0 answers
12 views

Where is Qt installed on Mac?

I have just did brew install qt and now I am looking for where Qt is installed. Does anybody know where is the Qt directory? I don't know how to find it.
user avatar
0 votes
0 answers
20 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@...
user avatar
  • 13
0 votes
0 answers
27 views

System-wide stylesheet override for Qt applications on Linux

Many Qt applications come without option to set dark/custom theme within them. I found a way to override stylesheet for single application using -stylesheet command line option. Is there a way to make ...
user avatar
  • 359
0 votes
0 answers
592 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 ...
user avatar
2 votes
0 answers
290 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 ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
  • 1
0 votes
1 answer
63 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 ...
user avatar
0 votes
0 answers
117 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 ...
user avatar
0 votes
0 answers
17 views

Wacom tablet clicks are mispostioned on some (Qt?) UI elements

I have a Wacom tablet and stylus which works on Ubuntu. However, some UI elements receive mispositioned clicks. e.g. Firefox (which uses gtk) receives clicks correctly, but Krita (which uses Qt) ...
user avatar
  • 1,930
0 votes
0 answers
31 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 ...
user avatar
  • 101
1 vote
0 answers
137 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 ...
user avatar
  • 1,158
0 votes
0 answers
35 views

Metacity configured in composition mode shows a gray background on the LCD displays

Within my bash script I replace the Window Manager on Linux to Metacity, the source code is: metacity --replace --composite & This script is executed on a Red Hat 7 platform. For some reasons the ...
user avatar
0 votes
0 answers
574 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 ...
user avatar
0 votes
1 answer
121 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 ...
user avatar
  • 36
0 votes
0 answers
68 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 ...
user avatar
  • 524
0 votes
0 answers
69 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 ...
user avatar
  • 495
1 vote
0 answers
120 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 ...
user avatar
1 vote
0 answers
125 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: ...
user avatar
2 votes
0 answers
213 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 ...
user avatar
  • 176
1 vote
2 answers
235 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 ...
user avatar
0 votes
1 answer
472 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 ...
user avatar
  • 803
2 votes
0 answers
646 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/...
user avatar
  • 524
0 votes
0 answers
50 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 ...
user avatar
  • 524
18 votes
1 answer
16k 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 ...
user avatar
  • 283
4 votes
5 answers
8k 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 ...
user avatar
  • 11.2k
1 vote
0 answers
2k 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? ...
user avatar
1 vote
0 answers
330 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 ...
user avatar
2 votes
0 answers
819 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 ...
user avatar
  • 517
1 vote
0 answers
165 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 ...
user avatar
0 votes
1 answer
56 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) ...
user avatar
1 vote
0 answers
276 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 ...
user avatar
0 votes
1 answer
490 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 ...
user avatar
0 votes
1 answer
32 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 ...
user avatar
  • 1
1 vote
0 answers
267 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 ...
user avatar
  • 11
0 votes
1 answer
40 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)...
user avatar
0 votes
0 answers
183 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 ...
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 ...
user avatar
  • 1
1 vote
1 answer
518 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 ...
user avatar
  • 21
1 vote
0 answers
38 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 ...
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 ...
user avatar
10 votes
1 answer
9k 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 (...
user avatar
0 votes
1 answer
133 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-...
user avatar
0 votes
0 answers
68 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 ~/...
user avatar
1 vote
0 answers
628 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 ...
user avatar
0 votes
0 answers
832 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 ...
user avatar
7 votes
3 answers
21k views

qtpy.PythonQtError: No Qt bindings could be found

I had anaconda running on my machine. few days ago i had to update some of the libraries because they were outdated. after the update, I was not able to launch anaconda-navigator or spyder anymore due ...
user avatar
  • 73
1 vote
1 answer
257 views

QT scaling in ubuntu gnome creates big fonts

I'm using Ubuntu 16.04 with gnome, and I'm having scaling problems with some QT applications (VLC, TexStudio). I use a HiDPi external screen and when I disconnect my laptop from the external screen, ...
user avatar
  • 11
1 vote
1 answer
147 views

Drag'n'drop doesn't work if app launched via python script from windows powershell

I have a QT app that I download and launch on Windows. If I launch it manually from Windows Explorer, I can use drag&drop to load files. If I launch the very same app via a python script from ...
user avatar
  • 308
1 vote
0 answers
22 views

Compilation issues on a shared project (Qt)

I'm working on an already existing project. So the project folders and files are located in a shared folder (read, write and execute permission for everyone) on the development PC. The project runs ...
user avatar
  • 11