Ulas Dikme
Ulas Dikme
  • 50
  • 895 239
Qt CrossCompilation with Docker Remote Debugging for RaspberryPi with VScode - Ubuntu Part 2
This is the follow up of czcams.com/video/5XvQ_fLuBX0/video.html first video which is Qt For Raspberry Pi - Qt 6.6.1 Cross Compilation with Docker isolation Easy way !
For more information (steps and files): github.com/PhysicsX/QTonRaspberryPi/blob/main/README.md#cross-development-and-remote-debugging-of-application-with-vscode
How to CrossCompile Application With Docker: (01:08​)
Remote Debug of CrossCompiled Application with VScode : (12:10​)
Remote Debug QML/C++ Application : (22:59​)
www.linkedin.com/in/ulasdikme
Do not copy the video itself or not use for yourself without permission ( for music and content ).
zhlédnutí: 804

Video

Qt For Raspberry Pi - Qt 6.6.1 Cross Compilation with Docker isolation Easy way !
zhlédnutí 2,1KPřed 5 měsíci
In this content, you will find a way to cross-compile Qt 6.6.1 for Raspberry Pi 4 hardware using Docker isolation. CHECK FOLLOW UP VIDEO AND GITHUB PAGE FOR UPDATES! Follow up video for best practices and remote debug with vscode czcams.com/video/RWNWAMT5UkM/video.htmlsi=c2DDESzySSb0N5d2 For more information (steps and files): github.com/PhysicsX/QTonRaspberryPi Intro: (00:00​) Install Docker :...
Test Driven Development - TDD - GoogleTest Introduction with CMake LINUX - C++ - GMOCK
zhlédnutí 5KPřed rokem
First part of the Test Driven Development series - TDD Introduction to GoogleTest with Cmake and C on Linux Examples and more explanation is here : github.com/PhysicsX/ExampleCode/tree/master/googleTest 00:00:00 INTRO 00:01:00 INSTALL GOOGLETEST FROM REPOSITORY 00:03:09 HELLO WORLD EXAMPLE 00:06:10 why do we need test fixture 00:08:35 TEST FIXTURE EXAMPLE 00:13:33 CMAKE INTRO WITH GOOGLETEST 00...
Qt6 for Raspberry pi 4 Cross Compilation with Cmake QML module installation Part II
zhlédnutí 3,3KPřed 2 lety
There is a new up to date tutorial about Qt cross compilation for Rasp with docker in more easy way! Check it out! czcams.com/video/5XvQ_fLuBX0/video.htmlsi=iiR92LvUI-0D_cKP The content is about cross compilation for qt6.3 qtdeclarative module for raspberry pi 4. The video content is part 2. Please watch the first one. czcams.com/video/oWpomXg9yj0/video.html All environment is same with the fir...
Qt6 for Raspberry pi 4 - Cross Compilation with Cmake using Ubuntu VM - Qt6.3.0 Base - Part I
zhlédnutí 15KPřed 2 lety
There is a new up to date tutorial about Qt cross compilation for Rasp with docker in more easy way! Check it out! czcams.com/video/5XvQ_fLuBX0/video.htmlsi=iiR92LvUI-0D_cKP All steps are available: github.com/PhysicsX/QTonRaspberryPi/tree/main/QtRaspberryPi6.3.0 For Cross Compilation with Docker github.com/PhysicsX/QTonRaspberryPi In this video content, you can learn how to cross compile the Q...
Websocket C++ Asynchronous Echo Server -Part II-Difference Synchronous and Asyncronous applications
zhlédnutí 5KPřed 2 lety
In this content, synchronous and asynchronous applications is discuessed and implemente async simple echo websocket server example using boost/beast library. Part I : czcams.com/video/ZSefPfZqxpo/video.html All example will be available soon. Intro: (00:00​) PART 1 DIFFERENCE BETWEEN ASYNC AND SYNC APPLICATIONS : (00:09) PART 2 EXAMPLE ECHO WEBSOCKET ASYNC SERVER : (12:08​) PART 3 HOW TO USE WI...
Introduction to Gstreamer (Gst-launch) for embedded devices raspberry pi jetson nano
zhlédnutí 19KPřed 3 lety
Introduction to Gstreamer command line tool. github.com/PhysicsX/Gstreamer-on-embedded-devices Intro: (00:00​) Part 1 Hello World Example and installation : (01:42​) Part 2 Pi Camera with Gstreamer : (15:09​) Part 3 RTSP example using gstreamer and pi camera: (34:48) Part 4 USB camera with Gstreamer : (42:43) Part 5 OpenCV and Gstreamer with Python : (45:48) Part 6 Shared memory approach betwee...
Python(PyPy) is faster than C++ or NOT !
zhlédnutí 5KPřed 3 lety
Understand the difference between C and python !
C++ Websocket Introduction with Boost library Part 1
zhlédnutí 26KPřed 3 lety
Introduction to websocket using boost/beast library. github.com/PhysicsX/ExampleCode/blob/master/Cpp/websocket3.cpp
Qt6 Installation on Ubuntu from command line - C++ binding example with QProperty - how to Cmake
zhlédnutí 6KPřed 3 lety
Qt6 installation on Ubuntu Cmake example Qproperty example ( object binding ) Intro: (00:00​) Part 1 Qt6 base installation: (01:05​) Part 2 qtcreator and hello world application: (13:50​) Part 3 qtquick package installation: (23:00​) Part 4 object binding with qproperty: (28:05)
Raspberry Pi Pico (RP2040) Introduction with Micropython - Hello World example
zhlédnutí 968Před 3 lety
Raspberry Pi Pico introduction Micropython installation Thonny installation on raspberry pi 4 GPIO - ADC ( built in temprature sensor ) example. Intro: (00:00) Part I - Micropython Compilation on Raspbery pi 4 (00:20) Part II - Upload UF2 file to Pico (04:30) Part III - Hello World Pico & Micropython (07:05) Part IV - Thonny installation and configuration for Micropython (09:00) Part V - Built-...
Raspberry pi pico (RP2040) - Quick introduction - Hello world - Led Blink Example
zhlédnutí 1,6KPřed 3 lety
Raspberry pi pico - quick introduction - led blinking. Raspberry pi pico microcontroller For more video content will be available soon.
Mqtt pub sub example with RYC1001 Raspberry pi Esp8266 and Qt QML
zhlédnutí 1,5KPřed 3 lety
Example of mqtt protocol using RYC1001 cloud with raspberry pi & Esp8266 & mqtt.fx reyax.com/products/ryc1001/ All code example will be available soon. github.com/PhysicsX/QtRaspberryPiExamples/tree/master/QtMqttRaspberryPiEsp8266 Intro: (00:00) Part 1 Introduction to RYC1001 with mqtt.fx tool: (01:38) Part 2 Esp8266 mqtt publish example: (12:47) Part 3 Qt Mqtt example example with QML on Raspb...
Qt for Jetson Nano - Qt 5.15 Cross Compilation Development Environment on Ubuntu Virtual Machine
zhlédnutí 11KPřed 3 lety
Steps: github.com/PhysicsX/QTonRaspberryPi/tree/main/QtJetsonNano5.15.0 Intro: (00:00) Part 1 Ubuntu Virtual Machine Preparation: (00:40) Part 2 Sd Card Preparetion for Jetson Nano ( ubuntu ): (07:50) Part 3 Qt Installation On Virtual Machine: (15:30) Part 4 QtCreator Installation and First Example: (44:55) How to create a Qt Development Environment for Jetson Nano. How to run simple hello worl...
Esp8266 user login screen example with html css javascript and websocket using arduino ide part 1
zhlédnutí 11KPřed 4 lety
Create login screen to hide the information in the server esp8266. Example will be updated. github.com/PhysicsX/Esp8266-32-Examples/blob/master/Esp8266LoginScreen/Esp8266LoginScreen.ino
Number Of Islands solution with BFS C++ Python part 1
zhlédnutí 912Před 4 lety
Number Of Islands solution with BFS C Python part 1
ESP8266 websocket example with hc sr04 ultrasonic sensor ruler css example using arduino ide
zhlédnutí 3,5KPřed 4 lety
ESP8266 websocket example with hc sr04 ultrasonic sensor ruler css example using arduino ide
Raspberry pi 4 remote connection via any webbrowser
zhlédnutí 10KPřed 4 lety
Raspberry pi 4 remote connection via any webbrowser
Socket programming for beginners on raspberry pi 4 using boost asio library
zhlédnutí 8KPřed 4 lety
Socket programming for beginners on raspberry pi 4 using boost asio library
Socket programming for beginners on raspberry pi 4 using boost asio library part 2
zhlédnutí 1,5KPřed 4 lety
Socket programming for beginners on raspberry pi 4 using boost asio library part 2
Crush Course OpenCV Raspberry Pi 4 - Face Detection with Pi Camera - Install Pycharm
zhlédnutí 7KPřed 4 lety
Crush Course OpenCV Raspberry Pi 4 - Face Detection with Pi Camera - Install Pycharm
Qt for Raspberry Pi - Qt 5.14.2 cross compilation for Raspberry Pi 4 model B - Run Qt on Raspberry
zhlédnutí 50KPřed 4 lety
Qt for Raspberry Pi - Qt 5.14.2 cross compilation for Raspberry Pi 4 model B - Run Qt on Raspberry
Machine Learning Regression Example with tensorflow quick start jatson nano animated explanation
zhlédnutí 388Před 4 lety
Machine Learning Regression Example with tensorflow quick start jatson nano animated explanation
Quick Start Machine Learning with Jatson Nano Tensorflow Installation
zhlédnutí 8KPřed 4 lety
Quick Start Machine Learning with Jatson Nano Tensorflow Installation
Dynamic cast c++ Runtime Type Identification example why we use dynamic cast - RTTI
zhlédnutí 4,6KPřed 4 lety
Dynamic cast c Runtime Type Identification example why we use dynamic cast - RTTI
Raspberry pi Speedometer tutorial with Qt QML using LTC 24000 C++ coding
zhlédnutí 19KPřed 4 lety
Raspberry pi Speedometer tutorial with Qt QML using LTC 24000 C coding
Tensorflow installation and object detection example on Raspberrypi 4 model B Complete tutorial
zhlédnutí 10KPřed 4 lety
Tensorflow installation and object detection example on Raspberrypi 4 model B Complete tutorial
For Absolute Beginners C++ in 40 minutes std::vector tutorial
zhlédnutí 295Před 4 lety
For Absolute Beginners C in 40 minutes std::vector tutorial
esp8266 websocket javascript example with css style button using arduino ide - NodeMcu
zhlédnutí 24KPřed 5 lety
esp8266 websocket javascript example with css style button using arduino ide - NodeMcu
C++ vs Java vs Python benchmark on raspberry pi simple file process
zhlédnutí 4,1KPřed 5 lety
C vs Java vs Python benchmark on raspberry pi simple file process

Komentáře

  • @alejomg95
    @alejomg95 Před 5 dny

    Hi Ulas, thanks for the great video. I got the hello world example working but once I tried doing it with my own project I got the following error: Failed to find required Qt component "Mqtt". Expected Config file at "/build/qt6/pi/lib/cmake/Qt6Mqtt/Qt6MqttConfig.cmake" does NOT exist. As you can see I intend to use MQTT in my application. I'm new to this so I don't really have a starting point. I imagine that the dockerfile needs to be slightly modified to clone the Mqtt repository and then configure, build and install it. However I'm not sure how to do this. Would you please help me?

    • @ulasdikme7307
      @ulasdikme7307 Před 3 dny

      Hi, you need to update dockerfile to cross compile mqtt. Then it should work.

  • @gerardoanzora9194
    @gerardoanzora9194 Před měsícem

    Hi buddy, im a beginner with QT, I don't have much idea about the subject, besides that it is a bit difficult to find information about it, could you tell me how can I cross-compile from Linux to Windows? Of a QT project using Cmake? Please

    • @ulasdikme7307
      @ulasdikme7307 Před 3 dny

      Hi, Linux to windows? I recommend you to use virtual machine or docker instead of windows as a os. so you can compile between different hardwares with linux.

  • @ukaszl248
    @ukaszl248 Před měsícem

    When I run ls on the raspberry, I get: "Bookshelf Desktop Documents Downloads drivers HelloQt6 Music Pictures Projekt Public qt-pi-binaries.tar.gz Templates Videos." But when I run ./HelloQt6: -bash, I have an error: "./HelloQt6: No such file or directory" I must have missed something somewhere. I'll try again later. Have you ever encountered something like this? ----- Ok. I used another raspberry and it works without problems. I think I have a different system installed on the first raspberry

  • @R1FighterR1
    @R1FighterR1 Před měsícem

    Hi bro can you help me iam going crazy :D when i take a new project with Creator and take all in the project file it want to build the project gives a error with : ERROR [5/5] RUN cd /home/benz/QTonRaspberryPi/project && /build/qt6/pi/b 7.0s -------------------- ERROR: failed to solve: process "/bin/sh -c cd $repoPath$projectDir && /build/qt6/pi/bin/qt-cmake . -DCMAKE_BUILD_TYPE=Debug && cmake --build ." did not complete successfully: exit code: 1 why ?? i want make a creator project and take all in the project file or how can i do make Creator ui file and build it with docker. CAN I ONLY USE YOUr qml file ??

    • @ulasdikme7307
      @ulasdikme7307 Před měsícem

      Qtcreator ile yapmaya calisiyorsan olmaz video da vscode kullaniliyor, qmake deil cmake kullanman lazim. qmake icinde cmake komutu kosamazsin.

    • @R1FighterR1
      @R1FighterR1 Před měsícem

      @@ulasdikme7307 eyvallah baskan bende creator la kurarken cmake ile kurdum cmake file var yani. En iyi crossfile hangisi misal creator ile kursam yapsam komple projec ti sonra bitirmek

    • @ulasdikme7307
      @ulasdikme7307 Před měsícem

      @@R1FighterR1 ben cmake ve vscode u oneririm, ama hizli bitirryin diyorsan debug yapmayi bosver cmake ile komut satirindan derle istedigin ide yide development olarak kullan. Videoda anlattigim gibide yapabilirsin qtcreator nie kullanmak istiyorsun?

  • @poryaetemady111
    @poryaetemady111 Před 2 měsíci

    thank you so much. One note that need to mention is: in the end extract qt-pi-binaries.tar.gz, the correct location is usr/local/qt6 not usr/local.

  • @amirtaherkhani
    @amirtaherkhani Před 2 měsíci

    how can build all package of qt6.6 in this way ?

  • @edulum1318
    @edulum1318 Před 2 měsíci

    Great video, thanks for sharing! Just subscribed! I managed to crossbuild Qt 6.5.3 (single file with all modules) by tweaking the Dockerfiles. It would be fantastic to see a series incorporating scripts for building/testing or utilizing Jenkins. Looking forward to more content like this!

    • @ulasdikme7307
      @ulasdikme7307 Před 2 měsíci

      Thank you, It is kind of a magic for me too :) If you want to share the script to build whole qt do not hesitate it. I never tried whole build and I do not think that I will have enough time to try. If you share it other people can take as a reference.

    • @edulum1318
      @edulum1318 Před 2 měsíci

      @@ulasdikme7307Thank you for the encouragement! I've made changes to the workspace creating different folders in order to test compatibility with RPI Zero 2 and different versions of Qt. Initially, I tried RPI4 running bookworm 64 lite, using with eglfs instead of xcb. So, once the container generates the tar file, I need to manually install some additional libraries. Let me conduct a few more tests to clarify. Give me a couple of days and II'll get back to you!

    • @ulasdikme7307
      @ulasdikme7307 Před 2 měsíci

      @@edulum1318 Sure take your time 👍

  • @Eckmuhl29
    @Eckmuhl29 Před 3 měsíci

    When I try to take a source with a lower framerate than the camera (e.g. I try to take 30fps with a 60fps camera) I have an error, do you know why?

  • @ponnyao-ek6pl
    @ponnyao-ek6pl Před 3 měsíci

    I sincerely ask God for help. Thank you.I put my jetson orin through rsync and put /usr and /lib into ~/orin/sysroot under wsl ubuntu, and then cross-compile my application, and an error occurred

    • @ponnyao-ek6pl
      @ponnyao-ek6pl Před 3 měsíci

      orinCroosTool.cmake cmake_minimum_required(VERSION 3.10) include_guard(GLOBAL) # Set the system name and processor for cross-compilation set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) # Set the target sysroot and architecture set(TARGET_SYSROOT /home/yao/orin/sysroot) set(TARGET_ARCHITECTURE aarch64-linux-gnu) set(CMAKE_SYSROOT ${TARGET_SYSROOT}) set(CMAKE_FIND_ROOT_PATH ${TARGET_SYSROOT}) set(CMAKE_INCLUDE_PATH ${TARGET_SYSROOT}/usr/include) set(CMAKE_INCLUDE_PATH ${TARGET_SYSROOT}/usr/include/aarch64-linux-gnu) set(CMAKE_LIBRARY_PATH ${TARGET_SYSROOT}/usr/lib) # Add library directories list(APPEND CMAKE_LIBRARY_PATH "${TARGET_SYSROOT}/usr/lib") list(APPEND CMAKE_LIBRARY_PATH "${TARGET_SYSROOT}/lib/aarch64-linux-gnu") list(APPEND CMAKE_LIBRARY_PATH "${TARGET_SYSROOT}/usr/lib/aarch64-linux-gnu") set(CMAKE_INSTALL_RPATH "${TARGET_SYSROOT}/lib/aarch64-linux-gnu") list(APPEND CMAKE_RPATH_LINK_PATH "${TARGET_SYSROOT}/lib/aarch64-linux-gnu") # Add RPATH link directories list(APPEND CMAKE_RPATH_LINK_PATH "${TARGET_SYSROOT}/usr/lib") list(APPEND CMAKE_RPATH_LINK_PATH "${TARGET_SYSROOT}/usr/lib/aarch64-linux-gnu") list(APPEND CMAKE_RPATH_LINK_PATH "${TARGET_SYSROOT}/lib/aarch64-linux-gnu") # Set paths for CUDA libraries set(CUDA_INCLUDE_DIR ${TARGET_SYSROOT}/usr/local/cuda/include) set(CUDA_LIB_DIR ${TARGET_SYSROOT}/usr/local/cuda/lib64) # Configure the pkg-config environment variables set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}/pkgconfig") set(ENV{PKG_CONFIG_LIBDIR} "${TARGET_SYSROOT}/usr/lib/pkgconfig:${TARGET_SYSROOT}/usr/share/pkgconfig:${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}/pkgconfig:${CMAKE_SYSROOT}/usr/lib/pkgconfig") set(ENV{PKG_CONFIG_SYSROOT_DIR} "${CMAKE_SYSROOT}") # Set the C and C++ compilers set(tools /home/yao/orin/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu) set(CMAKE_C_COMPILER ${tools}/bin/${TARGET_ARCHITECTURE}-gcc) set(CMAKE_CXX_COMPILER ${tools}/bin/${TARGET_ARCHITECTURE}-g++) # Define additional compiler flags set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -isystem=${TARGET_SYSROOT}/usr/include -isystem=${TARGET_SYSROOT}/usr/local/include -isystem=${TARGET_SYSROOT}/usr/include/${TARGET_ARCHITECTURE}") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") # Configure CMake find root path modes set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) # Set the install RPATH use and build RPATH set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) set(CMAKE_BUILD_RPATH ${TARGET_SYSROOT}) # Append to CMake library and prefix paths list(APPEND CMAKE_LIBRARY_PATH ${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}) list(APPEND CMAKE_PREFIX_PATH "${CMAKE_SYSROOT}/usr/lib/${TARGET_ARCHITECTURE}/cmake")

    • @ponnyao-ek6pl
      @ponnyao-ek6pl Před 3 měsíci

      CMakeLists.txt cmake_minimum_required(VERSION 3.10) project(yolov5-tensorrt VERSION 0.1 DESCRIPTION "Real-time object detection with YOLOv5 and TensorRT") set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -g -Wall -Wextra -Wno-deprecated -fPIC") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -g -pthread") set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) if(NOT DEFINED CMAKE_LIBRARY_OUTPUT_DIRECTORY) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) endif() find_package(OpenCV REQUIRED) # find_package(CUDA REQUIRED) include_directories(include) file(GLOB SOURCES "src/*.cc") add_executable(camera_detect main_camera.cc ${SOURCES} ) target_include_directories(camera_detect PUBLIC ${OpenCV_INCLUDE_DIRS} ${CUDA_INCLUDE_DIR} ) target_link_libraries(camera_detect nvinfer nvonnxparser ${CUDA_LIB_DIR} ${OpenCV_LIBRARIES} )

    • @ulasdikme7307
      @ulasdikme7307 Před 3 měsíci

      What is the error?

  • @omarmossa3284
    @omarmossa3284 Před 3 měsíci

    part 2: czcams.com/video/rK7-_h8OQ2M/video.htmlsi=wNzW36YwwgfFERuC

  • @samedsucuk
    @samedsucuk Před 4 měsíci

    I am trying to add these modules: qtcharts-everywhere-src-6.6.1 qtquick3d-everywhere-src-6.6.1 qtquicktimeline-everywhere-src-6.6.1 qtquick3dphysics-everywhere-src-6.6.1 For dockerfile. I tried to add as you added in "shader" and "declarative". Then when I get the Docker build: > [22/22] RUN { cd project && /build/qt6/pi/bin/qt-cmake && cmake --build .; }: 0.208 /bin/sh: 1: /build/qt6/pi/bin/qt-cmake: not found ------ Dockerfile:286 -------------------- 285 | 286 | >>> RUN { \ 287 | >>> cd project && \ 288 | >>> /build/qt6/pi/bin/qt-cmake && \ 289 | >>> cmake --build .; \ 290 | >>> } 291 | -------------------- ERROR: failed to solve: process "/bin/sh -c { cd project && /build/qt6/pi/bin/qt-cmake && cmake --build .; }" did not complete successfully: exit code: 127 I get this error at the last stage.

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      there is a build.log file in the container, you can find more info.

    • @jordantrajkov9549
      @jordantrajkov9549 Před 3 měsíci

      @@ulasdikme7307 how we can open that build.log for the container where we cant build the container

    • @ulasdikme7307
      @ulasdikme7307 Před 3 měsíci

      @@jordantrajkov9549 docker cp tmpbuild:/build.log ./build.log it is explained in the github github.com/PhysicsX/QTonRaspberryPi?tab=readme-ov-file#debugging-of-compilation

    • @jordantrajkov9549
      @jordantrajkov9549 Před 3 měsíci

      @@ulasdikme7307 okay thanks mate

  • @cristian8553
    @cristian8553 Před 4 měsíci

    there is a way to do it more easer: do double click on the botton and write on the execution section: dispose(); //if u want to see only the new page nameoftheclass namevariable = new nameoftheclass(); namevariable.setVisible(true);

  • @kadirtunc4664
    @kadirtunc4664 Před 4 měsíci

    Can you make a video for beaglebone black? I really need it. Thanks for the great tutorial.

  • @81MaMoo81
    @81MaMoo81 Před 4 měsíci

    sakın türkçe yapma.

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      hahahah 😁 Turkce de yaparim siz abone olun. Sorun yok. Bu arada yeni docker ile bir tutorial yaptim onu ornek alirsan daha iyi olur bu eski.

    • @81MaMoo81
      @81MaMoo81 Před 4 měsíci

      @@ulasdikme7307 abone oldum. cevap vereceğini hiç düşünmemiştim :) docker de bilmiyorum ki hiç kullanmadım. şimdi ona da bulaşmayayım bu ara çok şey öğrendim-öğreniyorum kafam çorba oldu. Yani benim gibi ingilizce özürlüleri için lütfen Türkçe de yapın.

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      Docker lisi daha kolay. Videoyu izle sadece komutlari kos. Tum bagimliliklari ben hallettim sadece komutlari kosarsan bir kac saat sonra qt compile olmus bir sekilde kullanima hazir olarak bulumacak. Github da komutlar var. Docker dedigim sey sanal makina yerine kucuk izolasyon yaratiyor, rasp a falan ihtiyacin yok tum derlemeyi host da yapabiliosun acayip kolaylik. Takildigin yer olursa sor cevaplarim. Github linki video nun altinda. Turkce cok izlenmiyor dedim bari ingilizce yapayim oda cok izlenmedi hos 😁 Ama dusunuyorum zamanim olursa genel bir video yapacagim turkce

  • @arcrobotics9982
    @arcrobotics9982 Před 4 měsíci

    First of all thank you for your great vidoes i appriceate that you are putting effort to help others, secondly i have tired to follow czcams.com/video/oWpomXg9yj0/video.html but it got me no where since qt6.3.0 is no where to be found plus i even tried it with qt6.5.0 still i can build and compile for the host but the pi build throws tons fo errors plus when i do the last rsync i get this error rsync: [sender] link_stat "/opt/vc" failed: No such file or directory (2) so question is should i follow the tutorial mentioned above with the latest qt and what should i do to solve the /opt/vc i am using raspberry pi 4 4GB running 32bit bullseye lite os and i am running ubuntu22.04 on vm

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      Hey thanks, follow the latest one, I have been keeping this up to date.

  • @Geekforest
    @Geekforest Před 4 měsíci

    Hey Ulas, thanks for the tutorial. I was able to get a basic App running on an RPi 4b with this. EDIT Issue solved, see replies. One question I've got is about extending the packages that are installed in the build image. I want to compile an app that uses libmodbus. So I added "libmodbus-dev \" under the run section of the dockerfile and rebuilt, but it can't seem to find the package during the last step. [22] Is this the right way to add additional packages to the build process or are there more steps that I need to take?

    • @Geekforest
      @Geekforest Před 4 měsíci

      I may have been a bit silly and added these to the dockerfile instead of the DockerFileRasp. Will update if that fixes things.

    • @Geekforest
      @Geekforest Před 4 měsíci

      EDIT: Issue solved: Putting libmodbus-dev \ and libmodbus5 \ into the run sections of the DockerFile and DockerFileRasp seems to fix the errors in the earlier steps. I had a second error related to linking the library during the final step of making the executable the solution was to update where my custom modbus module was looking for it. I put this in the CMAKELISTS files referencing the modbus libraries, it points to where the actual library files ended up in the build image: target_link_libraries(ModbusModule PRIVATE Qt6::Qml /build/sysroot/usr/lib/aarch64-linux-gnu/libmodbus.so)

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      If you add these libraries in dockerfile, then they are installed for ubuntu which is x86 probably, but you need them for rasp. I think binding will be a problem in this case.

  • @nikolaygorashchenko9979
    @nikolaygorashchenko9979 Před 4 měsíci

    Hi! Could you please explain me, why you connect +5v with D22? shouldn't it be D1? Where in sketch is written start pin as 22?

  • @user-gw3wu9vq4x
    @user-gw3wu9vq4x Před 4 měsíci

    Hi, thanks for sharing this video but when i trying to build qtcrossbuild,it gives an error while downloading necessary tar files,here is the error DockerFile:90 /bin/sh :1 :wget: not found. So,how do i solve that ?

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      Hi, I just tested link is working, probably you may have vpn or network configuration which does not allow you to access these links?

    • @user-gw3wu9vq4x
      @user-gw3wu9vq4x Před 4 měsíci

      i have tried with different internet connections but it doesn’t change,i think the error is about missing command of “wget” when the RUN line of tar files in DockerFile.Is there a way to fix it anyway ? Can I download manually these .tar files and implement the docker build ?

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      @user-gw3wu9vq4x I just tested and it is working. You can download them in the same directory where dockerfile exists. Then using COPY command it is possible to copy them to image. But as I told you, if you have problem with internet connection, you can see another issues.

  • @eritongomes8110
    @eritongomes8110 Před 4 měsíci

    I'm with error when run: ./HelloQt6: error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      Hello Eriton, I hope you are fine, If you have the HelloQt6 then you compiled the qt successfully, good! now you need to send qt-pi-binaries.tar.gz to target and extract it and you export LD_LIBRARY_PATH on the target like in the video or in the link below the video. Have you did that?

    • @eritongomes8110
      @eritongomes8110 Před 4 měsíci

      @@ulasdikme7307 Thanks for helping! But I sent qt-pi-binaries.tar.gz to target and extract it and export LD_LIBRARY_PATH. But I show this error.

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      Could you please share with me output of echo $LD_LIBRARY_PATH and sudo find /usr/local -name libQt6Core.so.6 and ldd HelloQt6, lets check together

    • @eritongomes8110
      @eritongomes8110 Před 4 měsíci

      @@ulasdikme7307 Sorry, this tuturial is tar -xvf qt-pi-binaries.tar.gz -C /usr/local, I change to tar -xvf qt-pi-binaries.tar.gz -C /usr/local/qt6 Works fine now! Thanks for helping!!!

    • @ulasdikme7307
      @ulasdikme7307 Před 4 měsíci

      Enjoy.. Do not forget to subscribe, share and like 😇

  • @eritongomes8110
    @eritongomes8110 Před 4 měsíci

    Do you know compile to buildroot using raspberry 4?

  • @eritongomes8110
    @eritongomes8110 Před 4 měsíci

    Hello Teacher!!! Thank for sharing!!! I like a lot your video. The Brazil loves you.

  • @yaspfounder
    @yaspfounder Před 4 měsíci

    Great video thanks a lot!

  • @erenalks2519
    @erenalks2519 Před 4 měsíci

    İngilizcen den türk olduğunu anlamıştım adına da bakınca taşlar yerine oturdu

  • @audiojog
    @audiojog Před 5 měsíci

    wow this is great!! i have stupid question , with the cross compiled binaries of qt6 installed in raspberry pi hardware can we 1. use qt creator (remotely) from a pc 2. or can we have qt creator setup directly on raspberry pi os ? thanks

    • @ulasdikme7307
      @ulasdikme7307 Před 5 měsíci

      Thanks, I have been working on vscode for debugging but It is not working as I expected. I would like to create another video for it if I address the issues. For qtcreator you need to extract syroot and cross toolchain and qt libraries(these are available in the container already as tar file), then you should give the path in qtcreator when you add new device and compiler. You need to run qtcreator on host for remote debugging. Do not forget to subscribe and share ! :)

    • @audiojog
      @audiojog Před 5 měsíci

      @@ulasdikme7307 Sure. Thanks for the promt reply. Eagerly wait for your vs code and qt creator video. Keep up your good work , very helpful. I will try this approach this weekend. I have few follow up questions. If could clarify that would be great. Thanks kindly. 1. For raspberry pi hardware how so we match QEMU image, do you flash the same image as QEMU if yes can you please explain how ?. 2. Can i install QT creator on pi desktop directly and configure the ql libraries after they the compiled libs are sent to the raspberry pi hardware ? basically after cross compilation of qt lib for raspberry pi , can we just use only raspberry pi desktop to write applications?

    • @ulasdikme7307
      @ulasdikme7307 Před 5 měsíci

      @@audiojog 1. This can be selected via dockerfile FROM --platform=linux/arm64 arm64v8/debian:bookworm as rasp. If you check the docker file for raspberry pi, then you can see bookworm type. But becareful, as I explained in the video, because of different hardware it is not possible to match exact os, there will be difference everytime. Related hardware differences(precompiled binaries) can be found directly from rasp repository. It is explained in the video. When I compiled the Qt without docker, I see some differences in the configuration from eglfs perspective with compilation using docker. it is becuase I missed some precompiled libraries probably. But it is fine for now. I will check it later. 2. I do not recommend using any ide or compilation on target device. But yes if you want, you can run it on raspberry pi. It will be slow I think. You have all libraries and related dependencies already to compile and start. Therefore it is against the nature of cross compilation. :)

  • @davidaliaga4708
    @davidaliaga4708 Před 5 měsíci

    In 27.31 you tried so many things that it is confusing how did you solve the problem. I have the same problem (Internal data stream error) but somehow you jumped from that error to /dev/video0 not recognized... and I dont know what you did to do that

  • @maximelebreux2914
    @maximelebreux2914 Před 5 měsíci

    Great tutorial!!

  • @riounathalie2539
    @riounathalie2539 Před 5 měsíci

    Hello Ulas, I no longer see our exchange concerning my problem. I tried docker but it is not satisfactory because the process is too long, I need to debug my windows quickly

    • @ulasdikme7307
      @ulasdikme7307 Před 5 měsíci

      Hi, you can still compile it with vm, but yes docker takes muc longer time you need more ram. But it is easier than solution with vm as long as you have faster computer. Btw I did not show how to debug application with docker? I just showed how to compile? You can still build your development environment with vm using tar files which are produced by docker. If you see last lines in the dockerfile you will see 3 tar files, if you extract them in vm you will have old vm based development environment.

  • @dalesmith8666
    @dalesmith8666 Před 5 měsíci

    Sure would be nice if you could do this with the Microsoft 10 OS. Other words cross compile from windows 10 to RPI4 using the official RPI4 OS of the time. I've done it with Linux a few years ago, and seems that many tutorials want you to use a VM. Not my way of doing things. Please consider and help, probably would be a benefit to many!

    • @ulasdikme7307
      @ulasdikme7307 Před 5 měsíci

      I published new tutorial about how to cross compile with docker. Isolation is good. Maybe it can help. Check my last video.!

  • @abhijeet6989
    @abhijeet6989 Před 5 měsíci

    Hello World from QT Application qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in "" This application failed to start because no Qt platform plugin could be initialized.

  • @abhijeet6989
    @abhijeet6989 Před 5 měsíci

    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. How to correct this error ? This qmake conf file below : # # qmake configuration for odroid boards running 64-bit Linux For Tegra # include(../common/linux_device_pre.conf) QMAKE_INCDIR_POST += \ $$[QT_SYSROOT]/usr/include \ $$[QT_SYSROOT]/usr/include/aarch64-linux-gnu QMAKE_LIBDIR_POST += \ $$[QT_SYSROOT]/usr/lib \ $$[QT_SYSROOT]/lib/aarch64-linux-gnu \ $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu QMAKE_RPATHLINKDIR_POST += \ $$[QT_SYSROOT]/usr/lib \ $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu \ $$[QT_SYSROOT]/lib/aarch64-linux-gnu #QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu/tegra-egl DISTRO_OPTS += aarch64 COMPILER_FLAGS += -march=armv8-a+crypto+crc #EGLFS_DEVICE_INTEGRATION = eglfs_x11 include(../common/linux_arm_device_post.conf) load(qt_config) How to install plugins ? Any resources you refer ?

  • @biskero
    @biskero Před 5 měsíci

    will this work for RPI 5 with raspbian OS and Qt6

    • @ulasdikme7307
      @ulasdikme7307 Před 5 měsíci

      Hi, I made another tutorial abouit it with docker czcams.com/video/5XvQ_fLuBX0/video.htmlsi=iiR92LvUI-0D_cKP It is quite new and easy! I tested with rasp 4 but I am sure it will work for rasp 5. I think they use same image. Give it a try!

    • @biskero
      @biskero Před 5 měsíci

      @@ulasdikme7307 very cool ! will test it on my RPI 4, waiting for the RPI 5 adn will test on it too! thx and great work!

  • @Goktug-rl7yc
    @Goktug-rl7yc Před 6 měsíci

    Bu görüntüyü farklı bilgisayarda nasıl alabilirim? Jetson'a ethernet üzerinden bağlanıp.

  • @edwardchapman1914
    @edwardchapman1914 Před 6 měsíci

    Stuck on fontconfig for cross compiling qtwebengine.. brought over etc/fonts and etc/alternatives in sysroot.. still no good. Arm64 .. I think this is the last step any ideas?

    • @ulasdikme7307
      @ulasdikme7307 Před 6 měsíci

      This tutorial is quite old, because of toolchain you can see some issues, here it is updated version github.com/PhysicsX/QTonRaspberryPi/tree/main/QtRaspberryPi6.6.1 and also I created a very easy way with docker, I recommend you to check this page also github.com/PhysicsX/QTonRaspberryPi/tree/main/QtRaspberryPiWithDocker6.6.1. I will make a video about it soon.

    • @edwardchapman1914
      @edwardchapman1914 Před 6 měsíci

      @@ulasdikme7307 also makes sense to bring over etc/alternatives over with rsync.. I have been weeding though most of the pkg-config pc today.. up to the glib needing pkg and pkg neeeding glib.. anyway I found something strange on bookworm, Pkg-config exists glib returns a 0 on the pi itself .. and that is where it stops on cross compile build.. in the morning I will get out my snow shoes and start walking up that mountain, thanks for you input..

  • @SaMSoN-X
    @SaMSoN-X Před 6 měsíci

    QtQuick not find. WTF?

  • @virenpatelpage
    @virenpatelpage Před 6 měsíci

    Thanks for doing this man. A very crucial factor that students miss out.

  • @riounathalie2539
    @riounathalie2539 Před 6 měsíci

    Hello Ulas, Qt 6.3.0 isn't no more available, so I've tried your tuto with Qt6.2.0 and 6.4.0 and It doesn't work. Compilation is OK on my Host, but cross is not OK, I have many Cmake errors.

    • @ulasdikme7307
      @ulasdikme7307 Před 6 měsíci

      Hi, yes it is quite old. But the way is correct. You need to change toolchain. github.com/PhysicsX/QTonRaspberryPi/tree/main/QtRaspberryPi6.6.1 in this link there is new version, ( while copying the commands, i could made a mistake, but it is working) so if you check carefully, I compiled the toolchain. If you follow the steps, it will work. Currently I am thinking to create a new content about it but lets see.

    • @riounathalie2539
      @riounathalie2539 Před 6 měsíci

      Thanks, I will try your suggestion, I've already spent 3 days of working for the moment...@@ulasdikme7307

    • @riounathalie2539
      @riounathalie2539 Před 5 měsíci

      Hello, I've tried your new tutorial, but I can't compile toolchain - I'm using a raspi 3 - I've mistake with headers_install (not found command) - Can I still use Linearo Tool chain instead ?@@ulasdikme7307

    • @ulasdikme7307
      @ulasdikme7307 Před 5 měsíci

      I shared a new video, with docker you should be able to compile it if you follow the steps, please watch the new one also. Which version of toolchain you use? I tested with rasp 4 there can be differences with rasp 3.

    • @riounathalie2539
      @riounathalie2539 Před 5 měsíci

      Thanks, I'm going to try your new tutorial .I used rpi-gcc-8.3.0 @@ulasdikme7307

  • @srikanth7730
    @srikanth7730 Před 6 měsíci

    Hi.. it's vey good session... I am facing one thing.. cameraundistort by providing settings from C++ API.. From terminal I could run with setting parameters... Will you give any input on this ... helpful

  • @dalesmith8666
    @dalesmith8666 Před 7 měsíci

    JHC MAN! Take some time and slow down!!!! Get off the coffee! TO F-EN FAST!!!LOL!

  • @furkanaltay5200
    @furkanaltay5200 Před 7 měsíci

    Merhaba Tutorial için teşekkürler, bütün adımları uyguladım çalıştı. Fakat, herhangi bir proje oluşturduğumda autocomplete özelliğinin çalışmadığını gördüm. Bu sorunu nasıl çözebilirim. Hi, thanks for the tutorial, I have done all steps respectively and it finally works!. But I have recognized that autocomplete feature doesnt work when I created a sample project. Could you give me an advice about how to solve this problem ?

  • @mohamedhussien4013
    @mohamedhussien4013 Před 7 měsíci

    Thank u so much. But from my experience, it's not a tutorial for beginners (You need to know some basics).

  • @rumpelstiltskin449
    @rumpelstiltskin449 Před 7 měsíci

    Is this what people who develop embedded GUIs professionally do? If so, may Lord be with you, cause you are living hell. It is my like 5th attempt so far to actually cross compile anything. And this one failed as well (can't wget qtbase, don't know why).

    • @ulasdikme7307
      @ulasdikme7307 Před 7 měsíci

      Tutorial is quite old, so it needs update. There is an official tutorial on qt website. I recommend you to check it. If I find time, I will update it. btw I like your playlist.

    • @rumpelstiltskin449
      @rumpelstiltskin449 Před 7 měsíci

      @ulasdikme7307 I was able to download latest qtbase on windows and transfer it to VM, otherwise links didn't respond on VM. Hope I'll get eventually to cross compile "hello world" 🤞. Anyway thanks for explaining the steps in the tutorial, it helps!

  • @longphi-no3vr
    @longphi-no3vr Před 7 měsíci

    code please

  • @WizThis
    @WizThis Před 8 měsíci

    Anyone with the opengl error when building for host - what i did was add the following to cmakelists.txt: set(OpenGL_DIR, "/usr/lib/x86_64-linux-gnu")

  • @giuseppemagliano2200
    @giuseppemagliano2200 Před 8 měsíci

    by following these steps on my raspberry pi 3 model b, can I create the GUI with QT design studio and run it on raspberry? I should do a university project on it

  • @verchik8848
    @verchik8848 Před 8 měsíci

    You are the GOAT! Thank you very much!!!!

  • @imadlatch7206
    @imadlatch7206 Před 8 měsíci

    you are just trying to find the weak point in pypy to prove that c++ always wins, no one would use function to open file a million time at onec. this is a missleading here.

    • @ulasdikme7307
      @ulasdikme7307 Před 8 měsíci

      No I am not looking for any weak points. I saw that in the internet some developers(most of them working in big companies) assume that python is faster than c++ without any examples or with wrong examples. The intention of this video is to show C++ is faster than python. But as I told it, there are other advantages with python too. If you have any examples that python is faster than C++, I will be happy to create content about it :)

    • @imadlatch7206
      @imadlatch7206 Před 8 měsíci

      @@ulasdikme7307 my comment was not meant to prove python is faster than c++ or not , but to complain about the way you used to prove PyPy is slow. anyway python has a different purposes than c++ like Data Analysis/Micro Coding/Web Scraping/Web Development/Magic Functions/etc which c++ can't compite python in fast coding and performance, in the other hand Python can't compite c++ in many cases as well, this is what it should be clarified.

    • @ulasdikme7307
      @ulasdikme7307 Před 8 měsíci

      ​@@imadlatch7206 Okay, then what is the proper case to show the difference? I can use it in my next contents?

  • @ismail_aydemir_mylife
    @ismail_aydemir_mylife Před 9 měsíci

    Sir, you are great.

  • @ismail_aydemir_mylife
    @ismail_aydemir_mylife Před 9 měsíci

    This method is successful because it connects to the same network. So, how is the remote server sent to an HTML page with another IP address? with the same method?

  • @eudorias
    @eudorias Před 9 měsíci

    Ulaş kardeşim eline emeğine sağlık başarılar

  • @benjmerales
    @benjmerales Před 9 měsíci

    Hi @Ulas! Does this installation uses GPU for the Tensorflow?