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.