Questions tagged [qt]
a cross-platform application framework for developing application software
122
questions
0
votes
0
answers
219
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
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
244
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
1
answer
2k
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
1
answer
440
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
1
answer
3k
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 ...
0
votes
1
answer
279
views
PyQt5 / eglfs: Draw call returned Cannot allocate memory. Expect corruption
Rather sure this is not a PyQt specific question, but that's the context.
When attempting to start a PyQt5 from CLI/text mode into eglfs, I am met with the following errors:
QOpenGLFramebufferObject:...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
496
views
Qt Application crashing on Raspberry Pi 3 with Adafruit 2.8" PiTfT touchscreen
I have a adafruit PiTfT 2.8" 320x240 capacitive touch display running on a raspberry pi. I cross compiled my executable under linux, where I also cross-compiled qt. If I run the enclosed example ...
-1
votes
2
answers
5k
views
Run Qt Application on Startup [duplicate]
I want to make my qt project run while booting raspberry pi3. When I searched on the web there is a solution for python. Eventhough I put some code on rc.local, this did not solve my problem.
The ...
1
vote
0
answers
764
views
Qt5.10.1 Cross-Compiled to Raspberry Pi Zero W uses EGLFS instead of XCB
I have been trying to create a GUI application using Qt5 on Raspbian Stretch, but the application doesn't launch correctly unless I specifically tell it to run as XCB. This is fine, as I don't need it ...
0
votes
1
answer
2k
views
C++ GUI development with graph support
So, I am developing a project in the RPi where I will be reading values from a sensor using I2C, and this values will be plotted in real time using a GUI. The project is strictly being developed C++ (...
0
votes
1
answer
275
views
How can i listen to input in very precise manner of microseconds. Like piscope. Using pigpio socket interface, pigs or liberary
I want to get time and count of input pulse in microseconds using pigpio. How can i Listen to gpio pin in spreate thread.
1
vote
0
answers
1k
views
PyQt support for WebEngine on raspberry Pi 3 raspbian-stretch
I have installed PyQt5 for Python3. However while I can import various modules into Python I am finding that none of the WebEngine modules import (WebEngine, WebEngineWidgets, WebEngineCore). They ...
2
votes
1
answer
9k
views
ImportError: No module named 'PyQt5'
I am trying to get the script here to work on Raspberry Pi. I have tested it on Windows and Ubuntu and it works fine. But getting pyqt5 working on RPi seems to be a challenge. On Ubuntu the following ...
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
votes
1
answer
32
views
Variables dont get initialized [closed]
i am programming a GUI with Qt5 that uses 4 buttons that turn a stepper motor.
I just took this setup i found on the internet.
Here is my code:
from PyQt5 import QtCore, QtGui, QtWidgets
from time ...
-1
votes
1
answer
518
views
How can I move my normal c++ main() function code to qt main function?
I have created small normal c++ code to test in raspberry pi which is working perfectly fine on the terminal.Now I want to write it down in qt, the problem here I am facing is I can able to move my ...
1
vote
2
answers
11k
views
Jessie: libEGL warning: DRI2: failed to authenticate
I'm developing an application using Python 3 / PyQt5. Everything seems ship-shape until I try to run the GUI (which is partially reliant on a live graph that is backed by pyqtgraph) on my Raspberry Pi ...
1
vote
1
answer
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
0
answers
1k
views
Malfunction with Qt5 and touch screen on RPi3
I develop a Q5 embedded application on RPi3 and I'm having trouble with the touchscreen.
My problem: The touch area is stretched.
In the picture below, the touch area of the buttons at the corners ...
1
vote
0
answers
929
views
Problems with PyQt5
Quoting:
I developed a similar application using PyQt4 and Qt4-designer. You
have to install pyqt4 all modules:
sudo apt-get install qt4-default qt4-designer qt4-doc qt4-dev-tools
python-...
1
vote
0
answers
292
views
SUID executable doesn't work for `/dev/mem` access
Here is explained how to gain access to the peripheral without being root.
I've just tried in my environment (Raspbian Stretch, RPi2, Qt5.9) in this way:
int main(int argc, char *argv[])
{
...
1
vote
1
answer
571
views
Raspbian or Raspbian Lite for Cross Compiling Qt
I try to follow this guide https://wiki.qt.io/RaspberryPi2EGLFS for cross-compiling Qt. The instructions don't specify whether I need to use the Desktop version or whether also the lite version would ...
1
vote
1
answer
3k
views
Host errors after cross-compilation of Qt 5.9.2
I've cross-compiled Qt 5.9.2 for Raspbian Stretch with the following setup:
git clone -b 5.9 git://code.qt.io/qt/qt5.git
cd qt5
./init-repository
./configure -release -opengl es2 -device linux-rasp-...
1
vote
0
answers
93
views
How to use RF24Mesh on Raspbian in Qt
I want to use the RF24Mesh library in my QT application in Raspbian Jessie.
I can compile the example and run it (with the make command) but when I include libs to my QT app, it gives the error:
...
5
votes
2
answers
32k
views
Installing Qt on Raspberry Pi 3
I'm trying to install Qt Creator to my Raspberry Pi 3 for a GUI project. However when I use the command
sudo apt-get install qt5-default
it gives an error saying that:
E:Unable to fetch some ...
2
votes
1
answer
2k
views
Cross compiling Qt on windows for raspberry pi, missing xcb dependencies
I am trying to start with Qt for Raspberry Pi on a Windows Dev System. To begin with to setup the environment, I followed the below as per the official wiki page.
From starting at various stages, I ...
1
vote
1
answer
704
views
Difference between executing script from terminal vs /etc/rc.local
I am booting my raspberry Pi to Terminal at the moment.
I have a script that I would like to run.
The script looks like this run_gui.sh:
python /home/pi/1.py &
/home/pi/Gui&
If I SSH into ...
14
votes
5
answers
66k
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 ...
1
vote
0
answers
250
views
Cross compiling QT and example program does not find platform
I followed the follwoing guide to cross-compile QT 5.6 on a Ubuntu 16.04 machine for the raspberrypi2 running jessie:
https://wiki.qt.io/RaspberryPi2EGLFS#A_modern_guide_for_cross-compiling_Qt_5....
2
votes
0
answers
2k
views
Live Camera App with Qt
I am trying to write an application using Qt that displays live video from the Pi camera. The Qt example projects "camera" (using QWidgets) and "declarative-camera" (using QML) both run without ...
13
votes
2
answers
64k
views
Qt applications don't work due to libEGL
I am developing some (simple) GUI applications for the RPi2 in Qt5.
The setup:
The code development is performed on a Windows laptop using Netbeans + Qt Designer and remotely built on the RPi running ...
-1
votes
1
answer
962
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
0
answers
155
views
Control kodi from stdin
I wonder if it possible to send characters to the stdin of kodi (i.e. using Qt QProcess::write() to simulate a keyboard.
I did the same with other applications - like omxplayer - and it worked. But ...
0
votes
1
answer
2k
views
QT segmentation fault when using BCM2835 for SPI
I am a novice when it comes to programming. I am attempting to set up SPI communication between a module and my RPI3.
The following is my main.cpp code (I plan to neaten up the code once it works)
#...
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 ...
0
votes
2
answers
6k
views
wiringPiSetup: Must be root (Did you forget sudo ?)
I have a problem when I click run it shows this error
wiringPiSetup: Must be root (Did you forget sudo ?)
I also try to write this on terminal
sudo qtcreator
to open the qtcreator as sudo but ...
3
votes
0
answers
633
views
QML without X11
Is it possible to run QML files without X_Desktop environment in raspbian Jessie for Raspberry Pi3?
I found this tutorial: EGLFS , but I would prefer if it is possible to compile directly on RPi, ...
13
votes
1
answer
19k
views
Turning 'tvservice' on and off leaves screen blank
I'm running the Qt5 application on my raspberry pi and I would like to introduce some kind of a power-saving feature.
I don't use x11 or wayland, because I don't need it, but I use gles2 (OpenGL for ...
6
votes
3
answers
8k
views
Which toolchain for Raspberry Pi 3 and Qt5
Which is the recommended toolchain to cross-compile Qt5.6 for Raspberry Pi 3?
I tried official tools:
https://github.com/raspberrypi/tools
but it seems they don't support the architecture and flag ...
-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
466
views
undefined reference to QCamera constructor
I'm writing a simple camera project for Raspberry Pi, via cross compiler visual studio.
step 1: I created a qt project using visual studio
step 2: coding for project
When coding for project, I ...
0
votes
1
answer
2k
views
Qt 5.5 application using usb device as keyboard and hidraw
I have a specially designed board connected via USB to my Raspberry Pi 3. This board provides a keyboard interface. But it also provides additional USB "reports" that can be retrieved - for sensor ...
5
votes
1
answer
2k
views
Install Qt Framework on Raspberry pi 2 B+ on Windows 10 IoT
Qt embedded system is very useful in this topic but it is not open source, it has a price for every year and it isn't cheap.
Windows 10 IoT is awesome OS, with PowerShell you can start OS with a ...
1
vote
0
answers
1k
views
Deploy Qt 5.6 onto rPi2 with Jessie
I am working on a Qt project for my pi and I have successfully managed to follow this guide to set up a tool chain from Ubuntu to the Rpi:
https://wiki.qt.io/RaspberryPi2EGLFS
However, now I am ...
0
votes
1
answer
248
views
How do I download and install EPICSQt on a Raspberry Pi running Raspbian Jessie?
I am installing EPICS (Experimental Physics and Industrial Control System) in my Raspberry Pi 2 Model B V1.1.
EPICS need to be built in many parts, I have built EPICS Base, SynApps, Extension. Now I ...
2
votes
1
answer
2k
views
Failed to cross compile Qt 5.6 on RPi 2 (fatal error: bcm_host.h: No such file or directory)
I tried to cross compile Qt 5.6 for RPi 2 by following the tutorial RaspberryPi2EGLFS, but I got this error:
qeglfsbrcmintegration.cpp:35:22: fatal error: bcm_host.h: No such file or directory
#...
0
votes
1
answer
104
views
Need libraries and code for LED dotmatrix driven by MAX7219
I'm using Qt on Raspberry Pi 2 and I'm going to connect 8X8 LED dotmatrix driven by MAX7219.
I need libraries and code for that.
1
vote
1
answer
8k
views
Install PyQt4 for Python 3.4
I need to install PyQt4 for Python 3.4. I found that when I try
sudo apt-get install python3-pyqt4
I am prompted by terminal that python3.2 will be installed( which I assume will try to install ...