O'Reilly logo

Learn Qt 5 by Nicholas Sherriff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OS X

First, build the solution using the kit of your choice in the Release mode. You already know that if we press the Run button in Qt Creator, our app launches and all is well. However, navigate to the cm-ui.app file in Finder and try and launch it directly; with this, things aren’t quite so rosy:

The problem here is missing dependencies. We can use otool to take a look at what those dependencies are. First, copy the cm-ui.app package to a new directory—cm/installer/osx.

This isn’t strictly necessary, but I like to keep build and deployment files separate. This way, if we make a code change and rebuild the solution, we will only update the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required