嵌入式爱好者

查看: 13065|回复: 2

[Linux] 飞凌 imx6ul Qt5.6.2 + linux 4.1.15开发环境搭建说明

[复制链接]

1

主题

2

帖子

45

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3399通行证AM5718通行证AM335x通行证i.MX RT通行证XX18通行证T113i通行证

扫一扫,手机访问本帖
发表于 2021-11-4 09:22:50 | 显示全部楼层 |阅读模式
本帖最后由 Qiankun.G 于 2021-11-4 09:24 编辑

1.安装x86 Qt5.6.2程序(使用root
2.安装 arm-qt5.6.2
    root@ubuntu:/opt# /home/test/Desktop/fsl-imx-x11-glibc-x86_64-meta-toolchain-qt5-cortexa7hf-neon-toolchain-4.1.15-2.0.0.sh
    Freescale i.MX Release Distro SDK installer version 4.1.15-2.0.0
    ================================================================
    Enter target directory for SDK (default: /opt/fsl-imx-x11/4.1.15-2.0.0):
    The directory "/opt/fsl-imx-x11/4.1.15-2.0.0" already contains a SDK for this architecture.
    If you continue, existing files will be overwritten! Proceed[y/N]? y
    Extracting SDK...............................................................................................................................................................done
    Setting it up...done
    SDK has been successfully set up and is ready to be used.
    Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
     $ . /opt/fsl-imx-x11/4.1.15-2.0.0/environment-setup-cortexa7hf-neon-poky-linux-gnueabi
   
     设置环境
    root@ubuntu:/opt# . /opt/fsl-imx-x11/4.1.15-2.0.0/environment-setup-cortexa7hf-neon-poky-linux-gnueabi
   
    启动qt 程序 用root 用户
    root@ubuntu:/opt# Qt5.6.2/Tools/QtCreator/bin/qtcreator
   
   
3.注意:如果编译报错    fatal error: GLES3/gl3.h: No such file or directory则,修改
    root@ubuntu:/opt/fsl-imx-x11# gedit  /opt/fsl-imx-x11/4.1.15-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore/qconfig.h
   
        注释掉
        //#if defined(QT_OPENGL_ES_3) && defined(QT_NO_OPENGL_ES_3)
        //# undef QT_OPENGL_ES_3
        //#elif !defined(QT_OPENGL_ES_3) && !defined(QT_NO_OPENGL_ES_3)
        //# define QT_OPENGL_ES_3
        //#endif
回复

使用道具 举报

2

主题

5

帖子

24

积分

A40i/T3/T507/T527通行证i.MX6UL通行证RK3568通行证

发表于 2022-8-6 08:32:10 | 显示全部楼层
QT5.6.2哪里能找到呢?
点评回复 支持 反对

使用道具 举报

2

主题

5

帖子

24

积分

A40i/T3/T507/T527通行证i.MX6UL通行证RK3568通行证

发表于 2022-8-6 09:09:23 | 显示全部楼层
您好,能否提供QT5.6.2的下载链接?我找不到这个
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-24 00:12

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表