Questions tagged [qt]

a cross-platform application framework for developing application software

Filter by
Sorted by
Tagged with
0
votes
0answers
60 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&...
0
votes
1answer
31 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: ...
0
votes
2answers
49 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 ...
0
votes
1answer
67 views

Download QT 5.12.0 on my Raspberry fails

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 say that i already downloaded ...
0
votes
0answers
79 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 ...
2
votes
0answers
36 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
0answers
77 views

PyQt5 error: QtQuick QtGraphicalEffects is not installed

I installed PyQt5 on the Raspberry pi 4 and I cannot run a script using QML packages because I cannot import packaged like: QtGraphicalEffects 1.12 QtQuick.Controls 2.12 QtQuick.Layouts 1.0 QtQuick....
1
vote
0answers
115 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 ...
0
votes
0answers
223 views

PySide2 not seen by pip

I'm trying to install PySide2 on my RPi 4, and, although the installation was successful, pip3 doesn't recognise it. This then causes issues when installing other packages relying on PySide2. I ...
1
vote
1answer
279 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
1answer
39 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
0answers
154 views

could'nt strat Qt application on X11 (raspberry pi 4 , raspberry pi os lite)

I am using the raspberry pi os lite, I cross compiled Qt5.14.2 on it and before that I installed Xorg and openbox sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit ...
0
votes
1answer
671 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 ...
1
vote
0answers
89 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
1answer
27 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 ...
0
votes
0answers
17 views

Faustlive build error

I am trying to build Faustlive on Raspberry Pi, but I get an error and I do not know how to resolve it. Here are the lines at the end of the build log / command line that should be relevant: /usr/lib/...
0
votes
1answer
402 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
1answer
377 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 ...
1
vote
0answers
21 views

Horizontal lines on qt 5.13 app . Problem doesn't present with virtual screen (chvt) manipulation

I have a full-screen app in kiosk mode that runs on qt 5.13.2 (Qt compiled from source). Up until 1 week ago, it displayed just fine. Then, I did an apt dist-upgrade and I now get horizontal lines ...
1
vote
0answers
146 views

OpenCV cross-compilation fails

I have cross-compiled Qt on my CentOS host for my Raspberry Pi and now I want to cross-compile OpenCV with the following script: CORES=4 IP=192.168.178.52 TEMP_PATH=/home/kampi/OpenCV SYSROOT_PATH=/...
0
votes
0answers
2k views

Could not initialize egl display

I have a CentOS host which should be used to develop Qt applications (version 5.12.8) for a Raspberry Pi. I use the following Raspberry Pi setup: $ cat /proc/cpuinfo ... model name : ARMv7 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
602 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-...
1
vote
0answers
175 views

Cross-compiling QT interface to a Raspberry PI 3

I'm trying to install Qt interface to a Raspberry Pi 3, which raspbian is the "2016-05-27-raspbian-jessie". I didn't want to install, directly, all the packages on the raspberry so as to let ...
0
votes
0answers
411 views

Raspberry pi - QT webenginewidgets problem

I use raspberry pi and QT (version 5.7.1). When I use QT += webenginewidgets , I get an error Project ERROR: Unknown module(s) in QT: webenginewidgets however I try to install -sudo apt-get install ...
1
vote
1answer
311 views

Cross-compile of Qt for Raspberry Pi fails for XCB support with updated toolchain

I had successfully cross-compiled Qt 5.11.2 for Raspbian Buster on Ubuntu 18.04 host mostly using these guides: https://www.ics.com/blog/configuring-qt-creator-raspberry-pi https://wiki.qt.io/...
2
votes
0answers
1k views

Why GLX or EGL is not enabled when running QT program?

To start with I have to say I was trying to make cross-compilation work for Ubuntu with Raspberry Pi 3+ B. I used this tutorial https://wiki.qt.io/RaspberryPi2EGLFS and QT in version 5.12.4. Tried it ...
1
vote
0answers
46 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.
0
votes
0answers
59 views

MFRC522 and Bluetooth not work together

I have a program in which I use pyqt5, MFRC522 and bluetooth. I have 3 threads, one for the interface, one for the MFRC522 and one for the bluetooth. If I run the MFRC522 and the bluetooth separately ...
1
vote
1answer
670 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 ...
0
votes
3answers
624 views

Configure Raspberry pi to run my application before GUI Desktop

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 ...
-1
votes
1answer
150 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
vote
3answers
2k views

How do I build Qt's mysql-plugin on Raspbian Buster

I try to build the MySQL plugin on a Raspbian Buster with C++ and Qt 5.12.4. Building Qt itself worked fine by following this tutorial: https://www.tal.org/tutorials/building-qt-512-raspberry-pi ...
1
vote
1answer
487 views

Failure to build QT5 5.12.3 on Raspberry Pi zero

Following the instructions in https://www.tal.org/tutorials/building-qt-512-raspberry-pi,: wget http://download.qt.io/official_releases/qt/5.12/5.12.3/single/qt-everywhere-src-5.12.3.tar.xz tar xf qt-...
2
votes
0answers
585 views

Qt cross compilation *QOpenGLShaderProgram: could not create shader program* error

I am using the QT Creator for my laptop (Linux LMDE 3 Cindy OS) And for Raspberry Zero Cross-compiling. I have installed the QT based of this instruction and by this setting: mkdir ~/raspi ...
0
votes
0answers
294 views

RaspberryPi2EGLFS guide - EGL/GLES libraries fix fail

I built Qt 5.12.3 for Raspberry Pi following the RaspberryPi2EGLFS guide from Qt Wiki. I was able to reproduce almost each one of the steps described in the guide, but on step 14 (EGL/GLES libraries ...
2
votes
1answer
70 views

Does a binary built on pi 3 will work on pi 2?

I'm building an app on a raspberry pi 3. I'm using Qt. Will the generated binary work on raspberry pi 2? Thanks
1
vote
1answer
818 views

Raspberry Pi 3 B+ QMediaPlayer - unable to play sound

I'm struggling to play audio files using Qt 5.11.3 and the QMediaPayer class. There is no sound output when playing either .mp3 or .wav files. I had some success to play a wav file using QSound class. ...
0
votes
0answers
28 views

The application stalls when the service is loaded at startup

I have RPI3B + with Raspian Stretch on which I run the QT application. When I create my service to launch the application after starting the rpi i have problems.. The application starts and then the ...
1
vote
0answers
188 views

Raspberry Pi Qt toolchain on Ubuntu 16.04

I have issues creating a tool-chain for cross compiling Raspberry Pi 3 Qt applications through Ubuntu. I used directions from this guide, https://wiki.qt.io/Raspberry_Pi_Beginners_Guide, to help me ...
2
votes
0answers
1k views

Latest Qt5 does not provide EGLFS during cross-compilation

Some time ago I set up a Linux host to cross-compile Qt5. I used this configure command: ./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/opt/tools/arm-...
1
vote
1answer
242 views

Qt Userland raspistill/racpicam integration - Unable to find an X11 visual which matches EGL config

I am developing simple gui app for a client on Raspberry pi running Ubuntu(Mate) 16.04 using Qt 5.5.1 and OpenCV for some face recognition (all C++) using 5MP pi camera. The framerate/CPU usage ...
1
vote
2answers
506 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
1answer
191 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 ...
0
votes
0answers
88 views

Can't install development files for QT on RPi Zero W

I've been following this tutorial trying to get working QT cross-compilation from my PC to a Raspberry Pi Zero W. It is failing on Step 5 ("Install a bunch of development files"). Running sudo apt-...
1
vote
1answer
2k 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
1answer
126 views

How to detect if camera is unplugged from CSI bus when it is running?

I am having an issue as below. I make a Qt application to show video got from the camera module. And when showing video, if the camera is unplugged from CSI bus, I must know that and show a warning ...
1
vote
1answer
1k views

Qt 5.11.1 install: run configure with options

I am new to the whole installing via the console thing. I try to install Qt 5.11.1 native on my Raspberry Pi 3 with Raspian Stretch according to this tutorial: http://www.tal.org/tutorials/building-qt-...
1
vote
1answer
373 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 ...
2
votes
1answer
2k views

Access RPi's camera stream in OpenCV C++ (Qt)

I've setup my Raspberry pi 3 B with uv4l and have access to the video stream on http://(raspberry-IP):8080/stream address. Now, I have Qt5(C++) and OpenCV installed on my main computer. How can I ...