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

Chapter 5. Extending Paint Applications with Plugins

Plugins enable you to make your application extendable and friendly for other developers. Therefore, in this chapter, we'll guide you in how to write plugins for Qt applications. A paint application demonstrates the recipe for Qt/C++. A simple demonstration shows you how to write a C++ plugin for QML. The topics we will cover in this chapter are listed as follows:

  • Drawing via QPainter

  • Writing static plugins

  • Writing dynamic plugins

  • Merging plugin and main program projects

  • Creating a C++ plugins for QML applications