O'Reilly logo

Application Development with Qt Creator - Second Edition by Ray Rischpater

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

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

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