T
T
trastnikov2019-04-24 11:00:16
PyQt
trastnikov, 2019-04-24 11:00:16

How to run PyQt5 application in kiosk mode on raspberry pi 3 b+?

Good afternoon. I am writing a window application in python for raspberry pi 3 b+ using PyQt5. You will need to run the application when starting the raspberry in kiosk mode. The system image used is
Raspbian Stretch Lite. What needs to be installed additionally and how to set it all up correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2019-04-24
@trastnikov

I myself have not used raspbian, but I assume that everything is + - like in ordinary Linux, therefore:
You need an installed and working X server.
Next, you write exec /path/to/myapplication in ~/.xinitrc,
so you try to start the X server with the startx command.
If everything is ok, you will start the X server and your application

V
Vladimir, 2019-04-24
@vintello

#w.show()
w.showFullScreen()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question