您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 工程监理 > qt-creator-1
WhitePaperAsthenameimplies,QtCreatorisacompleteintegrateddevelopmentenvironment(IDE)forcreatingapplicationswiththeQtapplicationframework.Qtisdesignedfordevelopingapplicationsanduserinter-facesonceanddeployingthemacrossseveraldesktopandmobileoperatingsystems.ThispaperprovidesanintroductiontoQtCreatorandthefeaturesitprovidestodevelopers.QtCreator1.0 ©2008NokiaCorporationand/oritssubsidiaries.–QtCreator1.0–1 1Introduction As the name implies, Qt Creator is a complete integrated development environment (IDE) for creating applications with the Qt application framework. Qt is designed for developing applications and user interfaces once and deploying them across several desktop and mobile operating systems1. The main drivers for Qt Creator have been Qt‐specific development needs, simplicity, usability, productivity, extendibility, openness, as well as trying to lower the barrier of starting to use Qt. The key features of Qt Creator aid the appfolication developer in, r example, the following ways: •Fast and easy start of Qt application development with a project wizard, . and quick access to recent projects and sessions•Easy access to information with context‐sensitive, integrated Qt Help system. •Develop applications with the advanced C++ code editor and integrated Qt Designer. Enjoy new powerful features for navigating t files as well as functions and classes quickly. between projec•Debug with the GDB debugger using a graphical user interface with ctures. increased awareness of Qt class stru•Build a thssplatform build tool. nd execute Qt projects withe qmake croQt Creator does not compete with the Qt plug‐ins for Eclipse or Microsoft Visual Studio, but rather complements Qt tools offering by providing a complete development environment for Qt that is easy and quick to take in to ilitates theuse, and fac use of Qt‐specific features. In general, Qt Creator runs on every platform supported by Qt. Pre‐built binaries are available for Microsoft Windows, Macintosh OS X, and Linux. Qt Creator can be run other platforms, but that requires the compilation of the publicly available source code. Building and running Qt Creator may require a separate installation of Qt 4.x to your computer. 1 For more information, please see ttp://‐4.4‐whitepaper ttp://‐cross‐platform‐application‐framework‐datasheet hh ©2008NokiaCorporationand/oritssubsidiaries.–QtCreator1.0–2 The easiest way to get started is the Qt SDK (Software Development Kit). It is a single package that contains both Qt Creator and the latest version of Qt application framework for creating applications. Qt SDK is available for Microsoft Windows, Macintosh OS X, and Linux via 2Working with Qt Creator To fulfil the design drivers (simplicity, ease‐of‐use, and productivity) Qt Creator relies on the concept of modes which adapts the user interface to the different application development tasks encountered. Each mode has its own view that shows only the information required for performing the task and provides only the most relevant features and functions related to it. As a result, the majority of the Qt Creator window area is always dedicated for actual application development tasks. To illustrate this, Figure 1 presents the key parts of Qt Creator’s user interface (UI). Figure 1. The main parts of Qt Creator user interface in Edit mode ©2008NokiaCorporationand/oritssubsidiaries.–QtCreator1.0–3 To swap the modes quickly, Qt Creator has a Mode Selector on the left of the window. With the aid of selector, or using a set of keyboard short‐cuts, the user can access one of the following modes at the time: •Welcome to load recent sessions or specific projects. •Edit to modify the active project and its source files. •Debug to inspect the state of the program while debugging. •Proje built and executed. cts to configure how the projects are•Help to view documentation, such as the Qt reference documentation and the Qt Creator documentation. •Output enables examining various data in detail, for instance, build issues, on and application output. compilatiBeneath the Mode Selector are command buttons for executing, starting d buildroject. debugging, aning the current pThe Edit and Debug modes show the Sidebar, which displays all the files that belong to the active project. These modes display and provide access to the currently open files in a bar on the top of the window. The bar also displays a Symbol Overview of with the symbols related to the current file as well as the cation symbol at the current loinside the file. The Locator below the Sidebar enables the user to quickly locate a file, or access information from the files in the project. Next to the Locator are the controls for showing one of the four different Output panes in the bottom of the window. The panes available
本文标题:qt-creator-1
链接地址:https://www.777doc.com/doc-7264665 .html