Buildroot Qt 5
/*********************************************************************************
* Buildroot Qt 5
* 说明:
* 试一下在Buildroot编译Qt 5,直接编译出来的文件系统是不用配置一堆的环境的。
*
* 2017-11-22 深圳 南山平山村 曾剑锋
********************************************************************************/ 一、参考文档:
. ArchLinux Qt eglfs
https://www.raspberrypi.org/forums/viewtopic.php?t=79771
. QT5中全屏显示子窗口和取消全屏的方法
http://www.cnblogs.com/chihirosan/p/5139022.html 二、测试说明:
. buildroot中选择需要的Qt模块;
. make clean(最好clean一下,我在没有clean的时候编译有报错);
. Ubuntu安装QtCreator IDE;
. 设置QtCreator Tools --> Options的GCC Compilers、Qt Versions Qmake路径,配置Kits;
. 创建一个HelloWorld工程;
. Build Project,以发行版编译;
. 拷贝编译后的程序到ARM主板上,运行输出信息如下,在屏幕上可以看到一个框框:
# ./HelloWorld
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "". Available platform plugins are: linuxfb, minimal, offscreen. Reinstalling the application may fix this problem.
Aborted
# ./HelloWorld -platform linuxfb
. 在buildroot中可以选中qt-webkit-kiosk模块进行测试
. # qt-webkit-kiosk -platform linuxfb
. # qt-webkit-kiosk --help
This is a simple web-browser working in fullscreen kiosk-mode. Usage: -h --help Print usage and exit
-v --version Print version and exit
-c --config options.ini Configuration INI-file
-u --uri http://www.example.com/ Open this URI, home page
-C --clear-cache Clear cached request data #
. 全屏显示:
setParent();
showFullScreen();
Buildroot Qt 5的更多相关文章
- buildroot linux filesystem 初探
/****************************************************************************** * buildroot linux fi ...
- 【转】基于Qt, TUIO和TSLIB的嵌入式Linux下的多点触摸设计
这个教程描述了在嵌入式linux下使用Qt如何设置一个支持多点触摸和单点触摸的输入系统.这里假定你已经有了对应的驱动程序,驱动可以从触摸屏的厂商那里获得或者使用一个linux 内核源码中已经存在的驱动 ...
- 芯灵思Sinlinx A64 Linux&qt编译安装
开发平台 芯灵思Sinlinx A64 内存: 1GB 存储: 4GB 详细参数 https://m.tb.cn/h.3wMaSKm 开发板交流群 641395230 前提条件搭建好CentOS环境 ...
- 编译x11版本qt
用buildroot 选择x11相关 在选择qt x11版本 export PATH=~/buildroot/output/host/usr/bin:$PATH 进入~/buildroot/out ...
- buildroot制作文件系统
/******************************************************************* * buildroot制作文件系统 * 使用buildroot ...
- qt 多点触摸
http://www.ptrackapp.com/apclassys-notes/embedded-linux-multitouch/ Embedded Linux Multitouch with Q ...
- Buildroot自动化交叉编译工具:其一【转】
转自:http://blog.csdn.net/youyudehexie/article/details/7583657 版权声明:本文为博主原创文章,未经博主允许不得转载. 目录(?)[-] Bui ...
- ARM QT实现多点触摸【转】
转自:http://www.cnblogs.com/sky1991/archive/2013/06/03/3114702.html http://www.ptrackapp.com/apclassys ...
- Buildroot用户指南【转】
本文转载自:http://www.voidcn.com/blog/bytxl/article/p-4727302.html 第一章 关于Buildroot Buildroot是一个包含M ...
随机推荐
- stat用法:获取文件对应权限的数字
题目:文件属性为-rw-r--r-- 对应权限为644,如何使用命令获取权限对应的数字?? 举例如下: [linuxidc@localhost ~]$ ll -l-rw-r--r-- 1 linuxi ...
- Springboot 如何加密,以及利用Swagger2构建Restful API
先看一下使用Swagger2构建Restful API效果图 超级简单的,只需要在pom 中引用如下jar包 <dependency> <groupId>io.springfo ...
- 转载:负载均衡器技术Nginx和F5的优缺点对比
https://blog.csdn.net/zxc456733/article/details/78861100 nginx(一) nginx详解 nginx是一个被广泛使用的集群架构组件,我们有必要 ...
- map/multimap_01
标准的关联式容器 键值对序列 基于key的快速检索能力 key按序排列,按序插入 红黑树变体的平衡二叉树 对key来说支持 mapT[key] 和 mapT.at(key) multimap 不支持 ...
- Caffe 学习系列
学习列表: Google protocol buffer在windows下的编译 caffe windows 学习第一步:编译和安装(vs2012+win 64) caffe windows学习:第一 ...
- spring boot: freemarket模板引擎
spring boot: freemarket模板引擎 freemarket模板引擎,可以和thymeleaf模板引擎共存 pom.xml引入 <!-- Freemarket --> &l ...
- php 8小时时间差的解决方法小结
原来从php5.1.0开始,php.ini里加入了date.timezone这个选项,默认情况下是关闭的 也就是显示的时间(无论用什么php命令)都是格林威治标准时间 和我们的时间(北京时间)差了正好 ...
- 雷林鹏分享:Ruby 环境变量
Ruby 环境变量 Ruby 解释器使用下列环境变量来控制它的行为.ENV 对象包含了所有当前设置的环境变量列表. 变量描述 DLN_LIBRARY_PATH动态加载模块搜索的路径. HOME当没有参 ...
- 手把手教你开发jquery插件
I have said that i dislike jQuery UI’s unified API, so i want to get the instance of the component a ...
- FasfDFS intall nginx with image filter
centOS7 x64 1. install gd-devel 2. ./configure --prefix=/usr/local/nginx --with-http_image_filter_mo ...