Windows

First, build the solution using the kit of your choice in the Release mode. Once complete, copy the cm-ui.exe and cm-lib.dll application binaries to a new cm/installer/windows/packages/com.packtpub.cm/data directory. This strange directory structure will be explained in the next section—Qt Installer Framework—and we are simply saving ourselves some additional copying later.

Next, let’s remind ourselves of the dependencies we need to consider:

  • Item 1: Custom libraries we’ve written or added to our solution manually (cm-lib)
  • Item 2: The parts of the Qt framework that our application links to
  • Item 3: Any internal dependencies of the Qt framework itself
  • Item 4: Any libraries required by the C++ compiler we have built the application ...

Get Learn Qt 5 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.