Linux

Linux packaging and deployment is broadly similar to OS X, and we won’t cover it in the same level of detail, so at least skim the OS X section first if you haven’t already. As with all platforms, the first thing to do is build the solution using the kit of your choice in the Release mode in order to generate the binaries.

When building in Release mode for the first time, I received the “cannot find -lGL” error. This was because the dev libraries for OpenGL were not installed on my system. One way of obtaining these libraries is to install FreeGlut: $ sudo apt-get update $ sudo apt-get install build-essential $ sudo apt-get install freeglut3-dev

Once compiled, copy the cm-ui binary to a new cm/installer/linux directory.

Next, we can ...

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.