How To Develop Qt Applications on Raspberry - Part 1: Toolchain Installation and First Application

preview_player
Показать описание
A complete step by step guide to develop Qt Qml application with Raspberry Pi. It explains how to install toolchain configure Qt Creator and create first application.
If you want to directly download Toolchain configured go to video:
Рекомендации по теме
Комментарии
Автор

I made a new video with configured toolchain ready to download.

vigasan
Автор

why did you installed qt4 at 5:34 ? Qt4 is super old and deprecated.

gokusaiyan
Автор

Hello, i have this error during configuration:

Project ERROR: Cannot run target compiler Output:


Maybe you forgot to setup the environment?

Any idea? Thanks a lot.

GuillaumeB
Автор

I am facing problems in configuration and compilation. it's showing me some error related to preprocessors

MuhammadAwais-cfvr
Автор

I am getting this error on qt

Could not find DRM device!
Remote process crashed.

How can i fix this?

DoGaNKaRaHaN
Автор

when i try to do the file sync with the :/lib sysroot mine doesnt actually do much. it tranfers like 27 bytes with no files on the list.

i'm not sure what i missed but i was pretty sure ive followed your tutorial exactly up unto this point.

geckomage
Автор

At 14:40 to clone the qtbase i get error

fatal: Remote branch 5.12.6 not found in upstream origin

I changed it to 5.12.7 but now I get ./configure errors. so I'm kinda lost here Thanks

trusssrod
Автор

May you help me?
I tried almost everything, when I'm trying to debug the example I get the error : Failed to load EGL device integration "eglfs_kms".
I saw the answer that you've to another user to look at @t, but I can't figure out the problem.
Can you give some steps?

Thank you

eduardofmoura
Автор

Hello, at 23:03 when you show "Download and Install QtCreator (open source)", did you download the online installer from the qt website and install it to the default path /home/Qt? I did this on Ubuntu, but after install I click on the Qt Creator icon but the application will not open. I was able to successfully follow all of your steps in the video up until this point, maybe the path is incorrect or something else? Any ideas?

sebmagd
Автор

what version of ubuntu do you use? Could it be that with a newer one, for example 22.04, I have many failures during the installation steps?

maximilianotorrejon
Автор


returns:
receiving incremental file list
lib -> usr/lib
sent 27 bytes received 57 bytes 9.88 bytes/sec
total size is 7 speedup is 0.08

Any ideas?

matt_
Автор

nice video
i got error when trying to deploy failed to load egl device integration "eglfs_brcm"
could not initialize egl display)) any one know what is it ?

amirahmadi
Автор

I have a USB-Touchscreen and i get the following Error-Messages:

QML debugging is enabled. Only use this in a safe environment.
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu", "eglfs_x11")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_kms", "eglfs_emu", "eglfs_x11")
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_kms"
qt.qpa.egldeviceintegration: Failed to load EGL device integration "eglfs_kms"
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_emu"
qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_emu"
Could not initialize egl display
Aborted

The QT-Documentation kinda tells you what it is, but not how to fix it, any ideas?

crillexyt
Автор

Dear @Vigasan, I have problem build config "Info: creating cache file
ERROR: Invalid command line parameter 'release'." Pi4 B and Ubuntu 20

NKIWLEVN
Автор

Hi, Thx for video,
I get these following errors, when I run program

Could not initialize egl display
Remote process crashed.

Could you pls help?

ugurcanusta
Автор

Is this tutorial still relevant for rpi4 and qt6 ?

gokusaiyan
Автор

If i have finished my qt digital dashboard design can I follow ur procedure to put the qt based dashboard on the rasberry pi and show it on the screen immediatly on after booting?

FirstLast-txyj
Автор

can i use this method for installing toolchain Pi3B+ ?

K.Huynh.
Автор

For the command "make install"

It says no rule for creating "install" please help me : ) nice vid btw

I'm using Rp4 4gb and Ubuntu installed directly on to my pc. Specs: i5 8600k, rtx2070, 500gb storage 16gb ram...

niklasprobst
Автор

Great video! Could you put in the description the commands to follow? thanks!

FrancoNiTro