qt windows分发工具使用
2014-12-19 14:33
148 查看
在qt的安装目录下:QTDIR/bin/windeployqt
例如我的默认安装在:
C:\Qt\Qt5.3.1\5.3\msvc2013
windoployqt在:
C:\Qt\Qt5.3.1\5.3\msvc2013\bin\windoployqt.exe
注意:
需要把qt的安装路径设置到PATH环境变量中。windoployqt是在PATH环境变量中查找所需要的qt库。
然后再在要安装的目录下运行:
D:\source\rabbitim\install>windeployqt rabbitim.exe
Usage: c:\qt\Qt5.3.1\5.3\msvc2013\bin\windeployqt.exe [options] [file]
Qt Deploy Tool 5.3.1
The 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, ANGLE, 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 this help.
-v, --version Displays version information.
--dir <directory> Use directory instead of binary directory.
--libdir <path> Copy libraries to path.
--debug Assume debug binaries.
--release Assume release binaries.
--force Force updating files.
--dry-run Simulation mode. Behave normally, but do not
copy/update any files.
--no-plugins Skip plugin deployment.
--no-libraries Skip library deployment.
--qmldir <directory> Scan for QML-imports starting from directory.
--no-quick-import Skip deployment of Qt Quick imports.
--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-compiler-runtime Do not deploy compiler runtime (Desktop only).
--webkit2 Deployment of WebKit2 (web process).
--no-webkit2 Skip deployment of WebKit2.
--json Print to stdout in JSON format.
--list <option> Print only the names of the files copied.
Available options:
source: absolute path of the source files
target: absolute path of the target files
relative: paths of the target files, relative
to the target directory
mapping: outputs the source and the relative
target, suitable for use within an
Appx mapping file
--verbose <level> Verbose level.
Qt libraries can be added by passing their name (-xml) or removed by passing
the name prepended by --no- (--no-xml). Available libraries:
bluetooth clucene concurrent core declarative designercomponents designer gui
clucene qthelp multimedia multimediawidgets multimediaquick network nfc opengl
positioning printsupport qml quick quickparticles script scripttools sensors
serialport sql svg test widgets winextras xml xmlpatterns
Arguments:
[file] Binary or directory containing the binary.
在qt的安装目录下:QTDIR/bin/windeployqt
例如我的默认安装在:
C:\Qt\Qt5.3.1\5.3\msvc2013
windoployqt在:
C:\Qt\Qt5.3.1\5.3\msvc2013\bin\windoployqt.exe
注意:
需要把qt的安装路径设置到PATH环境变量中。windoployqt是在PATH环境变量中查找所需要的qt库。
然后再在要安装的目录下运行:
D:\source\rabbitim\install>windeployqt rabbitim.exe
Usage: c:\qt\Qt5.3.1\5.3\msvc2013\bin\windeployqt.exe [options] [file]
Qt Deploy Tool 5.3.1
The 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, ANGLE, 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 this help.
-v, --version Displays version information.
--dir <directory> Use directory instead of binary directory.
--libdir <path> Copy libraries to path.
--debug Assume debug binaries.
--release Assume release binaries.
--force Force updating files.
--dry-run Simulation mode. Behave normally, but do not
copy/update any files.
--no-plugins Skip plugin deployment.
--no-libraries Skip library deployment.
--qmldir <directory> Scan for QML-imports starting from directory.
--no-quick-import Skip deployment of Qt Quick imports.
--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-compiler-runtime Do not deploy compiler runtime (Desktop only).
--webkit2 Deployment of WebKit2 (web process).
--no-webkit2 Skip deployment of WebKit2.
--json Print to stdout in JSON format.
--list <option> Print only the names of the files copied.
Available options:
source: absolute path of the source files
target: absolute path of the target files
relative: paths of the target files, relative
to the target directory
mapping: outputs the source and the relative
target, suitable for use within an
Appx mapping file
--verbose <level> Verbose level.
Qt libraries can be added by passing their name (-xml) or removed by passing
the name prepended by --no- (--no-xml). Available libraries:
bluetooth clucene concurrent core declarative designercomponents designer gui
clucene qthelp multimedia multimediawidgets multimediaquick network nfc opengl
positioning printsupport qml quick quickparticles script scripttools sensors
serialport sql svg test widgets winextras xml xmlpatterns
Arguments:
[file] Binary or directory containing the binary.
相关文章推荐
- qt windows分发工具使用(windoployqt)
- 使用Windows工具管理Nt上的Oracle数据库
- 嵌入式工具Qt的安装与使用
- 想在windows下使用gnu工具 看这里
- 嵌入式工具Qt的安装与使用
- 使用 Rainbow tables Ophcrack 组合工具破解 Windows密码
- 嵌入式工具Qt的安装与使用
- 用windows自带命令和工具查看端口使用情况
- sdelete使用指南(Windows Sysinternals Suite工具介绍转)
- windows 下使用QT,
- AWStats: 跨平台的日志分析工具――在GNU/Linux和Windows平台上的使用简介
- Windows下Subversion及其客户端工具(subclipse、tortoiseSVN)的安装、使用
- 嵌入式工具Qt的安装与使用
- AWStats: Apache/IIS的日志分析工具——在GNU/Linux和Windows平台上的使用简介
- windows 各种工具 命令方式使用方法
- MSDN:Windows SharePoint Services 3.0 中使用代码的开发工具和技术(第 2 部分)
- 不使用工具在WINDOWS下获得端口对应的进程名,
- 如何在 Windows 恢复环境中使用 Bootrec.exe 工具解决和修复 Windows Vista 中的启动问题
- Linux下使用TOAD.EXE/PLSQL等windows数据库工具
- 如何使用Windows自带的压缩工具