Deploying an Qt application does not require any C++ programming. All you need to do is to build Qt and your application in release mode, following the procedures described in this documentation.
Static vs. Shared Libraries
There are two ways of deploying an application:
- Static Linking
- Shared Libraries (Frameworks on Mac)
Quincy QT-54 Pro 5-HP 60-Gal. Two-Stage Air Compressor (230V 1-Phase) This product ad may change over time. Quincy QT-54 Pro 5-HP 60-Gal. MiniNote Pro 5.4 MAS macOS 8 mb. MiniNote Pro is quite simply the best notes app you will ever use. It has been engineered from the ground up to offer the fastest and most pleasurable note taking experience possible. Try it for a week and you'll be hooked for life. Mini Composition Books, 24 Pack, 4.5 x 3.25 inches, 80 Sheets, Narrow Ruled, by Better Office Products, Marble Covers in Red, Blue, Black, Green, 24 Pack 4.6 out of 5 stars 434 $16.99 $ 16. 99 $19.99 $19.99. Shop Hefty Hi-Rise 4.5-Gallon (18-Quart) Grey/Green Tote with Latching Lidundefined at Lowe's.com. Go above and beyond to protect your items and valuables. This 18-qt hi rise pro storage tote with latching lid is ideal for your home storage solutions.
Static linking results in a stand-alone executable. The advantage is that you will only have a few files to deploy. The disadvantages are that the executables are large and with no flexibility (i.e a new version of the application, or of Qt, will require that the deployment process is repeated), and that you cannot deploy plugins.
To deploy plugin-based applications, you can use the shared library approach. Shared libraries also provide smaller, more flexible executables. For example, using the shared library approach, the user is able to independently upgrade the Qt library used by the application.
Another reason why you might want to use the shared library approach, is if you want to use the same Qt libraries for a family of applications. In fact, if you download the binary installation of Qt, you get Qt as a shared library.
The disadvantage with the shared library approach is that you will get more files to deploy. For more information, see Creating Shared Libraries.
Deploying Qt's Libraries
Unless Qt is part of the system libraries it must be redistributed with your application. The minimum is to redistribute the run-time of the libraries used by the application. However, with static linking, the Qt run-times can be compiled into the executable.
In general, you should deploy all plugins that your Qt build uses, excluding those that you have identified as unnecessary for your application and its users.
For instance, you may need to deploy plugins for JPEG support and SQL drivers, but you should also deploy plugins that your users may require, including those for accessibility. For more information about plugins, see How to Create Qt Plugins.
Applications using Qt QML also need to ship the QML modules they use.
While deploying an application using the shared library approach, you must ensure that the Qt libraries use the correct path to find the Qt plugins, documentation, translation, and so on. To do this, you can use a qt.conf
file. For more information, see Using qt.conf.
Depending on configuration, compiler-specific libraries must be redistributed as well. For more information, see the platform-specific application dependencies for X11, Windows, and macOS.
Licensing
Some of Qt's libraries are based on third party libraries that are not licensed using the same dual-license model as Qt. As a result, care must be taken when deploying applications that use these libraries, particularly when the application is statically linked to them. For more information, see Third-Party Licenses Used in Qt.
Some configurations of QtNetwork use OpenSSL at run-time. Deployment of OpenSSL libraries is subject to both licensing and export restrictions. For more information, see Secure Sockets Layer (SSL) Classes.
Platform-Specific Notes
Mininote Pro 5 4 Qtc
The procedure of deploying Qt applications is different for the various platforms:
Mininote Pro 5 4 Qt Saucepan
See also Deploying Translations.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.