Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
f6aa5056
Commit
f6aa5056
authored
16 years ago
by
dt
Browse files
Options
Downloads
Patches
Plain Diff
Add some documentation about the cmake project support
parent
fe5b0950
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/qtcreator.qdoc
+56
-3
56 additions, 3 deletions
doc/qtcreator.qdoc
with
56 additions
and
3 deletions
doc/qtcreator.qdoc
+
56
−
3
View file @
f6aa5056
...
...
@@ -300,8 +300,8 @@
\table
\row
\i \note
Qt Creator currently
support
s \c
qmake
only. \c Makefile
and \c
CMake support
is currently unavailable.
\i \note
This page describes Qt Creator's
support
for
qmake
.
For
CMake suppo
o
rt
see the CMake page. ###TODO add link
\endtable
To modify the build settings of your project, switch to the \gui{Projects}
...
...
@@ -1530,7 +1530,6 @@
\endlist
*/
/*!
\contentspage index.html
\previouspage creator-known-issues.html
...
...
@@ -1549,3 +1548,57 @@
QtCreator/src/shared/cplusplus
\endlist
*/
/*!
\contentspage index.html
\page creator-cmake-overview.html
\title CMake Support
With version 1.1 Qt Creator now also supports CMake project files.
\note The CMake project support is neither complete nor bug free.
\section1 Opening CMake projects
To open a CMake project use File/Open and select the toplevel
CMakeLists.txt file from your CMake project. Qt Creator will
guide you with a wizard through the open step. If the CMake project
does not have a in source build Qt Creator let's you specify the
directory in which the project is build. If you need to pass command
line arguments to CMake for your project, you can also do that.
For already build projects, you normally don't need to pass any
command line arguments, since CMake caches that information.
###TODO one, two pictures ? \image qtcreator-import-wizard.png
\section1 Building CMake Projects
Qt Creator builds CMake Projects by running make or mingw32-make,
depending on your platform. The build errors and warnings are parsed
and displayed in the Build Issues output pane.
By default Qt Creator builds the "all" target. You can change which
targets get build in the Project/Build Settings.
### \image qtcreator-build-settings.png
Currently only one build configuration is supported and the
build directory can't be changed after the initial import. This
limitation will be fixed for the next version.
\section1 Running CMake Projects
Qt Creator automatically adds Run Configurations for all the
targets specified in the CMake project file.
\section1 Know Issues
\list
\o No syntax highlighting for CMake project files.
\o Project files which are included from CMakeLists.txt aren't
shown in the navigation tree.
\o Using the visual studio compiler with CMake is not yet
supported.
\o Qt Creator doesn't support creating new CMake projects.
\o More than one build directory is not supported.
\o Changing the build directory after the initial import
is currently disabled.
*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment