Appendix A

Compiling Qt programs

A.1 Using an IDE

Using an Integrated Development Environment (IDE) is the best choice for beginning to explore Qt’s functionality. Qt can be easily integrated with Eclipse or Microsoft’s Visual Studio. One can also use the Qt Creator IDE supplied by Digia, which is a lightweight alternative to the aforementioned IDEs. The IDEs take care of the library dependencies and include directory locations that are needed for compiling a Qt program.

For experimenting with Qt threads, only a console application project needs to be created. The three initial steps for Qt Creator are shown in Figure A.1.

f00-01-9780124171374
Figure A.1 Three ...

Get Multicore and GPU Programming 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.