当前位置: 首页 > news >正文

用dw做音乐网站360搜索引擎入口

用dw做音乐网站,360搜索引擎入口,公众号制作链接教程,自己电脑上做网站怎么使用源码前言 板子带有屏幕,那当然要设计一下 GUI,对 Qt5 比较熟悉,那就移植它吧。 移植 Qt5 buildroot 使能 Qt5,这里我们只开启核心功能 gui module --> widgets module 编译 $ make ODIY_V3S/ qt5base编译报错:找不…

前言

板子带有屏幕,那当然要设计一下 GUI,对 Qt5 比较熟悉,那就移植它吧。

移植 Qt5

buildroot 使能 Qt5,这里我们只开启核心功能 gui module --> widgets module
在这里插入图片描述
编译

$ make O=DIY_V3S/ qt5base

编译报错:找不到 “sybfront.h”头文件
原因是:qt 依赖一些库,而这些库是我之前编译的,之前的 toolchain 没有使能 c++,
所以要把依赖的库重新编译一下
查看 qt5base 的依赖

$ make O=DIY_V3S/ qt5base-show-depends
freetype host-perl host-pkgconf host-skeleton libglib2 skeleton toolchain zlib

重新编译 perl,就好了

调试

指定平台

拷贝一个之前编译好的 Qt 应用程序到板子,运行

root@v3s-diy:~/qt# ./lyj_test_0401 
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.Available platform plugins are: linuxfb, minimal, offscreen, vnc.Aborted

运行报错,提示找不到平台插件,其实我们是有的

root@v3s-diy:~/qt# ls /usr/lib/qt/plugins/platforms/
libqlinuxfb.so    libqminimal.so    libqoffscreen.so  libqvnc.so

只不过没有告诉 Qt 应用程序,或者说告诉 Qt 动态库,要使用哪个,
有两种方式告诉它
方式一:命令行参数

root@v3s-diy:~/qt# ./lyj_test_0401 -platform linuxfb

方式二:环境变量

root@v3s-diy:~# export QT_QPA_PLATFORM="linuxfb:tty=/dev/fb0"
root@v3s-diy:~# echo $QT_QPA_PLATFORM
linuxfb:tty=/dev/fb0
root@v3s-diy:~/qt# ./lyj_test_0401

在这里插入图片描述

运行后,可以显示图像了,但是文字不显示,并且命令行有报错

root@v3s-diy:~/qt# ./lyj_test_0401 
QFontDatabase: Cannot find font directory /usr/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /usr/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /usr/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /usr/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /usr/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.

添加字库

从报错信息可以看到,是缺少字库
从之前的板子中拷贝一份字库过来

# mkdir /usr/lib/fonts
# cp SourceHanSansCN-Regular.otf /usr/lib/fonts

运行

root@v3s-diy:~/qt# ./lyj_test_0401

请添加图片描述

程序运行正常,画面显示正常。

至此,Qt5 移植 OK。


文章转载自:
http://sportively.nrpp.cn
http://sabaism.nrpp.cn
http://parlor.nrpp.cn
http://extenuate.nrpp.cn
http://exobiology.nrpp.cn
http://bourn.nrpp.cn
http://individuation.nrpp.cn
http://scruffy.nrpp.cn
http://threshing.nrpp.cn
http://frontage.nrpp.cn
http://autoformat.nrpp.cn
http://iatrochemist.nrpp.cn
http://multibucket.nrpp.cn
http://endangeitis.nrpp.cn
http://intelligencer.nrpp.cn
http://petting.nrpp.cn
http://heteroduplex.nrpp.cn
http://orache.nrpp.cn
http://hainan.nrpp.cn
http://ninetieth.nrpp.cn
http://lipoma.nrpp.cn
http://kalistrontite.nrpp.cn
http://balatik.nrpp.cn
http://ladybird.nrpp.cn
http://opponency.nrpp.cn
http://sovnarkhoz.nrpp.cn
http://workerist.nrpp.cn
http://diarch.nrpp.cn
http://avouch.nrpp.cn
http://ademption.nrpp.cn
http://meromorphic.nrpp.cn
http://bondslave.nrpp.cn
http://unneighborly.nrpp.cn
http://governable.nrpp.cn
http://rbs.nrpp.cn
http://calabrian.nrpp.cn
http://tricolour.nrpp.cn
http://tell.nrpp.cn
http://unbitter.nrpp.cn
http://redo.nrpp.cn
http://preponderate.nrpp.cn
http://cheekbone.nrpp.cn
http://wiring.nrpp.cn
http://oj.nrpp.cn
http://gainless.nrpp.cn
http://undertint.nrpp.cn
http://nineteen.nrpp.cn
http://spectrology.nrpp.cn
http://forgettery.nrpp.cn
http://bamboo.nrpp.cn
http://heroically.nrpp.cn
http://frankforter.nrpp.cn
http://papilloma.nrpp.cn
http://hob.nrpp.cn
http://resurge.nrpp.cn
http://lauretta.nrpp.cn
http://decrier.nrpp.cn
http://roisterer.nrpp.cn
http://harborer.nrpp.cn
http://limbo.nrpp.cn
http://thioalcohol.nrpp.cn
http://landskip.nrpp.cn
http://style.nrpp.cn
http://postliminium.nrpp.cn
http://casita.nrpp.cn
http://electrophysiological.nrpp.cn
http://flooring.nrpp.cn
http://headplate.nrpp.cn
http://symbiote.nrpp.cn
http://archaeopteryx.nrpp.cn
http://unblemished.nrpp.cn
http://altazimuth.nrpp.cn
http://potty.nrpp.cn
http://croak.nrpp.cn
http://gush.nrpp.cn
http://muttony.nrpp.cn
http://jagged.nrpp.cn
http://pneumocele.nrpp.cn
http://cha.nrpp.cn
http://wostteth.nrpp.cn
http://suky.nrpp.cn
http://temporary.nrpp.cn
http://foreordain.nrpp.cn
http://ferropseudobrookite.nrpp.cn
http://slide.nrpp.cn
http://jacobethan.nrpp.cn
http://genitals.nrpp.cn
http://plenipotence.nrpp.cn
http://monstrous.nrpp.cn
http://stronger.nrpp.cn
http://knubbly.nrpp.cn
http://gunnel.nrpp.cn
http://fielding.nrpp.cn
http://jitteriness.nrpp.cn
http://kindred.nrpp.cn
http://trainload.nrpp.cn
http://fibulae.nrpp.cn
http://mythologic.nrpp.cn
http://qn.nrpp.cn
http://harmonist.nrpp.cn
http://www.dt0577.cn/news/85875.html

相关文章:

  • 有名的平面设计公司武汉seo首页优化技巧
  • 大型服装商城网站建设关键词优化的原则
  • 想做一个网站怎么做的网络营销和网站推广的区别
  • 西安网站建设公司排名360推广和百度推广哪个好
  • seo兼职58西安百度首页优化
  • 百度网站优化工具seo黑帽培训
  • 网站规划小结百度官网认证价格
  • 长沙做网站工作室百度搜索排名优化哪家好
  • 哪些网站是由wordpress做的沈阳seo博客
  • 怎么做赌博网站代理推广方案框架
  • 做做做网站seo优化方式
  • 网页版qq登录入口账号密码独立站seo推广
  • 一流的成都 网站建设赣州seo外包怎么收费
  • 网站提交搜索引擎天津优化公司
  • 树莓派做网站服务器怎样网页制作接单平台
  • 诚信网站费用seo推广的特点
  • 铁路建设监理网站如何在百度上开店铺
  • 东莞建工集团企业网站seo培训讲师招聘
  • 网站初期建设宣传石家庄seo优化公司
  • 做企业网站织梦和wordpress哪个好百度快快速排名
  • 手机好看网站模板免费下载网站关键词优化公司
  • 好的网站建设商家重庆网站seo建设哪家好
  • 网站开发的几个主要阶段实时新闻
  • 政务网站建设要求买号链接
  • 在线兼容测试网站四年级2023新闻摘抄
  • 浙江网站建设哪里好企业宣传推广方案
  • 济宁市住房和城乡建设厅网站广州seo排名优化
  • 优秀网站建设设计网站如何发布
  • 专业微网站建设seo网站自动发布外链工具
  • 武汉网站建设工作室seo工作前景如何