Skip to content
Snippets Groups Projects
qtcreator.qdoc 93.1 KiB
Newer Older
// **********************************************************************
// 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.
// **********************************************************************

con's avatar
con committed
/*!
    \contentspage{index.html}{Qt Creator}
    \page index.html
    \nextpage creator-quick-tour.html
con's avatar
con committed

    \title Qt Creator Manual

con's avatar
con committed
    \section1 Version 1.3.80
con's avatar
con committed

    The goal of Qt Creator is to provide a cross-platform, complete Integrated
    Development Environment (IDE) to develop Qt projects. It is available for
    the Linux, Mac OS X and Windows platforms.

    \note Please report bugs and suggestions to the
con's avatar
con committed
    \l{http://bugreports.qt.nokia.com}{Qt Bug Tracker}.
    You can also join the Qt Creator mailing list. To subscribe,
    send a message with the word \e subscribe to
    \l{mailto:qt-creator-request@trolltech.com}
    {qt-creator-request@trolltech.com}. For more information on Qt mailing
    lists, visit \l{http://lists.trolltech.com}{http://lists.trolltech.com}.
con's avatar
con committed

    \raw HTML
    <img border="0" style="float:right;" src="images/qtcreator-screenshots.png" />
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \endraw
con's avatar
con committed
    \list
       \o   \l{A Quick Tour of Qt Creator}
       \o   \l{Creating a Project in Qt Creator}
       \o   \l{Writing a Simple Program with Qt Creator}
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
       \o   \l{The Code Editor}
       \o   \l{Navigating Around Your Code with Locator}
       \o   \l{Session Management in Qt Creator}
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
       \o   \l{Qt Version Management}
       \o   \l{Project Settings}
       \o   \l{CMake Support in Qt Creator}
       \o   \l{Support for Generic Projects in Qt Creator}
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
       \o   \l{External Libraries}
       \o   \l{Development of Qt for Symbian Based Applications}
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
       \o   \l{Qt Creator and Debugging}
       \o   \l{Qt Creator and Version Control Systems}
       \o   \l{Tips and Tricks}
       \o   \l{Keyboard Shortcuts}
       \o   \l{Glossary}
       \o   \l{Supported Platforms}
       \o   \l{Known Issues}
con's avatar
con committed
    \endlist
*/

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed

con's avatar
con committed
/*!
    \contentspage index.html
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \previouspage index.html
con's avatar
con committed
    \page creator-quick-tour.html
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \nextpage creator-creating-project.html
con's avatar
con committed

con's avatar
con committed

    The labeled screenshot below shows some of the components of Qt Creator, in
    \gui Edit mode.
con's avatar
con committed

    \image qtcreator-breakdown.png

    \section1 The Mode Selectors
con's avatar
con committed

    When working in Qt Creator, you can be in one of six modes: \bold Welcome,
    \bold Edit, \bold Debug, \bold Projects, \bold Help, and \bold Output.
con's avatar
con committed

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    Mode selectors allow you to quickly switch between tasks: editing, browsing
    the Qt Creator manual, setting up the build environment, etc. You can
con's avatar
con committed
    activate a mode by either clicking on its mode selector, or using the
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \l{keyboard-shortcuts}{corresponding keyboard shortcut}. Certain actions also
    trigger a mode change, e.g., \gui{Debug}/\gui{Start debugging} switches
con's avatar
con committed
    to the \gui Debug mode.

    \list

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \o \gui{Welcome mode} - Displays a welcome screen allowing you to quickly
    load sessions or recent individual projects. This is the mode displayed
    when Qt Creator is run without command line switches.
con's avatar
con committed

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \o \gui{Edit mode} - Lets you edit both project and source files. A sidebar
    on the left provides different views for navigating between files.
con's avatar
con committed

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \o \gui{Debug mode} - Provides various ways to inspect the state of the
    program while debugging. See \l{Qt Creator and Debugging} for a hands-on
    description of how to use this mode.
con's avatar
con committed

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \o \gui{Projects mode} - Lets you configure how projects can be built and
    executed. Under the list of projects, there are tabs to configure the
con's avatar
con committed

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \o \gui{Help mode} - Shows all documentation registered by Qt Assistant,
con's avatar
con committed
    such as the Qt library and Qt Creator documentation.

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \o \gui{Output mode} - Lets you examine various data in detail, for example
    build issues as well as compile and application output. This information
    is also available in the output panes.
con's avatar
con committed

    \endlist


    \section1 The Output Panes

    The task pane in Qt Creator can display one of four different panes:
    \gui{Build Issues}, \gui{Search Results}, \gui{Application Output}, and
    \gui{Compile Output}. These panes are available in all modes.
con's avatar
con committed

con's avatar
con committed

    The \gui{Build Issues} pane provides a list of issues, e.g., error messages
    or warnings that need to be fixed. It filters out irrelevant output from
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    the compiler and presents the issues in an organized way.
con's avatar
con committed

con's avatar
con committed

con's avatar
con committed
    \section2 Search Results

    The \gui{Search Results} pane displays the results for global searches such
    as searching within a current document, files on disk, or all projects. In
    the screenshot below, we searched for all occurrences of \c{textfinder}
    within the \c{"/TextFinder"} folder.
con's avatar
con committed

    \image qtcreator-search-pane.png

con's avatar
con committed
    \section2 Application Output

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    The \gui{Application Output} pane displays the status of a program when
    it is executed, and the debug output, e.g., output from qDebug().
con's avatar
con committed

    \image qtcreator-application-output.png

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \section2 Compile Output
con's avatar
con committed

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    The \gui{Compile Output} pane provides all output from the compiler. In
    other words, it is a more detailed version of information displayed in the
con's avatar
con committed

    \image qtcreator-compile-pane.png

con's avatar
con committed
    \section1 Qt Help Integration

    Qt Creator comes fully integrated with all of Qt's documentation and
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    examples via the Qt Help plugin. To view the documentation, switch
    to the \gui{Help} mode. To obtain context sensitive help, move the text
con's avatar
con committed
    cursor to a Qt class or function and press \key{F1}. The documentation
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    is displayed in a pane on the right, as shown in the screenshot
    below. If there is enough vertical space, it is shown in the
con's avatar
con committed

    \image qtcreator-context-sensitive-help.png

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    External documentation provided by the user can be used to augment or
    replace the documentation shipped with Qt Creator and Qt.

con's avatar
con committed

    \section1 Qt Designer Integration

    Qt Creator is fully integrated with Qt Designer to help you design user
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    interface forms like you would with the standalone version. The Qt
con's avatar
con committed
    Designer integration also includes project management and code completion.
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    For more information on Qt Designer, see
    \l{http://doc.trolltech.com/designer-manual.html}{The Designer Manual}.
con's avatar
con committed

    \image qtcreator-formedit.png


    \section1 Keyboard Navigation
    Qt Creator caters not only to developers who are used to using the mouse,
    but also to developers who are more comfortable with the keyboard. A wide
    range of \l{keyboard-shortcuts}{keyboard} and
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \l{Navigating Around Your Code with Locator}{navigation} shortcuts
    are available to help speed up the process of developing your application.
con's avatar
con committed
*/

Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
/*!
    \contentspage index.html
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \previouspage creator-writing-program.html
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    \nextpage creator-navigation.html
Oswald Buddenhagen's avatar
Oswald Buddenhagen committed
    Qt Creator's code editor is designed to aid the developer in creating, editing,
    and navigating code. It is fully equipped with syntax highlighting, code
    completion, context sensitive help, and inline error indicators
    while you are typing.
Loading
Loading full blame...