ubuntu 安装qt5.9.3 for arm-linux am335x qt开发1
来源:互联网 发布:ios项目源码下载 编辑:程序博客网 时间:2024/06/01 10:34
安装环境:
host:ubuntu 1404
交叉编译器: arm-linux-gnueabihf-gcc
target borad :am335x
QT版本:qt5.9.3
1、ubuntu下安装qt
qt下载:http://download.qt.io/archive/qt/
下载包为qt-opensource-linux-x64-5.9.3.run
./qt-opensource-linux-x64-5.9.3.run //在ubuntu终端下运行,在crt下错误
- Install g++
Open a terminal and execute the following command to install g++:
sudoapt-getinstallbuild-essential
- Install generic font configuration library - runtime
Open a terminal and execute the following command to install the full runtime files for the generic font configuration library:
sudoapt-getinstalllibfontconfig1
- Configure a compiler
Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.
- Install OpenGL libraries
Execute the following command to install OpenGL libraries:
sudoapt-getinstallmesa-common-dev
Note: Just installing the above-mentioned mesa-common-dev kit is not sufficient for more recent Ubuntu versions. Based on a comment in the Qt forum[1] an additional package needs installation. Execute following command:
sudo apt-getinstall libglu1-mesa-dev-y
linux下安装Qt5.7后添加qmake环境变量后出现错误
执行
1
出现错误:qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory
分析:
qtchooser默认选择路径中没有指向qmake路径
解决方法:
1
2
将第一行中的/usr/lib/x86_64-linux-gnu/qt4/bin/qmake
替代为qmake的路径(我的安装路径/home/yqa1404/Qt5.9.3/5.9.3/gcc_64/bin )
阅读全文
0 0
- ubuntu 安装qt5.9.3 for arm-linux am335x qt开发1
- ubuntu 安装qt5.9.3 for arm-linux am335x qt开发2
- LINUX下QT For ARM开发环境
- 【Qt开发】Qt5.9安装
- AM335x的QT5开发环境搭建-开发板AM335x EVM
- Qt5.7 Qt for Embedded Linux
- Ubuntu下Qt5安装Qt designer
- linux-arm笔记1:ubuntu 下如何安装、破解SecureCRT 软件,连接arm开发板
- 为AM335x+Linux移植SGX+OpenGL+Qt5之完全开发笔记
- 为AM335x+Linux移植SGX+OpenGL+Qt5之完全开发笔记
- qt creator开发arm linux
- Qt for linux 安装
- Ubuntu安装arm版本的Qt遇到error: thread-local storage not supported for this target
- ubuntu 12.04 安装QT5.1
- ubuntu下安装qt5.1
- Qt开发环境(for ARM)的搭建
- Qt for ios开发:Xcode6、Qt5.3.2问题
- linux嵌入式应用开发 - ubuntu eclipse qt/qte x86/arm开发环境搭建
- NVIDIA TK1 学习笔记(3):更新源
- JS 时间与时间戳转换(详解)
- 求两数的最大公约数
- 《算法导论》学习笔记之Chapter10---队列的数组实现
- DesiredCapabilities参数配置及含义
- ubuntu 安装qt5.9.3 for arm-linux am335x qt开发1
- 换钱的方法数
- opencv3 与opencv2不同之处
- WordPress版微信小程序2.4版发布
- centOS6.3下的hadoop2.x基本配置(本地模式和伪分布式模式)
- ubuntu安装pytorch的几个帖子
- c++版查指定位置的素数
- SuperMap大数据GIS 技术白皮书v1.0
- 二进制运算