Building and Running ApplicationsQt Creator provides support for building, running, and deploying Qt applications for desktop environment and mobile devices. You can set up the following configurations:
By default, when you select the Run function, Qt Creator builds, deploys, and runs the project. For more information about how to change the default behavior, see Customizing the Build Process. Setting Up a ProjectWhen you install the Qt SDK, the build and run settings for the tool chains delivered with the Qt SDK are set up automatically. To view and modify the settings for currently open projects, switch to the Projects mode by pressing Ctrl+5. You can add a target if the development environment for the target platform is installed on the development PC and the Qt version is configured. Click and select from a list of available targets. To remove a target, select it and click . You can select the targets and use the Build menu commands to build, deploy, and run projects. The project pane consists of the following tabs:
Use the Build and Run buttons to switch between the build and run settings for the active project. If you have multiple projects open in Qt Creator, use the tabs at the top of the window to navigate between their settings. Customizing the Build ProcessTo specify the relationship between the release, build, and deploy configurations, select Tools > Options... > Project. By default, the Always build project before deploying it and the Always deploy project before running it options are enabled. Therefore, when you select the Run function, Qt Creator builds, deploys, and runs the project. [Previous: Optimizing Applications for Mobile Devices] [Next: Building Applications for Multiple Targets] © 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia. Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. X
|