2011-09-27 11:55:44 +02:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator
|
|
|
|
|
**
|
2012-01-25 16:28:25 +01:00
|
|
|
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
|
2011-09-27 11:55:44 +02:00
|
|
|
**
|
2012-07-19 12:26:56 +02:00
|
|
|
** Contact: http://www.qt-project.org/
|
2011-09-27 11:55:44 +02:00
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
** GNU Free Documentation License
|
|
|
|
|
**
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU Free
|
|
|
|
|
** Documentation License version 1.3 as published by the Free Software
|
|
|
|
|
** Foundation and appearing in the file included in the packaging of this
|
|
|
|
|
** file.
|
|
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
// NOTE: the sections are not ordered by their logical order to avoid
|
|
|
|
|
// reshuffling the file each time the index order changes (i.e., often).
|
|
|
|
|
// Run the fixnavi.pl script to adjust the links to the index order.
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\contentspage index.html
|
2011-11-14 15:43:03 +01:00
|
|
|
\previouspage creator-writing-program.html
|
2011-09-27 11:55:44 +02:00
|
|
|
\page creator-project-managing.html
|
|
|
|
|
\nextpage creator-project-creating.html
|
|
|
|
|
|
|
|
|
|
\title Managing Projects
|
|
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\image creator_managingprojects.png
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
One of the major advantages of \QC is that it allows a team of developers
|
|
|
|
|
to share a project across different development platforms with a common tool
|
|
|
|
|
for development and debugging.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\list
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\o \l{Creating Projects}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
To set up a project, you first have to decide what kind of an
|
|
|
|
|
application you want to develop: do you want a user interface based
|
|
|
|
|
on Qt Quick or HTML5 or Qt widgets. Second, you have to choose the
|
|
|
|
|
language to implement the application logic: C++ or JavaScript.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\o \l{Using Version Control Systems}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
The recommended way to set up a project is to use a version control
|
|
|
|
|
system. Store and edit only project source files and build system
|
|
|
|
|
configuration files (for example, .pro and .pri files for qmake).
|
|
|
|
|
Do not store files generated by the build system or \QC, such as
|
|
|
|
|
makefiles, .pro.user, and object files.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\o \l{Configuring Projects}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\QC allows you to specify separate build settings for each
|
|
|
|
|
development platform. By default, \l{glossary-shadow-build}
|
|
|
|
|
{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
|
|
|
|
|
\l{http://qt.nokia.com/doc/4.7/qmake-tutorial.html#adding-platform-specific-source-files}
|
|
|
|
|
{scopes} to select the file to process depending on which platform
|
|
|
|
|
qmake is run on.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\o \l{Managing Sessions}
|
2011-09-27 11:55:44 +02:00
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
Items such as open files, breakpoints, and evaluated expressions
|
|
|
|
|
are stored in sessions. They are not considered to be part of
|
|
|
|
|
the information shared across platforms.
|
2011-09-27 11:55:44 +02:00
|
|
|
|
|
|
|
|
\endlist
|
|
|
|
|
|
2011-12-13 11:52:47 +01:00
|
|
|
\section1 Related Topics
|
2011-09-27 11:55:44 +02:00
|
|
|
|
|
|
|
|
\list
|
2011-12-13 11:52:47 +01:00
|
|
|
\o \l{Using Other Build Systems}
|
2011-09-27 11:55:44 +02:00
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
*/
|