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

两学一做党员考试网站网站推广和seo

两学一做党员考试网站,网站推广和seo,网站客户端制作教程,广州万网建网站前言 在 Windows 平台,通常使用 Qt 的工具 windeployqt 将可执行文件的相关 Qt 依赖项部署到当前路径下。 Windows windeployqt 部署工具 Windows 部署工具 windeployqt 旨在自动化创建一个可部署文件夹的过程,该文件夹包含运行应用程序所需的 Qt 相关…

前言

在 Windows 平台,通常使用 Qt 的工具 windeployqt 将可执行文件的相关 Qt 依赖项部署到当前路径下。

Windows windeployqt 部署工具

Windows 部署工具 windeployqt 旨在自动化创建一个可部署文件夹的过程,该文件夹包含运行应用程序所需的 Qt 相关依赖项(库、QML 导入、插件和翻译)。它为 Windows 桌面应用程序创建了一个安装树,可以轻松地捆绑到安装包中。

该工具可以在 QTDIR/bin/windeployqt 中找到。为了正确运行,它需要在构建环境中运行。当使用 Qt 在线安装器时,应使用脚本 QTDIR/bin/qtenv2.bat 来设置它。

对于 Windows 桌面应用程序,默认情况下,编译器所需的运行时文件也会复制到部署文件夹中(除非指定了 --no-compiler-runtime 选项)。在 Microsoft Visual C++使用的发布版本中,这些包括 Visual C++可再发行包,这些包旨在由应用程序的安装程序在目标机器上递归安装。否则,将使用编译器运行时的共享库。

windeployqt 工具帮助说明:

Usage: windeployqt [options] [files]
Qt Deploy Tool 6.0.0The simplest way to use windeployqt is to add the bin directory of your Qt
installation (e.g. <QT_DIR\bin>) to the PATH variable and then run:windeployqt <path-to-app-binary>
If ICU, etc. are not in the bin directory, they need to be in the PATH
variable. If your application uses Qt Quick, run:windeployqt --qmldir <path-to-app-qml-files> <path-to-app-binary>Options:-?, -h, --help              Displays help on commandline options.--help-all                  Displays help including Qt specific options.-v, --version               Displays version information.--dir <directory>           Use directory instead of binary directory.--qmake <path>              Use specified qmake instead of qmake from PATH.--libdir <path>             Copy libraries to path.--plugindir <path>          Copy plugins to path.--debug                     Assume debug binaries.--release                   Assume release binaries.--pdb                       Deploy .pdb files (MSVC).--force                     Force updating files.--dry-run                   Simulation mode. Behave normally, but do notcopy/update any files.--no-patchqt                Do not patch the Qt6Core library.--ignore-library-errors     Ignore errors when libraries cannot be found.--no-plugins                Skip plugin deployment.--no-libraries              Skip library deployment.--qmldir <directory>        Scan for QML-imports starting from directory.--qmlimport <directory>     Add the given path to the QML module searchlocations.--no-quick-import           Skip deployment of Qt Quick imports.--translations <languages>  A comma-separated list of languages to deploy(de,fi).--no-translations           Skip deployment of translations.--no-system-d3d-compiler    Skip deployment of the system D3D compiler.--compiler-runtime          Deploy compiler runtime (Desktop only).--no-virtualkeyboard        Disable deployment of the Virtual Keyboard.--no-compiler-runtime       Do not deploy compiler runtime (Desktop only).--json                      Print to stdout in JSON format.--no-opengl-sw              Do not deploy the software rasterizer library.--list <option>             Print only the names of the files copied.Available options:source:   absolute path of the source filestarget:   absolute path of the target filesrelative: paths of the target files, relativeto the target directorymapping:  outputs the source and the relativetarget, suitable for use within anAppx mapping file--verbose <level>           Verbose level (0-2).Qt libraries can be added by passing their name (-xml) or removed by passing
the name prepended by --no- (--no-xml). Available libraries:
bluetooth concurrent core declarative designer designercomponents gui qthelp
multimedia multimediawidgets multimediaquick network nfc opengl openglwidgets
positioning printsupport qml qmltooling quick quickparticles quickwidgets script
scripttools sensors serialport sql svg svgwidgets test websockets widgets xml
webenginecore webengine webenginewidgets 3dcore 3drenderer 3dquick
3dquickrenderer 3dinput 3danimation 3dextras geoservices webchannel serialbus
webviewArguments:[files]                     Binaries or directory containing the binary.

例如使用 windeployqt 工具后, Qt 6.7.0 的动态库依赖如下:

.
├── Qt6Cored.dll
├── Qt6Guid.dll
├── Qt6Networkd.dll
├── Qt6Svgd.dll
├── Qt6Widgetsd.dll
├── QtProjectTemplate.exe
├── concrt140d.dll
├── d3dcompiler_47.dll
├── dxcompiler.dll
├── dxil.dll
├── generic
│   └── qtuiotouchplugind.dll
├── iconengines
│   └── qsvgicond.dll
├── imageformats
│   ├── qgifd.dll
│   ├── qicod.dll
│   ├── qjpegd.dll
│   └── qsvgd.dll
├── msvcp140_1d.dll
├── msvcp140_2d.dll
├── msvcp140d.dll
├── msvcp140d_atomic_wait.dll
├── msvcp140d_codecvt_ids.dll
├── networkinformation
│   └── qnetworklistmanagerd.dll
├── opengl32sw.dll
├── platforms
│   └── qwindowsd.dll
├── styles
│   └── qmodernwindowsstyled.dll
├── tls
│   ├── qcertonlybackendd.dll
│   ├── qopensslbackendd.dll
│   └── qschannelbackendd.dll
├── translations
│   ├── qt_ar.qm
│   ├── ...
│   ├── qt_zh_CN.qm
│   └── qt_zh_TW.qm
├── vccorlib140d.dll
├── vcruntime140_1d.dll
├── vcruntime140_threadsd.dll
└── vcruntime140d.dll

Qt 5.15.2 动态库依赖如下:

.
├── D3Dcompiler_47.dll
├── QtProjectTemplate.exe
├── Qt5Cored.dll
├── Qt5Guid.dll
├── Qt5Svgd.dll
├── Qt5Widgetsd.dll
├── iconengines
│   └── qsvgicond.dll
├── imageformats
│   ├── qgifd.dll
│   ├── qicnsd.dll
│   ├── qicod.dll
│   ├── qjpegd.dll
│   ├── qsvgd.dll
│   ├── qtgad.dll
│   ├── qtiffd.dll
│   ├── qwbmpd.dll
│   └── qwebpd.dll
├── libEGLd.dll
├── libGLESv2d.dll
├── opengl32sw.dll
├── platforms
│   └── qwindowsd.dll
├── styles
│   └── qwindowsvistastyled.dll
└── translations├── qt_ar.qm├── ...└── qt_zh_TW.qm

依赖动态库介绍

分发运行 Qt 应用程序所需的所有 Qt DLL 和应用程序特定插件的存档必须包括以下文件:

组件文件名
可执行文件qt-demo.exe
Qt Windows 平台插件platforms\qwindows.dll
Qt Windows Vista 风格的插件styles\qwindowsvistastyle.dll
Qt 核心模块Qt6Core.dll
Qt GUI 模块Qt6Gui.dll
Qt Widgets 模块Qt6Widgets.dll

根据应用程序使用的功能,可能需要其他插件 (iconengines, imageformats)。

iconengines:

  • qsvgicon.dll:SVG 图标支持

imageformats

  • qgif.dll:提供对 GIF 图像格式的支持。
  • qicns.dll:提供对 ICNS 图像格式的支持。
  • qico.dll:提供对 ICO 图像格式的支持。
  • qjpeg.dll:提供对 JPEG 图像格式的支持。
  • qsvg.dll:提供对 SVG 图像格式的支持。
  • qtga.dll:提供对 TGA 图像格式的支持。
  • qtiff.dll:提供对 TIFF 图像格式的支持。
  • qwbmp.dll:提供对 WBMP 图像格式的支持。
  • qwebp.dll:提供对 WebP 图像格式的支持。

注意:以上imageformats列举的动态库为 Qt 5,在 Qt 6 中有所变化,缩减了一些动态库。

此外,如果采用的是 MSVC 编译器,存档必须包含以下编译器特定的库(假设为 Visual Studio 2019):

组件文件名
C 运行时vcruntime140.dll
C++ 运行时msvcp160.dll

如果使用了动态 OpenGL,则档案可能还包含:

组件文件名
OpenGL 软件渲染库opengl32sw. dll

而在Qt 5中,如果使用动态 OpenGL,还需要包含 ANGLE 和软件渲染所需的库:

组件文件名
OpenGL 软件渲染库opengl32sw. dll
ANGLE 库libEGL.dll, libGLESv2.dll
ANGLE 的 HLSL 编译器库d3dcompiler_XX.dll

如果 Qt 配置为使用 ICU,则归档文件必须包含:

ICU 组件文件名
icudtXX. dll
icuinXX. dll
icuucXX. dll

与非系统库的直接依赖关系:

QtVisual Studio 16 (2019)MinGW
Qt6Core.dll
Qt6Gui.dll
Qt6Widgets.dll
vccorlib140.dll
vcruntime140d.dll
msvcp140.dll
libwinpthread-1.dll
libgcc_s_seh-1.dll
libstdc+±6.dll

Qt 6 中增加了传输层安全性(TLS)相关的插件,即tls目录:

  • qcertonlybackend.dll:提供了一个仅用于证书处理的后端实现。它可以用于验证证书链、检查证书的有效性和处理证书相关的任务,而不实际执行加密通信。这个后端可能在不需要完整 TLS 功能的环境中使用,比如在某些测试或调试场景中。
  • qopensslbackend.dll:基于 OpenSSL 的 TLS 后端实现。OpenSSL 是一个广泛使用的开源库,提供了丰富的加密功能和协议支持,包括 SSL 和 TLS。通过使用这个后端,Qt 应用程序可以利用 OpenSSL 的功能来实现安全的网络通信。
  • qschannelbackend.dll:提供了基于 Windows 的 SChannel(Secure Channel)安全协议的 TLS 后端实现。SChannel 是 Windows 操作系统的一部分,提供了 SSL 和 TLS 协议的支持。使用这个后端,Qt 应用程序可以在 Windows 平台上利用系统自带的安全功能来实现加密通信。

Qt 插件

所有 Qt GUI 应用程序都需要一个实现 Qt 平台抽象(QPA)层的插件。对于 Windows,平台插件的名称是 qwindows.dll。此文件必须位于您的分发目录下的特定子目录(默认为 platforms)中。或者,可以调整 Qt 用于查找其插件的搜索路径。

应用程序还可能依赖于一个或多个 Qt 插件,例如打印支持插件、JPEG 图像格式插件或 SQL 驱动程序插件。确保与您的应用程序一起分发所需的任何 Qt 插件。与平台插件类似,每种类型的插件都必须位于分发目录内特定的子目录(例如 printsupport、imageformats 或 sqldrivers)中。

总结

Qt 6 的依赖库相比 Qt5 多了很多新东西,但大多可望文生义,可猜个大概意思。也可查询官方文档进行佐证。

Qt for Windows - Deployment | Qt 6.7


文章转载自:
http://formulating.mnqg.cn
http://banquette.mnqg.cn
http://bromouracil.mnqg.cn
http://hoodie.mnqg.cn
http://meshwork.mnqg.cn
http://footwall.mnqg.cn
http://uncordial.mnqg.cn
http://orthopsychiatry.mnqg.cn
http://whitefish.mnqg.cn
http://atalanta.mnqg.cn
http://spinifex.mnqg.cn
http://vestee.mnqg.cn
http://reapply.mnqg.cn
http://cottonopolis.mnqg.cn
http://cyclone.mnqg.cn
http://tianjing.mnqg.cn
http://unshakeable.mnqg.cn
http://leninakan.mnqg.cn
http://yucca.mnqg.cn
http://arrest.mnqg.cn
http://fazenda.mnqg.cn
http://radiale.mnqg.cn
http://peking.mnqg.cn
http://crofting.mnqg.cn
http://nerving.mnqg.cn
http://countrywoman.mnqg.cn
http://heliocentric.mnqg.cn
http://petrochemical.mnqg.cn
http://corrugated.mnqg.cn
http://north.mnqg.cn
http://carrottop.mnqg.cn
http://slag.mnqg.cn
http://vigia.mnqg.cn
http://upmost.mnqg.cn
http://unwise.mnqg.cn
http://intuitionist.mnqg.cn
http://evolutionism.mnqg.cn
http://magnitude.mnqg.cn
http://dramamine.mnqg.cn
http://taphonomy.mnqg.cn
http://bagassosis.mnqg.cn
http://reattempt.mnqg.cn
http://plasmoid.mnqg.cn
http://enceladus.mnqg.cn
http://hippocampi.mnqg.cn
http://frith.mnqg.cn
http://bibliographize.mnqg.cn
http://somersault.mnqg.cn
http://vagrom.mnqg.cn
http://nonself.mnqg.cn
http://aulic.mnqg.cn
http://triaxial.mnqg.cn
http://strongylosis.mnqg.cn
http://egeria.mnqg.cn
http://descension.mnqg.cn
http://bimotor.mnqg.cn
http://plute.mnqg.cn
http://romanize.mnqg.cn
http://georgic.mnqg.cn
http://abstriction.mnqg.cn
http://gnarled.mnqg.cn
http://insulinize.mnqg.cn
http://recusal.mnqg.cn
http://coombe.mnqg.cn
http://ejectamenta.mnqg.cn
http://brightness.mnqg.cn
http://semiorbicular.mnqg.cn
http://pectination.mnqg.cn
http://iconicity.mnqg.cn
http://arrect.mnqg.cn
http://angor.mnqg.cn
http://unsell.mnqg.cn
http://aristotle.mnqg.cn
http://rubble.mnqg.cn
http://intrepidity.mnqg.cn
http://suspect.mnqg.cn
http://anosmia.mnqg.cn
http://orthodonture.mnqg.cn
http://theanthropical.mnqg.cn
http://scandium.mnqg.cn
http://rapacious.mnqg.cn
http://agress.mnqg.cn
http://kaleidophone.mnqg.cn
http://acoelomate.mnqg.cn
http://diathermic.mnqg.cn
http://giggit.mnqg.cn
http://suckerfish.mnqg.cn
http://obpyramidal.mnqg.cn
http://somnambulic.mnqg.cn
http://requite.mnqg.cn
http://distraught.mnqg.cn
http://orthopedist.mnqg.cn
http://inaptly.mnqg.cn
http://composite.mnqg.cn
http://dodecaphonic.mnqg.cn
http://stoneworker.mnqg.cn
http://impubic.mnqg.cn
http://amphibolous.mnqg.cn
http://volksdeutscher.mnqg.cn
http://flute.mnqg.cn
http://www.dt0577.cn/news/109263.html

相关文章:

  • 长春有微信网站一起整的吗个人如何在百度上做广告
  • 做同城信息类网站如何赚钱谷歌外贸seo
  • wordpress汉化主题下载黄山seo排名优化技术
  • 网站建设选青岛的公司好不好站长工具seo源码
  • 沈阳模板 网站建设seo外包公司排名
  • 阿里云模板建站教程seo美式
  • 静态网站 价格托管竞价账户哪家好
  • 电子简历模板洛阳seo网络推广
  • 3dmax做动画的网站有哪些点击排名优化
  • 深圳市建设注册中心网站快速将网站seo
  • 文登南海建设局网站搜索引擎技术包括哪些
  • 有口碑的徐州网站建设郑州seo代理外包
  • 做视频网站收费侵权吗网站站外优化推广方式
  • 番禺区pc端网站建设怎么快速优化网站
  • 建设征信注册中心网站百度账号注册平台
  • wordpress 怎样安装上海网络seo优化公司
  • 惠州做网站公司快速的网站设计制作
  • 网站地图后台可以做吗品牌营销策划方案范文
  • 网站开发常用框架什么是网站优化
  • 商丘seo唐山百度seo公司
  • 网站开发设计的阶段怎么制作一个网页
  • 注册了域名怎样做网站微信小程序开发公司
  • 网站备案号官网市场推广策略
  • wordpress自制游戏北京百度seo价格
  • 做网站美工搜狗seo怎么做
  • 物流网站模板app营销十大成功案例
  • 曲靖网站制作一条龙百度seo排名如何提升
  • 做旅游网站教程齐三seo顾问
  • 地区性网站制作松原市新闻
  • 微信小程序源码免费下载关键词优化外包