Skip to content
Snippets Groups Projects
Commit 79f99fea authored by Kavindra Devi Palaraja's avatar Kavindra Devi Palaraja
Browse files

Doc - adding in documentation on support for generic projects (more to

come).
parent d1bb9ea1
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,8 @@ ...@@ -55,6 +55,8 @@
\o \l{Qt Creator and Version Control Systems} \o \l{Qt Creator and Version Control Systems}
\o \l{Navigating Quickly Around Your Code with Locator} \o \l{Navigating Quickly Around Your Code with Locator}
\o \l{Debugging with Qt Creator} \o \l{Debugging with Qt Creator}
\o \l{CMake Support in Qt Creator}
\o \l{Support for Generic Projects in Qt Creator}
\o \l{Tips and Tricks} \o \l{Tips and Tricks}
\o \l{Keyboard Shortcuts} \o \l{Keyboard Shortcuts}
\o \l{Glossary} \o \l{Glossary}
...@@ -123,6 +125,7 @@ ...@@ -123,6 +125,7 @@
\gui{Build Issues}, \gui{Search Results}, \gui{Application Output}, and \gui{Build Issues}, \gui{Search Results}, \gui{Application Output}, and
\gui{Compile Output}. These panes are available in all modes. \gui{Compile Output}. These panes are available in all modes.
\section2 Build Issues \section2 Build Issues
The {Build Issues} pane provides a list of issues, e.g., error messages or The {Build Issues} pane provides a list of issues, e.g., error messages or
...@@ -131,6 +134,7 @@ ...@@ -131,6 +134,7 @@
\image qtcreator-build-issues.png \image qtcreator-build-issues.png
\section2 Search Results \section2 Search Results
The \gui{Search Results} pane displays the results for global searches such The \gui{Search Results} pane displays the results for global searches such
...@@ -140,6 +144,7 @@ ...@@ -140,6 +144,7 @@
\image qtcreator-search-pane.png \image qtcreator-search-pane.png
\section2 Application Output \section2 Application Output
The \gui{Application Output} pane displays the status of the program when The \gui{Application Output} pane displays the status of the program when
...@@ -147,6 +152,7 @@ ...@@ -147,6 +152,7 @@
\image qtcreator-application-output.png \image qtcreator-application-output.png
\section2 Compile \section2 Compile
The \gui{Compile Output} pane provides all the output from the compiler. In The \gui{Compile Output} pane provides all the output from the compiler. In
...@@ -300,8 +306,9 @@ ...@@ -300,8 +306,9 @@
\table \table
\row \row
\i \note This page describes Qt Creator's support for qmake. \i \note This page describes Qt Creator's support for \c qmake.
For CMake suppoort see the CMake page. ###TODO add link For information on CMake support, see
\l{CMake Support in Qt Creator}.
\endtable \endtable
To modify the build settings of your project, switch to the \gui{Projects} To modify the build settings of your project, switch to the \gui{Projects}
...@@ -359,6 +366,7 @@ ...@@ -359,6 +366,7 @@
*/ */
/*! /*!
\contentspage index.html \contentspage index.html
\previouspage creator-build-settings.html \previouspage creator-build-settings.html
...@@ -453,6 +461,7 @@ ...@@ -453,6 +461,7 @@
\gui{Done} and your project will be generated. \gui{Done} and your project will be generated.
\endtable \endtable
*/ */
...@@ -946,7 +955,7 @@ ...@@ -946,7 +955,7 @@
\contentspage index.html \contentspage index.html
\previouspage creator-navigation.html \previouspage creator-navigation.html
\page creator-debugging.html \page creator-debugging.html
\nextpage creator-tips.html \nextpage creator-cmake-support.html
\title Debugging with Qt Creator \title Debugging with Qt Creator
...@@ -1256,33 +1265,33 @@ ...@@ -1256,33 +1265,33 @@
\contentspage index.html \contentspage index.html
\previouspage creator-debugging.html \previouspage creator-debugging.html
\page creator-cmake-overview.html \page creator-cmake-support.html
\nextpage creator-tips.html \nextpage creator-tips.html
\title CMake Support \title CMake Support in Qt Creator
Since Qt Creator 1.1, support for \c CMake project files is available.
Since Qt Creator 1.1, support for CMake project files is available.
\section1 Opening CMake Projects \section1 Opening CMake Projects
To open a CMake project select \gui Open from the \gui File menu and select To open a \c CMake project select \gui Open from the \gui File menu and
the \c{CMakeLists.txt} file from your CMake project. A wizard will guide select the \c{CMakeLists.txt} file from your \c CMake project. A wizard
you with the rest of the process. If the CMake project does not have an will guide you with the rest of the process. If the \c CMake project does
in-place build, Qt Creator lets you specify the directory in which the not have an in-place build, Qt Creator lets you specify the directory in
project is built (shadow build). which the project is built (shadow build).
The screenshot below shows how you can specify command line arguments to The screenshot below shows how you can specify command line arguments to
CMake for your project. \c CMake for your project.
###TODO one, two pictures ? \image qtcreator-import-wizard.png ###TODO one, two pictures ? \image qtcreator-import-wizard.png
Normally, there is no need to pass any command line arguments for projects Normally, there is no need to pass any command line arguments for projects
that are already built, as CMake caches that information. that are already built, as \c CMake caches that information.
\section1 Building CMake Projects \section1 Building CMake Projects
Qt Creator builds CMake Projects by running \c make or \c mingw32-make, Qt Creator builds \c CMake Projects by running \c make or \c mingw32-make,
depending on your platform. The build errors and warnings are parsed and depending on your platform. The build errors and warnings are parsed and
displayed in the \gui{Build Issues} output pane. displayed in the \gui{Build Issues} output pane.
...@@ -1297,12 +1306,33 @@ ...@@ -1297,12 +1306,33 @@
\section1 Running CMake Projects \section1 Running CMake Projects
Qt Creator automatically adds Run Configurations for all the Qt Creator automatically adds Run Configurations for all the
targets specified in the CMake project file. targets specified in the \c CMake project file.
Known issues for the current version can be found \l{Known Issues}{here}. Known issues for the current version can be found \l{Known Issues}{here}.
*/ */
/*!
\contentspage index.html
\previouspage creator-cmake-support.html
\page creator-generic-projects.html
\nextpage creator-tips.html
\title Support for Generic Projects in Qt Creator
Since Qt Creator 1.1, generic projects are supported, in addition to
\c qmake projects. In other words, you can import existing projects that
do not use \c qmake or \c CMake and Qt Creator will simply ignore your
build system.
This feature lets you use Qt Creator as a code editor. You can build your
project by modifying the \c make command in the \gui{Project Settings}
page.
*/
/*! /*!
\contentspage index.html \contentspage index.html
\previouspage creator-debugging.html \previouspage creator-debugging.html
...@@ -1587,19 +1617,19 @@ ...@@ -1587,19 +1617,19 @@
black icons and possible crashes. This was fixed in an updated black icons and possible crashes. This was fixed in an updated
version released 05 March 2009. version released 05 March 2009.
\o There is no syntax highlighting for CMake project files. \o There is no syntax highlighting for \c CMake project files.
\o Project files included from \c{CMakeLists.txt} are not shown in the \o Project files included from \c{CMakeLists.txt} are not shown in the
navigation tree. navigation tree.
\o Using the Visual Studio Compiler with CMake is unsupported. \o Using the Visual Studio Compiler with \c CMake is unsupported.
\o Creating new CMake projects with Qt Creator is unsupported. \o Creating new \c CMake projects with Qt Creator is unsupported.
\o Having more than one build directory for CMake is not supported. \o Having more than one build directory for \c CMake is not supported.
\o Changing the build directory for CMake after the initial import is \o Changing the build directory for \c CMake after the initial import
disabled. is disabled.
\endlist \endlist
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment