Summary

It is somewhat difficult to get started on writing plugins. However, after some basic practice, you'll find that it's actually easier than it looks. For Qt Widgets applications, plugins simply extend the application in a flexible way. Meanwhile, they enable developers to devise new forms for QML applications. We also covered using the subdirs project to manage multiple subprojects. Even if you don't plan to write plugins, this chapter covered painting-related stuff that is crucial for GUI application development, including QPainter, paintEvent, and resizeEvent.

In the next chapter, we're going to talk about network programming and multithreading in Qt.

Get Qt 5 Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.