Commit Graph

62 Commits

Author SHA1 Message Date
Leena Miettinen
5fc456dd22 Doc: Rearrange files in the doc folder
Source and configuration files for each manual are now located in a
separate subdirectory, with common configuration files in doc/config.

doc
|_config
|_qtcreator
|_qtcreatordev
|_qtdesignstudio

Edit the config files accordingly.

Change-Id: Idc747a7c16e84f3e06add91234dc5fc908e64cc5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-27 09:05:07 +00:00
Christian Kandeler
12184b9546 ProjectExplorer: Allow to build a project in all configurations
Task-number: QTCREATORBUG-16815
Change-Id: I5c31878f005f8350b3e4aff88ad46ab93c804ce4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2020-01-22 14:00:32 +00:00
Christian Kandeler
33e86cdbaa ProjectExplorer: Move "default build dir" setting to new options page
The new "default build properties" page is a better fit now.

Change-Id: I2e8e3ed2a7881bb769b72de72a23df2c752a53b0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-01-22 08:47:01 +00:00
Leena Miettinen
d596da23b9 Doc: Add information about Nimble projects
Fixes: QTCREATORBUG-23493
Change-Id: Icf1895d1ccbd3c004e546e75be426e65f2b2f009
Reviewed-by: hjk <hjk@qt.io>
2020-01-21 14:18:03 +00:00
Leena Miettinen
6ff762be51 Doc: Describe new Qt for Python application wizards
Fixes: QTCREATORBUG-23484
Change-Id: I86b1988b5b807cad41bfe537b46093c862d85514
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2020-01-21 08:53:44 +00:00
Leena Miettinen
311779e53e Doc: Remove information about XML-based project wizards
Combine the overview topic and JSON-wizard topic, because there
is now only one wizard type.

Change-Id: I80c4412aa0973ef4ac339ed3c757dcc24779cb42
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-13 12:28:34 +00:00
Eike Ziller
3b583061a2 Merge remote-tracking branch 'origin/4.11'
Change-Id: I066040bd5e762d580c8a903122f451f2193df186
2019-12-19 12:21:00 +01:00
Leena Miettinen
d45142a0f4 Doc: Fix broken links to Qt docs
The Qt for MCU docs are currently not available online

Change-Id: I705f78b32c7723a29653b0407306406eee1a76a4
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2019-12-18 08:20:10 +00:00
Eike Ziller
3dfa188182 Help: Add option to only register highest versioned Qt documentation
In Options > Kits > Qt Versions. And make it the default.
It registers each documentation file only for the highest registered Qt
version. If you have Qt 5.12 and Qt 5.13 registered, but only installed
QtWebEngine for Qt 5.12, you'll get QtWebEngine documentation for Qt
5.12, but the other documentation is from Qt 5.13.
That is usually sufficient, since the documentation still contains "old"
API, and new API is flagged with "since".

This avoids registering a lot of documentation, which creates a startup
performance issue, and also leads to usually unneeded popups for which
Qt version some documentation should be shown.

The option also allows going back to registering all documentation,
and no Qt documentation at all.

Fixes: QTCREATORBUG-21482
Fixes: QTCREATORBUG-22799
Task-number: QTCREATORBUG-10004
Change-Id: I1c7bc73982d48d8e53f5083e2fa851b6c5f60f80
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-12-16 11:03:31 +00:00
Leena Miettinen
d48fa5b8d6 Doc: Update info about building with CMake
Change-Id: I30813c51deec50043c0015aef5a672babe6b5608
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-25 11:58:50 +00:00
Leena Miettinen
162527c24f Doc: Update info about editing Qt resource files
Update the screenshots in the Creating Projects topic.

Change-Id: I59ecb0429f6931808eeb0090a85ef10b4c43d78a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-01 15:22:38 +00:00
Christian Kandeler
70373fbf1a Toolchains: Better out-of-the-box support for the Intel C++ compiler
- Make sure it gets auto-detected on macOS, where the -dumpmachine
  option, while present and documented, doesn't print anything.
- Do not call it "Linux ICC", as it's also available on macOS.
  There is no danger of confusion with the MSVC-based variant,
  as the respective UI elements are not present on Windows.

Fixes: QTCREATORBUG-18304
Change-Id: Ibe70c618cf28ecfb105efefc3fe2b79814a0f0ce
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: hjk <hjk@qt.io>
2019-10-30 09:35:46 +00:00
Leena Miettinen
09784424df Doc: Fix link to "Build with CMake"
This seems to be in a bit of a flux. Please add keywords for the
old title when changing it.

Change-Id: I323311e6497361f72afd7b63556ab3a7337134f0
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2019-10-29 12:08:02 +00:00
Denis Shienkov
f8db739e0d Doc: Add mention about new supported toolchain architectures
Change-Id: Ic832eb7449af9c43bc72260e88cfa4e22e102a7a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-10-28 16:05:05 +00:00
Leena Miettinen
999564d393 Doc: Describe using Qt Design Viewer
For running Qt Quick UI projects (.qmlproject) in web
browsers.

Change-Id: Ied9b971755ccef9f94e9e0ffb578d3ecbd0ef6c0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-10-25 07:56:23 +00:00
Leena Miettinen
b6d071c246 Doc: Describe developing apps for Qt for MCUs
Fixes: QTCREATORBUG-22926
Change-Id: I6c494858bcd637e4ae11ab0e8ea2687fb1eb26ef
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-10-18 12:27:00 +00:00
Leena Miettinen
6b73eec05b Doc: Describe removing existing directories from projects
Task-number: QTCREATORBUG-16575
Change-Id: Ic2aed97d8b414b6aa69e00e6620a7613845c562d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-30 14:10:40 +00:00
Christian Kandeler
4702faba06 Wizards: Add the ability to remember user choices
Wizard authors can now provide a persistence key to values where that
makes sense.
For now, we make use of it for the build system type in all wizards and
the minimum Qt version as well as the virtual keyboard settings in the
QtQuick wizards.

Fixes: QTCREATORBUG-16657
Change-Id: I179930665bd163b1cf198467ab8b43bc72f8ec4a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-23 12:48:56 +00:00
Leena Miettinen
b73a2fffe0 Doc: Describe temporarily disabling a variable for batch editing
...build settings.

Task-number: QTCREATORBUG-20984
Change-Id: Id1dc755d046cc262c84a7bbe3f141660b2c8860d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-09-23 11:23:31 +00:00
Leena Miettinen
6948ceeea7 Doc: Clarify the options for adding subprojects
Task-number: QTWEBSITE-856
Change-Id: Ifde71f52fe41679c00691e92136b092c81d38afc
Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
2019-09-23 09:08:49 +00:00
Leena Miettinen
413b0b6279 Doc: Describe new build options
- Scheduling running projects after they are built
- Building for run configuration
- Continuing building other apps if one fails during "Build All"

Change-Id: I9f161199394495944c6e8482b50dd9a2b4c8a92d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-20 09:39:50 +00:00
Leena Miettinen
99c0d3332e Doc: Add info about building apps for the web
Users have to install Qt for WebAssembly and the tool chain,
as well as add a kit.

Fixes: QTCREATORBUG-22927
Change-Id: Id22d5fb5e7d9e676d77f3f80880030cb9c1f61c7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-09-18 06:56:04 +00:00
Eike Ziller
097892cc10 Merge remote-tracking branch 'origin/4.10'
Change-Id: I887fbf79ebfdf2af2719cb0d8aa56ab3dcb08fab
2019-09-17 16:20:52 +02:00
Leena Miettinen
31e0088223 Doc: Make description of "Rebuild" function apply to all build systems
It claimed that qmake is always run, which is incorrect for CMake and
Qbs.

Change-Id: I80f72d750a02a16b26514bb868f1d0f64124ef56
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-12 08:34:27 +00:00
Eike Ziller
4b1987ba1f Merge remote-tracking branch 'origin/4.10'
Change-Id: Ida1659af5c9c72b67b01645c88aea4ea60e09b7f
2019-09-05 09:53:33 +02:00
Leena Miettinen
b648749926 Doc: Describe setting Ninja as the CMake generator
Task-number: QTCREATORBUG-22889
Change-Id: Ide3e7ebdb08791790d2370ed6841ee203ea5548f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-09-03 14:00:49 +00:00
Christian Kandeler
9f88fc881f GenericProjectManager: Support framework paths
Rather than adding yet another meta file, we use the .includes file with
a special line prefix.

Fixes: QTCREATORBUG-20099
Change-Id: I494e0143b8e0f1f8828a56d7487b2201f1680337
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-19 10:44:08 +00:00
Eike Ziller
f689f86be5 Merge remote-tracking branch 'origin/4.10'
Change-Id: I1193e94353c14492a9e7f093fbcd3fa53f83e390
2019-07-18 07:30:29 +02:00
Leena Miettinen
5b80e98325 Doc: Fix navigation link to previous page
Change-Id: I0c649eefb7ea3a43136a60f55066b3e070d25d6d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-07-16 11:25:50 +00:00
Tim Jenssen
333b33edbe Merge remote-tracking branch 'origin/4.10'
Change-Id: Iaf27911e4e9fb762c1a24c84c458462bafe95728
2019-07-12 15:53:56 +02:00
Leena Miettinen
526163cc16 Doc: Add info on Live Preview
The documentation was moved from the Qt Design Studio repository
and edited to make it applicable to Qt Creator, too.

Change-Id: I3072fc712b5ee002cd6e7486927de31f9117d7bc
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-07-11 12:51:31 +00:00
Leena Miettinen
f8bebf501b Doc: Fix the batch editing example
Fixes: QTCREATORBUG-20332
Change-Id: I1010ed105fdc5b953f058be578aef62b70be7506
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-07-11 11:22:41 +00:00
Christian Kandeler
14aa0122e6 Macro expander: Allow alternative substitution character
The forward slash is a poor choice on Windows for fields containing file
paths, as it gets auto-converted to a backslash when used in a path
chooser.

Fixes: QTCREATORBUG-22276
Change-Id: I1d22d2031909b24c72aad4781995418efd394039
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-10 13:38:26 +00:00
Leena Miettinen
89fb3d25a0 Doc: Update info on Qt for Python app wizards
Move the section higher up in "Creating projects" and add a
screenshot of the wizard.

Change-Id: Ifc48026162ff58d58ef22673d3113cb185d1c887
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2019-07-08 10:51:16 +00:00
Leena Miettinen
75a2cae723 Doc: Describe adding existing projects as subprojects
Task-number: QTCREATORBUG-5837
Change-Id: Idf2de084b6e53e48fdc919d05b209b39ae0a8e8e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-06-19 07:01:17 +00:00
Leena Miettinen
02fd678cfe Doc: Describe options for running qmake when building projects
Task-number: QTCREATORBUG-20888
Change-Id: I7096730880505c63b1ff581c2e1b5626d3af68f2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-06-19 07:00:57 +00:00
Leena Miettinen
7c8ba7bb51 Doc: Remove the info about language client plugin being experimental
It is now a standard part of Qt Creator and enabled by default.

Change-Id: Ifcd4a2138c4a96e73efe97e5075414875773add4
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-06-18 07:14:33 +00:00
Christian Kandeler
a093dfc65c Wizards: Include namespace in header guards again
This was broken in 63c339ffba while trying to fix a different bug.

Fixes: QTCREATORBUG-18157
Change-Id: Iec7e14de257195ed9bb20314b8031d3ef59df2ae
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-06-12 11:05:12 +00:00
Leena Miettinen
9ea159ca22 Doc: Describe cleaning up the compiler list in Kit options
Change-Id: I98769d60df90bb548d1432598f37f2a9bf347053
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-06-07 12:39:18 +00:00
Leena Miettinen
21663b543a Doc: Update info about kit settings
Change-Id: Ibe69c8930d0f311cd4da8249ecd2ab715d2d51d3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-06-06 11:20:56 +00:00
Denis Shienkov
2c3855431f doc: Add mention about the bare-metal compilers
Change-Id: Icb34353a3793f589c04e74faa8cc18682aff0197
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-05-10 07:20:42 +00:00
Eike Ziller
e0d38ae414 Export Wizard values to JavaScript macro
Registers a new function "value('name')", available to the wizard json
files, which returns the value of the variable "name" as a JavaScript
object. So, variables with a string value are actual JavaScript strings,
booleans are booleans, lists are lists, and dictionaries are
dictionaries.

The patch also makes it actually possible to assign JSON lists and
dictionaries to values.

This removes some hacks involving creating complex JavaScript objects
through string substitution.

Change-Id: I4ac6da22bc5bccc9fadee97694c2fa14d44c9307
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-05-09 11:19:43 +00:00
Eike Ziller
4545c81e57 Merge remote-tracking branch 'origin/4.9'
Conflicts:
	doc/src/howto/creator-sidebar-views.qdoc
	doc/src/howto/creator-ui.qdoc
	qbs/modules/qtc/qtc.qbs
	qtcreator.pri
	src/plugins/autotest/testresultmodel.cpp
	src/plugins/autotest/testresultmodel.h

Change-Id: I24cc585ca7782cb1d9cb0b8b73b46892b41937fd
2019-05-08 12:41:25 +02:00
Nikolai Kosjar
e570c9f6c4 Doc: Fix describing files for additional flags
Change-Id: I799cb938216f8f248e890e218e4c7162c64d31e4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-04-23 09:38:23 +00:00
Christian Kandeler
31517f00bb Wizards: Let user decide which project file to use
When importing projects, it can happen that several files are
encountered that could serve as the main project file. Until now, we
basically opened a random one, which was less than ideal. Now the user
can choose.

Fixes: QTCREATORBUG-17828
Change-Id: Iec08c942d0f9ff349c9752503c8157556f07b416
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-04-15 14:58:52 +00:00
Leena Miettinen
aacac48908 Doc: Replace "Qt Quick Controls 2" with "Qt Quick Controls"
- Qt Quick Controls 1 has been removed and most link targets have
  been changed
- Leave some link targets where links would break
- Leave strings that still have the "2" in Qt Creator
- Remove the obsolete dependency (QDoc complained about it)

Change-Id: I05148df3b07b4499f802557252c028b11ca29213
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-09 07:15:56 +00:00
Leena Miettinen
c9cdd1f83b Doc: Add information about clang-cl
Change-Id: Iffaf7fcc2a47dccba188a04c21d360cb24655137
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 15:03:09 +00:00
Leena Miettinen
fc106047f2 Doc: Describe removing and restoring debuggers in Kit options
Change-Id: Ie5a9f4ce222f25818118f9388c11590eca0c53c2
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 08:27:50 +00:00
Leena Miettinen
903da92051 Doc: Add information about running Qt for Python applications
Change-Id: Ibd9ed61bd1f771c8081f2c2d2fcc492f0a87da11
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2019-04-05 07:49:57 +00:00
Leena Miettinen
4bc10fc6af Doc: Add info about Clang Format to "Specifying Code Style Settings"
If the Clang Format plugin is enabled, the settings look totally
different than currently described.

Updated screenshots.

Change-Id: I7b9a458329e539bb6140907a9c4ea9ec6c1acdba
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2019-04-05 07:18:39 +00:00