Book Image

Application Development with Qt Creator - Second Edition

Book Image

Application Development with Qt Creator - Second Edition

Overview of this book

Table of Contents (20 chapters)
Application Development with Qt Creator Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Learning the landscape – the Build menu and the .pro files


In the previous chapter, you learned how to build applications by hitting the hammer button in the corner of Qt Creator's main window or by starting the debugger. To just build your library—or any application—you can either use the hammer icon or the various choices in the Build menu. The obvious choice is either Build All or Rebuild All; choosing Build All recompiles only those files that need to be rebuilt as recognized by Qt Creator; Rebuild All cleans the project of all the object files and rebuilds the entire project from scratch. In most cases, it's sufficient to choose Build All, and that's what you want to do because it's faster. Sometimes, you really do want to rebuild the whole project, when things are broken and Qt's Make system can't reconcile all the dependencies (or you've incorrectly specified them). Select Build All now and wait for it to build while we discuss the other options.

The Build menu lets you build a single...