Book Image

QT5 Blueprints

By : Symeon Huang
Book Image

QT5 Blueprints

By: Symeon Huang

Overview of this book

Table of Contents (17 chapters)
Qt 5 Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Releasing Qt applications on Windows


After the development stage, you can build your application using release as the build configuration. In the release configuration, your compiler will optimize the code and won't produce debug symbols, which in turn reduces the size. Please ensure that the project is in the release configuration.

Before we jump into the packaging procedure, I'd like to talk about the difference between static and dynamic linking. You have probably been using dynamic linking of Qt libraries throughout this book. This can be confirmed if you download the Community Edition from the Qt website.

So, what does dynamic linking mean? Well, it means that when an executable file gets executed, the operating system will load and link the necessary shared libraries at runtime. In other words, you'll see a lot of .dll files on Windows and .so files on the Unix platforms. This technique allows developers to update these shared libraries and the executable separately, which means that...