Managing ProjectsOne of the major advantages of Qt Creator is that it allows a team of developers to share a project across different development platforms with a common tool for development and debugging. The recommended way to build a project is to use a version control system. Store and edit only project source files and the .pro and .pri files (for qmake) or CMakeLists.txt and *.cmake files (for CMake). Do not store files generated by the build system or Qt Creator, such as makefiles, .pro.user, and object files. Other approaches are possible, but we recommend that you do not use network resources, for example. Qt Creator allows you to specify separate build settings for each development platform. By default, shadow builds are used to keep the build specific files separate from the source. You can create separate versions of project files to keep platform-dependent code separate. You can use qmake scopes to select the file to process depending on which platform qmake is run on. Items such as open files, breakpoints, and watches are stored in sessions. They are not considered to be part of the information shared across platforms. Qt Creator is integrated with cross-platform systems for build automation: qmake and CMake. In addition, you can import generic projects that do not use qmake or CMake, and specify that Qt Creator ignores your build system.
Qt Creator provides support for building and running Qt applications for desktop environment and mobile devices. When you install the Nokia Qt SDK, the build and run settings for the Maemo and Symbian targets are set up automatically. However, you need to install and configure some additional software on the devices: Note: The only supported build system for mobile applications in Qt Creator is qmake. Once your mobile application is ready, you can test it in the Qt Simulator. You can also connect Maemo and Symbian devices to your development PC and debug applications on the devices. After you have tested the application, you can deploy it on mobile devices. Developing applications for mobile devices is different from developing desktop applications. For more information, see Optimizing Applications for Mobile Devices. To change the location of the project directory, and to make changes in the build and run settings, select Tools > Options... > Projects > General. External LibrariesThrough external libraries Qt Creator can support code completion and syntax highlighting for external libraries as if they were a part of the current project or the Qt library. The procedure of adding a library to a project depends on the type of project, which influences the build system used.
© 2008-2010 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 X
|