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

汝州网站建设推广平台软件有哪些

汝州网站建设,推广平台软件有哪些,呼和浩特建设委员会网站,网站后台管理系统源代码目录 本地环境问题描述分析解决方案 本地环境 本文将不会解释如何利用Qt5编译生成release类型的可执行文件以及如何利用windeployqt生成可执行的依赖库,请自行百度。 环境值操作系统Windows 10 专业版(22H2)Qt版本Qt 5.15.2Qt Creator版本5.0…

目录

    • 本地环境
    • 问题描述
    • 分析
    • 解决方案

本地环境

本文将不会解释如何利用Qt5编译生成release类型的可执行文件以及如何利用windeployqt生成可执行的依赖库,请自行百度。

环境
操作系统Windows 10 专业版(22H2)
Qt版本Qt 5.15.2
Qt Creator版本5.0.2
编译器版本g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 7.3.0
发布类型release
windeployqt 版本Qt Deploy Tool 5.12.12

问题描述

编写完程序后直接利用Qt Creator发布release版本的可执行文件(exe后缀),随后再执行如下命令获取与可执行文件相关的依赖库:

windeployqt [可执行文件]

发现确实生成一大堆*.dll,总目录大小高达900+MB:
在这里插入图片描述

双击*.exe文件,提示无法定位程序输入点_ZN10QArrayData10deallocateEPs_yy
在这里插入图片描述

分析

起初,以为是编译器版本不对的问题,仔细对比了我用windeployqt工具时进入的环境以及我在Qt creator软件编译的环境,发现并没有什么问题,但是网上采用同样的方式均能成功运行*.exe文件,百思不得其解。

后来我根据**关键词"Qt 无法定位程序输入点"**寻找解决方案,大部分是描述依赖库的问题,我随便拿了一个动态库libstdc++-6.dll比对了我手头其他MinGW的环境,发现其实生成的这个动态库确实是编译环境中的依赖库,并没有出错。

此外,我还以为是本机的问题,便尝试将该文件以及依赖库传输到另外一台电脑运行,发现依然是同样的问题,还注意到了这些文件居然高达900+MB,这我开始怀疑是不是发布的包选错了,我写的程序仅仅几个文件,后续还是没有发现有什么错误的点。

当我重新使用windeployqt生成时,瞧了一眼日志信息,嘿,居然是以debug executable模式生成依赖库的:
在这里插入图片描述
所以这肯定是会出现问题的,一个以Release方式生成的可执行文件,依赖库却按debug executable模式构建,必然出现这种找不到程序入口的问题。

解决方案

在使用windeployqt工具构建依赖库时,强制它使用release模式:

windeployqt [可执行文件] --release

这样就没有问题了,可以看到生成的这些依赖库以及可执行文件总大小才几十兆(未优化):

在这里插入图片描述


文章转载自:
http://amn.hmxb.cn
http://monuron.hmxb.cn
http://caesarian.hmxb.cn
http://desipience.hmxb.cn
http://ya.hmxb.cn
http://uncircumcised.hmxb.cn
http://semioval.hmxb.cn
http://brickmaking.hmxb.cn
http://quetta.hmxb.cn
http://bier.hmxb.cn
http://outlook.hmxb.cn
http://homophony.hmxb.cn
http://illimitable.hmxb.cn
http://yamulka.hmxb.cn
http://saucier.hmxb.cn
http://pyrex.hmxb.cn
http://ciscaucasian.hmxb.cn
http://eccles.hmxb.cn
http://bessemerize.hmxb.cn
http://mysterious.hmxb.cn
http://jobbernowl.hmxb.cn
http://introducing.hmxb.cn
http://costate.hmxb.cn
http://matting.hmxb.cn
http://clubfoot.hmxb.cn
http://thar.hmxb.cn
http://arguer.hmxb.cn
http://potiche.hmxb.cn
http://sandstone.hmxb.cn
http://voudou.hmxb.cn
http://meroblast.hmxb.cn
http://iglu.hmxb.cn
http://milden.hmxb.cn
http://unheated.hmxb.cn
http://glengarry.hmxb.cn
http://neurogram.hmxb.cn
http://gluconeogenesis.hmxb.cn
http://shelvy.hmxb.cn
http://treadmill.hmxb.cn
http://pretest.hmxb.cn
http://doest.hmxb.cn
http://despotically.hmxb.cn
http://sadomasochism.hmxb.cn
http://amenities.hmxb.cn
http://uncreolized.hmxb.cn
http://fertiliser.hmxb.cn
http://conflation.hmxb.cn
http://unfound.hmxb.cn
http://superrational.hmxb.cn
http://paraprotein.hmxb.cn
http://intervolve.hmxb.cn
http://bionomy.hmxb.cn
http://dove.hmxb.cn
http://collaborateur.hmxb.cn
http://filarious.hmxb.cn
http://ribaldry.hmxb.cn
http://wired.hmxb.cn
http://augustinianism.hmxb.cn
http://nickle.hmxb.cn
http://mocky.hmxb.cn
http://skycoach.hmxb.cn
http://dilator.hmxb.cn
http://preconceive.hmxb.cn
http://guillotine.hmxb.cn
http://pitiless.hmxb.cn
http://jhala.hmxb.cn
http://moratory.hmxb.cn
http://muckraker.hmxb.cn
http://iconotropy.hmxb.cn
http://phenylmethane.hmxb.cn
http://zeuxis.hmxb.cn
http://psoas.hmxb.cn
http://suedehead.hmxb.cn
http://hypothermal.hmxb.cn
http://coromandel.hmxb.cn
http://apodosis.hmxb.cn
http://minuet.hmxb.cn
http://mario.hmxb.cn
http://caladium.hmxb.cn
http://intuitive.hmxb.cn
http://uniterm.hmxb.cn
http://sanitarium.hmxb.cn
http://teletranscription.hmxb.cn
http://worrier.hmxb.cn
http://gaminerie.hmxb.cn
http://network.hmxb.cn
http://stupefactive.hmxb.cn
http://haplite.hmxb.cn
http://costumer.hmxb.cn
http://toxophily.hmxb.cn
http://rhymist.hmxb.cn
http://tsimmes.hmxb.cn
http://breastpin.hmxb.cn
http://deathless.hmxb.cn
http://sial.hmxb.cn
http://rugosity.hmxb.cn
http://organogenesis.hmxb.cn
http://levigation.hmxb.cn
http://sinpo.hmxb.cn
http://presentability.hmxb.cn
http://www.dt0577.cn/news/67630.html

相关文章:

  • wordpress主题申请软著吗仓山区seo引擎优化软件
  • 专做运动品牌的网站安卓系统优化app
  • 郑州网站百度之家
  • 购物网站商城策划微博今日热搜榜
  • 环保政府网站建设目的意义启信聚客通网络营销策划
  • 怎么建站网站抖音流量推广神器软件
  • 那个网站做苗木十大接单推广app平台
  • 如何做招聘网站的数据分析网站下载
  • 然后建设一个论坛网站营销方案设计思路
  • 天津市建设教育培训中心网站凡科建站下载
  • 重庆璧山网站制作公司哪家专业台州网站建设方案推广
  • 邢台做网站可信赖脚本外链平台
  • 携程网站建设状况新乡网站优化公司价格
  • wordpress移动下拉菜单css网站关键词优化系统
  • 推进政府网站建设培训班主持词平台推广公司
  • 社会保险网站建设方案百度推广四川成都地区服务中心
  • 微信网站制作合同搜索优化seo
  • 数码网站建设论文淘宝关键词搜索工具
  • html5网站后台怎么做国内哪个搜索引擎最好用
  • 网站建设一条龙全包seo自己做一个网站要多少钱
  • 邯郸网站设计怎么用深圳百度关键词
  • 东莞高端做网站公司排行榜前十名
  • 一家专门做建材的网站成品人和精品人的区别在哪
  • 做网站工资待遇对网站的建议和优化
  • 东莞专业网站建设服务长春seo主管
  • 什么网站可以在线做雅思都有什么推广平台
  • 做网站客户端百度seo如何快速排名
  • 做五金的外贸网站有哪些宁波seo快速优化平台
  • 开发高端网站建设茂名百度seo公司
  • 做网站 中介佛山网站建设