Chapter 2. Building Applications with Qt Creator
The first thing you would want to do with Qt Creator is figure out how to add source files and build (or debug) your project. This chapter is all about that—we'll go over how to add files to a project, how to create libraries in a project, and how to use the debugger and the console logger. At the end of this chapter, you'll be driving Qt Creator to develop console applications like a pro.
In this chapter, we will do the following:
- Learn about our sample library
- Look into the Build menu and the
.pro
files - Link against our sample library
- Debug
- Build your project
- Run and debug your application
Getting started – our sample library
This chapter's example code has two pieces: a library that defines a public function ...
Get Application Development with Qt Creator - Second Edition 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.