The QT Windows Distribution tool uses

Source: Internet
Author: User



Under the QT installation directory: QTDIR/BIN/WINDEPLOYQT

For example, my default installation is:

C:\Qt\Qt5.3.1\5.3\msvc2013

WINDOPLOYQT in:

C:\Qt\Qt5.3.1\5.3\msvc2013\bin\windoployqt.exe


Attention:

The installation path of QT needs to be set to the PATH environment variable. WINDOPLOYQT is to find the desired QT library in the PATH environment variable.

And then run it in the directory you want to install:

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-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. is not in the bin directory, they need to is 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 does 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 don't 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.

The QT Windows Distribution tool uses

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.