{"id":13444266,"url":"https://github.com/industrialtablet/qt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588","last_synced_at":"2025-03-20T18:31:57.254Z","repository":{"id":148920380,"uuid":"600982640","full_name":"industrialtablet/qt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588","owner":"industrialtablet","description":"This is the documentation for RK3566 RK3568 RK3588 Tablet and miniPC products","archived":false,"fork":false,"pushed_at":"2023-03-08T10:34:41.000Z","size":38272,"stargazers_count":21,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-28T08:40:01.406Z","etag":null,"topics":["arm64","debian","development","digital-signage","qt","qt-everywhere-src","qt5","qt5-gstreamer","qt5-gstreamer1","qt5-opengl","rk3566","rk3568","rk3588","sbc","single-board-computer","ubuntu2004"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/industrialtablet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-13T05:30:57.000Z","updated_at":"2024-10-13T15:56:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"3bac5567-6b58-4de8-a9d4-6f80db1f3d87","html_url":"https://github.com/industrialtablet/qt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"d37989c472f4c6e5f07f3ececfabef0983059d11"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/industrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/industrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/industrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/industrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/industrialtablet","download_url":"https://codeload.github.com/industrialtablet/qt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244670358,"owners_count":20490958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm64","debian","development","digital-signage","qt","qt-everywhere-src","qt5","qt5-gstreamer","qt5-gstreamer1","qt5-opengl","rk3566","rk3568","rk3588","sbc","single-board-computer","ubuntu2004"],"created_at":"2024-07-31T03:02:23.306Z","updated_at":"2025-03-20T18:31:57.249Z","avatar_url":"https://github.com/industrialtablet.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# This is qt5.14.2 cross-compile package for HYY RK3566 RK3568 RK3588 device with Ubuntu OS\n\nThis is the documentation for RK3566 RK3568 RK3588 10.1inch 10.6inch 14inch 15.6inch Tablet products, written by RSD Team of HYY Technology Co.,Ltd.\n\n# How we config qt5.14.2\nsee config file [here](auto_config.sh)\n```\n#!/bin/bash\n\n../qt-everywhere-src-5.14.2/configure \\\n\t-xplatform linux-arm-som-rk3568 \\\n\t-prefix /media/admin_/RK3568SDK/shadow_build_qt_5.14.2/sysbase/qt5.14.2_install \\\n\t-sysroot /media/admin_/RK3568SDK/rk3588_sysroot \\\n\t-I ~/sysroot/usr/include \\\n\t-L ~/sysroot/usr/lib \\\n\t-L ~/sysroot/usr/lib/aarch64-linux-gnu \\\n\t-L ~/sysroot/lib \\\n\t-release -opensource -confirm-license \\\n\t-opengl es2 \\\n\t-gstreamer 1.0 \\\n\t-skip qtmacextras  -skip qtandroidextras -skip qtlocation -skip qtscxml -skip qtxmlpatterns \\\n\t-skip qtactiveqt -skip qtsensors -skip qtconnectivity -skip webview -skip qtandroidextras \\\n\t-skip qtwebchannel -skip qtpurchasing -skip qtwebglplugin -skip qtwebengine -skip qtremoteobjects \\\n\t-skip qtspeech -skip qtnetworkauth -skip qt3d -skip qtcharts -skip qtgamepad -skip qtdoc \\\n\t-skip qttools -skip qtdatavis3d -skip qtlottie -skip qtmacextras -skip qtquick3d -skip qtwayland -skip qtwinextras \\\n\t-nomake tests -nomake examples \\\n\t-make libs \\\n\t-pch \\\n\t-qt-libjpeg \\\n\t-qt-libpng \\\n\t-qt-zlib \\\n\t-no-sse2 \\\n\t-no-openssl \\\n\t-no-cups \\\n\t-no-glib \\\n\t-no-separate-debug-info \\\n```\n# How we config build support gstreamer 1.0\n1. install build tools on target board [[RK3588 Mainboard (SBC)](https://github.com/pengyixing/RK3588-Development-Board)]\n```\nsudo apt-get install g++-aarch64-linux-gnu on target board\n```\n\n2. Downloard QT qt-everywhere-src-5.14.2.tar.xz and uncompress\n```\ntar xvf qt-everywhere-src-5.14.2.tar.xz\n```\n3. install gstreamer packages on target board [[RK3588 Mainboard (SBC)](https://github.com/pengyixing/RK3588-Development-Board)]\n```\nsudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools\nsudo apt-get install libunwind-dev\n```\n4. Check gstreamer installed on target board [[RK3588 Mainboard (SBC)](https://github.com/pengyixing/RK3588-Development-Board)]\n```\npkg-config gstreamer-1.0 --cflags\n-pthread -I/usr/include/gstreamer-1.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include\n```\n```\npkg-config gstreamer-1.0 --libs\n-lgstreamer-1.0 -lgobject-2.0 -lglib-2.0\n```\n5. gstreamer 1.0 will failed if have no libgstreamer-plugins-base1.0-dev when do configure check on target board [[RK3588 Mainboard (SBC)](https://github.com/pengyixing/RK3588-Development-Board)]\n``` \nsudo apt install libgstreamer-plugins-base1.0-dev\n```\n6. How we config build support ALSA\n```\nsudo apt-get install libasound2-dev\n```\n7. Do config check on target board [[RK3588 Mainboard (SBC)](https://github.com/pengyixing/RK3588-Development-Board)] as below:\n``` \n./configure -release -opensource -confirm-license -gstreamer 1.0\n```\nwill show as below:\n``` \nQt Multimedia:\n  ALSA ................................... yes\n  GStreamer 1.0 .......................... yes\n  GStreamer 0.10 ......................... no\n  Video for Linux ........................ yes\n  OpenAL ................................. no\n  PulseAudio ............................. no\n  Resource Policy (libresourceqt5) ....... no\n  Windows Audio Services ................. no\n  DirectShow ............................. no\n  Windows Media Foundation ............... no\n```\n8. Sync sysroot from target board [[RK3588 Mainboard (SBC)](https://github.com/pengyixing/RK3588-Development-Board)] to host for cross-compile\n``` \nmkdir sysroot sysroot/usr sysroot/opt\nrsync -avz hyy@hyytarget:/lib sysroot\nrsync -avz hyy@hyytarget:/usr/include sysroot/usr\nrsync -avz hyy@hyytarget:/usr/lib sysroot/usr\n```\n9. How we config qmake.conf on Host\n```\ncd /media/admin_/RK3568SDK/shadow_build_qt_5.14.2/qtbase/mkspecs/\nmkdir linux-arm-som-rk3568\ncp linux-aarch64-gnu-g++/* linux-arm-som-rk3568/\n```\nModefied qmake.conf\n```\n#\n# qmake configuration for building with aarch64-linux-gnu-g++\n#\n\nMAKEFILE_GENERATOR      = UNIX\nCONFIG                 += incremental\nQMAKE_INCREMENTAL_STYLE = sublib\n\nQT_QPA_DEFAULT_PLATFORM = linuxfb\nQMAKE_CFLAGS_RELEASE += -O2 -march=armv8-a -lts\nQMAKE_CXXFLAGS_RELEASE += -O2 -march=armv8-a -lts\n\ninclude(../common/linux.conf)\ninclude(../common/gcc-base-unix.conf)\ninclude(../common/g++-unix.conf)\n\nQMAKE_INCDIR_OPENGL_ES2 = /media/admin_/RK3568SDK/openGL/mesa-12.0.5/install/include\nQMAKE_LIBDIR_OPENGL_ES2 = /media/admin_/RK3568SDK/openGL/mesa-12.0.5/install/lib\nQMAKE_LIBS_OPENGL_ES2 = -lglapi -lGLESv2\n\nQMAKE_INCDIR = $$[QT_SYSROOT]/usr/include                             #指定sysroot头文件\nQMAKE_LIBDIR = $$[QT_SYSROOT]/usr/lib                                 #指定sysroot库文件\nQMAKE_LIBDIR += $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu              #指定sysroot库文件\nQMAKE_LIBDIR += $$[QT_SYSROOT]/lib                                    #指定sysroot库文件\n\nQMAKE_CXXFLAGS += -ludev -lffi -std=c++11                                 #链接选项\nQMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib                    #链接sysroot库文件\nQMAKE_LFLAGS += -Wl,-rpath-link $$[QT_SYSROOT]/usr/lib/aarch64-linux-gnu  #链接sysroot库文件\nQMAKE_LFLAGS += -Wl,-rpath-link $$[QT_SYSROOT]/lib                        #链接sysroot库文件\n\n\n\n# modifications to g++.conf\nQMAKE_CC                = aarch64-linux-gnu-gcc\nQMAKE_CXX               = aarch64-linux-gnu-g++\nQMAKE_LINK              = aarch64-linux-gnu-g++\nQMAKE_LINK_SHLIB        = aarch64-linux-gnu-g++\n\n# modifications to linux.conf\nQMAKE_AR                = aarch64-linux-gnu-ar cqs\nQMAKE_OBJCOPY           = aarch64-linux-gnu-objcopy\nQMAKE_NM                = aarch64-linux-gnu-nm -P\nQMAKE_STRIP             = aarch64-linux-gnu-strip\nload(qt_config)\n```\n\n# RK3588 mainboard info for this documentation\n- [RK3588 Mainboard (SBC) Documents](https://github.com/pengyixing/RK3588-Development-Board)\n\n\n\n## Get More technical Support\n\n###### RK3588 Development Board\n\n\\- [RK3588 Development Board](https://github.com/industrialtablet/RK3588-Development-Board)\n\n###### ota upgrade tools(otaStar) and server\n\n\\- [RK3566/RK3568/RK3588 Android OTA upgrade tools and server](https://github.com/tablet-pc/otastar)\n\n###### How Qt5.14.2 cross-compile\n\n\\- [RK3588 Qt5.14.2 cross-compile for Ubuntu and Debian Linux OS](https://github.com/pengyixing/qt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588)\n\nBuild Videorecorder Bundle use Networkoptix Client on HYY H-3588 Tablet\n\n\\- [Build Videorecorder Bundle use Networkoptix Client](https://github.com/industrialtablet/Build-Videorecorder-Bundle-use-Networkoptix-Client-on-HYY-RK3566-Tablet)\n\nBuild new ubuntu rootfs for HYY H-3588 Tablet\n\n-[Build new ubuntu rootfs for RK3566 RK3568 RK3588 products](https://github.com/industrialtablet/Re-build-ubuntu20.04-rootfs-for-RK3566-RK3568-RK3588)\n\n\n\n# Contacts\n\n- Website: www.we-signage.com\n- https://we-signage.en.made-in-china.com/\n- E-mail: dennis@we-signage.com\n- MP/Whatsapp/Wechat: + 86 13349909990\n- Skype: solled686","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findustrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findustrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findustrialtablet%2Fqt-everywhere-src-5.14.2-cross-compile-for-RK3566-RK3568-RK3588/lists"}