lawyerssite.blogg.se

Raspberry pi qt full screen problems
Raspberry pi qt full screen problems













#1 0xb6f9df30 in eglCreateWindowSurface () from /opt/vc/lib/libEGL.soįrom /opt/qt5pi/plugins/xcbglintegrations/libqxcb-egl-integration. #0 0xb6fa8624 in platform_get_handle () from /opt/vc/lib/libEGL.so If I use xcb (probably the default otherwise I again get the "QEGLPlatformContext: eglMakeCurrent failed: 3009"Įdit: I tried with commented out dtoverlay and using the LD_PRELOAD command as in the above stackoverflow post, then the application crash with a segfault: Thread 1 "main" received signal SIGSEGV, Segmentation fault.Ġxb6fa8624 in platform_get_handle () from /opt/vc/lib/libEGL.so If I use linuxfb as platform, the application is rendered to the screen, but if I move the mouse, the buttons from the desktop and other windows shine through and it becomes a real mess I get again the error: "Could not find DRM device!". If I am in the raspian GUI and start it $. I forgot to mention that I use raspian buster. Here is the relevant part of my config.summary when cross compiling Qt: EGL. In the console I used to start my app I many times the following error: "QEGLPlatformContext: eglMakeCurrent failed: 3009" The raspberry pi image was generated with Boot2Qt and the Qt version is 5.12.0. If I use the 'cat /dev/input/touchscreen0' on the command prompt, clicking on the touchscreen I got response. a short cut of my application like Ctrl O to open a file, the native open file dialog is opening. The touch screen works correctly since I could calibrate it with the program tscalibrate. However, the application seems to be running fine, because if I use e.g. If I boot into the raspian desktop and try to start it there in a terminal, the application starts, a window border is drawn, but the application is not rendered into the window border.

raspberry pi qt full screen problems

That said, if I start it from the command line interface, I get the error: "Could not find DRM device!" (My main QML has an ApplicationWindow as root item, so it might not work without a window manager, right?) I don't really understand what this line does, so I might also have broken something. I needed to comment out the dtoverlay, as otherwise I get the error "failed to add service - already in use?".

Raspberry pi qt full screen problems driver#

# Enable DRM VC4 V3D driver on top of the dispmanx display stack I should note, that I needed to modify /boot/config.txt However, I encounter problems when starting it on the raspberry. I cross compiled Qt 5.14 and also cross compiled a QtQuick application.













Raspberry pi qt full screen problems