Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [qt]

a cross-platform application framework for developing application software

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Disable default bluetooth dialog box for accept pairing in raspberry pi3

I am developing a Bluetooth application using Qt5 on Raspberry Pi3. I have implemented my own Pairing agent which will automatically accept the pairing request from the remote device. The code is ...
0 votes
1 answer
575 views

Running python GUI application with PyQt and python-vlc as a service

I'm trying to run a python GUI application as a service. The application is using PyQt5 and python-vlc packages. I have the following service file: [Unit] Description="Python VLC Service Test&...
1 vote
1 answer
906 views

Download QT 5.12.0 on my Raspberry fails [closed]

I currently have the 5.11.3 Qt Version on my Raspberry 3 B+. For another program, I want to use I need at least Qt 5.12.0. When I try sudo apt-get install qt5-default it says that I already ...
0 votes
1 answer
88 views

compiler linking error GPIO libraries no longer initialising

I am working on a private project and have run into a linking error described below: undefined reference to `gpioSetMode' collect2: error: ld returned 1 exit status I am using g++ and the terminal to ...
2 votes
1 answer
67 views

magnetic field generated by the engine alternator affects gpio value

I am working on a dashboard for a motorcycle. I created a Qt application on my raspberry pi 4 on a raspberry pi os lite. I have configured one of my GPIO as interrupt using the wiringPi library. ...
0 votes
0 answers
49 views

Raspberry Pi 4 with the QT5.15 program running, the resistive touch screen does not respond to pressing

I have Qt5.15 embedded with Linux Raspberry Pi 4. My touchscreen does not respond to pressing. More details: display ids-3210r-40sva1e. ver. Linux pi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT ...
0 votes
2 answers
55 views

Display driver failure in PyQt5 under bookworm

I am running a PyQt5 console GUI (eglfs) application and seeing a problem under bookworm that I was not present under earlier versions of Pi OS. I have observed this behaviour both on a Pi 2 with a ...
2 votes
0 answers
33 views

Waveshare (goodix) touchscreen not working in PyQT eglfs (non-X11) application

I have a Waveshare 4" DSI round touch display, I am using Raspberry Pi OS bookworm to drive this display on a Raspberry Pi 4 Model B. I have the following line added to my /boot/firmware/config....
0 votes
1 answer
230 views

Qt6 compiler binary package

I'm aware I can cross-compile Qt6 on my dev machine or I can build the Qt6 from sources directly on the Rapsberry Pi. But is there any binary package for the compiler? Like when you use the online ...
0 votes
1 answer
57 views

PyQt5 Widget Background Color Incorrect on my Pi

I have searched high and low for this problem, but cannot find anything anywhere. I have Python Version 3.8.10 and PyQt5 version 5.15.10 running in a Virtual Environment on my Py4 with 8Gb Memory ...
2 votes
1 answer
63 views

Compile Qt application on Raspberry Pi and Run that application on other ARM device. Will it work?

I am compiling One Qt application on Raspberry Pi and Run it on different ARM device like Microchip or TI board without compile again. will it work??? if both the side Qt version is same.
1 vote
1 answer
3k views

(Error trying to run qjackctl) libEGL warning: DRI2: failed to authenticate qt5ct: using qt5ct plugin

Running Raspbian installed with NOOBS. qjackctl is installed with all its dependencies using Synaptic. Just trying to run Guitarix on my Pi3 B+. I tried following the instructions in this solution, ...
1 vote
1 answer
2k views

QCamera get error "mesa-loader failed to retrieve device information"

Qt test code: QCamera* camera = new QCamera; auto viewfinder = new QCameraViewfinder(); camera->setViewfinder(viewfinder); viewfinder->show(); camera->start(); Output: mesa-loader failed ...
2 votes
1 answer
1k views

Unable to drag and drop widgets in Qt Designer

I got a Qt 4 installation using sudo apt-get install qtcreator. I am able to get everything to compile using gcc 4.8. However, when it comes to using Qt Designer to edit the UI of a window, Qt ...
1 vote
1 answer
291 views

How to compile Qt 4.8.7 under Debian Bookworm and Bullseye

My Tool BoUML is based on Qt4 with Qt3 support, and I wanted to compile it under Debian Bookworm on my new Pi5. For that I needed first to compile that old QT version from sources, and without ...
2 votes
1 answer
1k views

SIP Generator Error Installing ROS Melodic on Raspberry Pi 4

I've been attempting to install ROS Melodic on my Raspberry Pi 4 (running Raspbian Stretch) according to the instructions on this webpage: [https://www.instructables.com/id/ROS-Melodic-on-Raspberry-...
0 votes
0 answers
112 views

Cross-Compiling Qt6 for Zero 2 W?

I am trying to build a cross compiling setup for the following system configuration: Qt6.5 LTS Running Raspberry Pi OS Lite 64-bit based on Bookworm Host: Ubuntu 22.04.3 LTS on WSL There aren't many ...
0 votes
0 answers
55 views

Dual Monitor on Raspberry Pi4 running Ubuntu 23.1 and KDE Plasma

I have a Pi4 which refuses to display two monitors using Ubuntu 23.10 and KDE Plasma The same Pi shows the 2 monitors using Ubuntu Mate Desktop. I am switching to KDE because I want to use PyQt5 not ...
1 vote
0 answers
51 views

Process/Flow/steps for speeding of the booting time in raspberry pi for the cluster

I am using Raspberry pi for the cluster, that would display the basic data like the CAN data and one wire data. For can I used the Can-Socket and for one wire I am just reading a gpio pin of raspberry ...
0 votes
1 answer
143 views

Pi Zero W goes black screen while running pyqt qml app

I wrote a pyqt5 app that uses QQmlApplicationEngine to load a qml file for the GUI. Now everything runs well on my PC and also on Raspberry Pi4b, but when I am trying to run it on Pi Zero W, it loads ...
1 vote
0 answers
253 views

Example of libcamera with Qt6 in c++?

I'm trying to build a Qt app on my RPi4 using libCamera in c++, but I keep having build/compile issues. Are there any examples of using libCamera in a Qt app in c++? I'm using Raspbian bullseye, and ...
8 votes
2 answers
3k views

QtMultimedia on RaspBerry Pi

I've been trying to get QtMultimedia working on Raspberry Pi for a few weeks now, cross-compiling using the BakeQtPi script, yet the QtMultimedia plugin never seems to find an appropriate service to ...
0 votes
1 answer
4k views

How to install PySide2 on RaspberryPi?

i use this command to install PySide2: $ pip3 install pyside2 and i get this error: ERROR: Could not find a version that satisfies the requirement pyside2 (from versions: none) ERROR: No matching ...
0 votes
1 answer
291 views

How can I use the free version of Qt to create a GUI for the Raspberry Pi?

I am working on a project that requires high-medium quality GUI. I am thinking of cross compiling from Windows to Raspberry Pi or from Ubuntu to Raspberry Pi. Also, I do not know which one of those ...
2 votes
1 answer
465 views

Unable to get Qt5 audio to work using pulseaudio on Rpi 4

I'm on Raspberry pi 4 and the OS is DietPi I configured ALSA so I could play an audio file successfully through HDMI using aplay [an audio file] Then launched the PyQt5 app but got PulseAudioService: ...
2 votes
1 answer
589 views

No audio through 3.5mm jack when using QtMultimedia on RPI4B

I am currently trying to run a PYQT5 GUI on my RPI 4B using PYQT5 and its QtMultimedia. I have 2 speakers (running through an amp) connected through the 3.5mm jack (BMC2835 headphones), and while ...
0 votes
0 answers
158 views

PyQt QSoundEffect not working on Pi 4B

I am having a perplexing difficulty, in that I cannot get my PyQt program to produce any sound. I am able to get sound correctly from the Pi over HDMI using speaker-test and paplay, so I am happy ...
0 votes
1 answer
3k views

install qtcreator kit on raspberry pi 4b - 64 bit

I've tries sudo apt install qtcreator and menu / preferences / add/remove software - search qtcreator, check qtcreator, apply both seem to install qtcreator ok. But it can't find any qt kit. which ...
0 votes
1 answer
204 views

/opt/cmake/bin/cmake no file in the directory

I am installing Qt6 using this guide https://www.tal.org/tutorials/building-qt-62-raspberry-pi and i am stuck in the Configure the Qt 6.2 build portion where it asks me to execute this line /opt/cmake/...
14 votes
5 answers
67k views

PyQt5 on a Raspberry Pi

I have a Raspberry Pi 3 with Raspbian installed, along with a 7" touch screen. I'm in the process of creating an application in Python to read several DS18B20 Thermocouples to monitor the temperature ...
2 votes
2 answers
4k views

How to get qt4 runtime libraries

The latest (stretch) image has dropped all qt4 libraries and has qt5 libraries instead. But I still have A LOT of qt4 software. I have searched the web but every hit tells me how to install the qt4 ...
1 vote
1 answer
1k views

qtcreator desktop kit is greyed out

Its been quite a while since my last raspberry pi project. I went ahead and bought a new Rpi 4B and installed a fresh Raspbian OS on it and installed qt the way i remember it $ sudo apt-get install ...
1 vote
1 answer
7k views

Touchscreen with Qt QML eglfs

The goal is to run QtQuick2 Qt5 applications on the RPI 2B with USB+HDMI resistive touchscreen (7" 800x480 AR1100 http://www.adafruit.com/products/2407). Current state Visual part is fine. Touch ...
0 votes
0 answers
336 views

can we send data or files via wifi from a Raspberry PI using a QT graphical interface to another pc under Windows?

so my Raspberry card is connected to a screen by HDMI, I want to develop an interface using the QT platform under linux to give the order to my Rpi card to send data or files and even to receive ...
1 vote
1 answer
1k views

symbol lookup error: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent

I have cross-compiled executable file from QT 4.8.7. I am running it on a Raspberry PI (Ubuntu), with QT 4.8.7 and QT declarative module installed. When i run the executable file on my raspberry pi, i ...
1 vote
1 answer
452 views

cross compile Qt 5.7 for rpi3 : help needed

i am trying to cross compile QT 5.7 for rpi 3 and following following links for the same: https://www.ics.com/blog/configuring-qt-creator-raspberry-pi https://wiki.qt.io/RaspberryPi2EGLFS on ...
0 votes
2 answers
749 views

Pyqt QCameraInfo.availableCameras() is empty

I'm doing a small project on Raspberry Pi 4. Also, I want to use QtMultimedia to list all cameras on pi, But it returns an empty list. # This is my testing code from PyQt5.QtMultimedia import ...
1 vote
2 answers
879 views

Socketcan and Qt on raspberry pi

Is there a prebuild serialbus library for Raspberry Pi? I would to use QtCanBus in a project. Unfortunately I cannot find any reference for installing the necessary library. tried sudo apt-get ...
0 votes
0 answers
336 views

Run QT5 app (chiaki remote play) on raspberry OS lite

I would like to run Chiaki (Playstation Remote Play https://github.com/Fredrum/chiaki) on my raspberrypi zero WH running raspberrypiOS lite (so no GUI). running chiaki itself on a raspberry pi(zero ...
-1 votes
1 answer
324 views

How to use at the same time 2 hardware pwm in wiringpi

I need help to configure 2 hardware PWM channels. I am developing device, and sometimes I will need active 2 PWM channels with different frequencies (frequencies is low: 410 and 580 Hz).I'm writing ...
-1 votes
1 answer
986 views

QT build error: "WARNING: TARGET is empty" and "make: nothing to be done for "first""

I recently installed qt5 on Raspbian. I'm trying to compile this package so I ranqmake && make. I get these errors: WARNING: TARGET is empty make: nothing to be done for 'first' Before ...
0 votes
2 answers
5k views

installing qt on raspberry pi 4

I'm installing Qt to my raspberry pi-4 for image processing project. I use the commands: sudo apt update uname -a apt-cache search qt5 apt-cache show qt5-default apt-cache search qtcreator apt-cache ...
1 vote
0 answers
331 views

QT Creator - Raspberry Pi - 3.5" TFT - Could not initialize egl display

Please forgive my ignorance but I'm new to Raspberry Pi/Linux. I'm trying to make a touch screen app for the Pi using a 3.5" touch screen (xpt2046) and QT Creator (5.12.5). QT Creator is running ...
2 votes
1 answer
3k views

autostart application on raspberry pi 4 (systemd)

I am working with raspberry pi os lite on raspberry pi 4. I wanted to autostart a Qt application. I created under /etc/systemd/system a .service file named application_one.service this is what the ....
1 vote
1 answer
142 views

Qt Quick cross compiled application didn't show images on raspberry pi 4

I cross compiled Qt5.14.2 for my raspberry pi 4 on a raspberry pi OS lite after that I created a Qt Quick application on my Ubuntu and I integrated images in my qml file Image { id: compteur ...
0 votes
1 answer
1k views

Cross compiling QT 5.14 for raspberry pi 4 [ Could not queue DRM page flip on screen HDMI (invalid argument) ]

I have cross-compiled Qt 5.14 on raspberry pi 4 using ubuntu 18.04 I just followed al the steps of this tutoriel https://www.youtube.com/watch?v=TmtN3Rmx9Rk&t=2538s the code is just right here ...
1 vote
0 answers
208 views

pi4 crashes when running any QT apps like RPi imager, VLC, OBS

when opening for example VLC in stock rpiOS the window that asks for metadata network access opens, but its so large that the text in the menu bar takes almost all of my screen and after some time my ...
0 votes
1 answer
55 views

Updating text file with sensor datas from three different threads

I am getting values from three different sensors connected to Raspberry Pi. I am using a ADC grove to get those data's. I am updating these sensor data with date and time in a text file. The problem ...
-1 votes
2 answers
5k views

Compile and run Qt5 webengine on rpi2/3

I have followed the tuto here : https://wiki.qt.io/RaspberryPi2EGLFS to cross-compile Qt 5.6 for my pi 2. But I did not used the git repo, I have downloaded the source tarball. I checked by running ...
0 votes
1 answer
7k views

Run Qt Application on Raspberry Pi 3

I'm very new to Qt. I want to start developing GUI Qt application in C++ on raspberry pi. I want to start this application in Kiosk mode on boot. I manage to do it, but I encounter the following ...