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

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 ...

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