Monday, June 8, 2020

Error "Could not open DRM device" running Qt app with platform eglfs in Raspberry Pi

While testing recently cross-compiled Qt libraries (5.15.0) for Raspberry Pi 3 running ArchLinuxARM using a sample application (qopenglwidget) I received error:

Could not open DRM device /dev/dri/card0 (Permission denied)

Saturday, April 4, 2020

Qt Creator: Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable

I've just installed Qt 5.12.7 with offline installer, and having previously setup the Android SDK and NDK, along with Java 8, when starting Qt Creator for the first time the following messages appeared under tab "6 General Messages":


Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
Could not read qmake configuration file /opt/Qt5.12.7/5.12.7/android_armv7/mkspecs/android-clang/qmake.conf.