Creating a GUI linked to a core shared library

The gallery-core shared library is now ready. Let's see how to create the desktop GUI project. We will create a Qt Widgets application sub-project called gallery-desktop. Only the first steps differ from a classic Qt Widgets application. Right-click on the main project, and select ch04-gallery-desktopNew subprojectApplicationQt Widgets ApplicationChoose.

You will get a nice multi-projects hierarchy like this:

It is now time to link this gallery-desktop application to the gallery-core. You can edit the file gallery-desktop.pro yourself or use the Qt Creator wizard like this: right-click ...

Get End to End GUI Development with Qt5 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.