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