Commit Graph

4817 Commits

Author SHA1 Message Date
Eike Ziller
bf25c21eb0 Merge remote-tracking branch 'origin/4.12'
Change-Id: I333037e56be7280b86ce577ea63393245c28c09d
2020-02-17 16:47:06 +01:00
Leena Miettinen
8046e3311f Doc: Fix QDoc warnings in Find classes
- Document BaseTextFind and FindSupport
- Mark undocumented classes and namespaces \internal
- Add and fix docs for IFindFilter, SearchResult, and
  SearchResultWindow

Fixes: QTCREATORBUG-23600
Change-Id: Ic9445f7f15562f114f4cbd9fe16988d7249d48db
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-02-17 15:45:51 +00:00
Eike Ziller
a467e34e58 Fix qdoc call after it moved to LLVM/Clang
For some unknown reason qdoc does not add the include paths for
Qt modules, so we need to do that manually.
Also, if we do that, we need to pass it the default include paths, so
standard C++ headers are found.

Qt includes and standard headers are found now, but

Framework style includes on macOS still fail ("QtCore/QString"), which are
used in Qt headers as well. Looks like the framework path that is passed
with -F to qdoc is not passed on correctly.

Task-number: QTCREATORBUG-22451
Change-Id: I04b2c75ecdeb1f0e70ba9adfea039f0ff16ec96b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-02-17 15:45:48 +00:00
Leena Miettinen
d06eee5218 Doc: Fix QDoc warnings in Core plugin dialogs classes
- Fix IOptionsPage class docs
- Mark PromptOverwriteDialog and ReadOnlyFilesDialog

Fixes: QTCREATORBUG-23608
Change-Id: I6a646f0bd68230a7c5f80bd748bda20729f23b74
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-02-17 14:56:39 +00:00
Thomas Hartmann
0ffc029d70 QmlDesigner: Rename resources to assets in the ui
Task-number: QDS-1646
Change-Id: I8937f70adc3ad59f28d40f99852f2be053ce6c3b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-02-14 15:31:23 +00:00
Leena Miettinen
9c8b340816 Doc: Link to information about exporting 3D assets from Blender
...for importing them to Qt Design Studio.

Fixes: QDS-1470
Change-Id: I47e8a947fecbf0971fdeab32ae41dcaa645cd359
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2020-02-14 07:59:20 +00:00
Leena Miettinen
b979e1f587 Doc: Add general guidelines for preparing 3D assets for export
These guidelines help optimize the 3D assets for importing them to
Qt Design Studio.

Fixes: QDS-1431
Change-Id: I267c3897b8da42271948d2b1e45596e3928dbf1f
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2020-02-14 07:59:10 +00:00
Andre Hartmann
c83a33941d Doc: Describe diffing from editor to another file
Task-number: QTCREATORBUG-17866
Change-Id: I073f998bb9a00bfcf765766b5690a9dc19209a70
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-02-13 08:24:01 +00:00
Leena Miettinen
5997f9754d Doc: Add a note that qmltooling plugins are required for QML debugging
Task-number: QTBUG-82039
Change-Id: I042b8212e3571b806e9a35b12fa83cc84006b2e6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2020-02-11 14:42:17 +00:00
Leena Miettinen
87b2107290 Doc: Describe the Telemetry plugin
Fixes: QTCREATORBUG-23586
Change-Id: Ie0bd470dcf3cc23d401219d0a83f4179a4948acf
Reviewed-by: Vitaly Fanaskov <vitaly.fanaskov@qt.io>
2020-02-11 13:19:52 +00:00
Leena Miettinen
e12ba2d683 Doc: Fix broken links in Extending Qt Creator Manual
- Move some images from qtcreator\images to qtcreatordev\images
- Hide directories from the doc build (these will be added
  gradually when we fix the docs for the classes in them)
- Fix broken links
- Add README.md that describes the doc projects in the repo

Fixes: QTCREATORBUG-23544
Change-Id: I4fc29d8fbc8b7a0a0f81fa3261f6412c47b9d84e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-02-10 13:40:43 +00:00
Topi Reinio
4454873b54 Extending Qt Creator Manual: Fix links in the online sidebar
Change-Id: I08ca0c0847c022052428623de3be0416b8682e8d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-02-06 11:54:02 +00:00
Orgad Shaneh
0737291d54 Merge remote-tracking branch 'origin/4.11'
Change-Id: I65ce6aa917219a8f8b91b48c7077f8097248375c
2020-02-06 12:50:22 +02:00
Leena Miettinen
bab8c9b91f Doc: Fix IPlugin class docs
Fix \fn command values and document missing enum and arguments.

Remove unnecessary \fn commands, so that the signatures don't
need to be maintained.

Fix formatting and language issues.

Task-number: QTCREATORBUG-23544
Change-Id: Iddddb704a51e7a4fa9ac79fa2d4a89aa6abeefd5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-02-05 12:48:15 +00:00
Leena Miettinen
674d342aa9 Doc: Add doc footer and sidebar TOC
These are required for publishing the manual at doc.qt.io.

Because this doc is more a collection of articles than a
traditional guide, list the topics in this guide in the
TOC in alphabetic order.

Change-Id: I2f604ee19f81dcaaccf4601440f178b41b77ec9a
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2020-02-05 12:11:19 +00:00
Eike Ziller
5c121d5791 Merge remote-tracking branch 'origin/4.11'
Conflicts:
	src/plugins/genericprojectmanager/genericproject.cpp

Change-Id: Ib54f1645ec70a9e6460a888a13190ede130bccca
2020-02-05 11:59:35 +01:00
Andy Shaw
c50e928e76 Fix progressbar example so that it compiles and related doc
Change-Id: I17423a57cf4e86492462caacd3ba0a9d5d4dd6be
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-01-30 13:22:56 +00:00
Leena Miettinen
5ee95ad636 Doc: Update information about Qt Quick 3D Model types
The primitive types are now available as components in
Library > Qt Quick 3D.

Fixes: QDS-1544
Change-Id: I472280bab4bd219eff14b8fd30546941a7ac6a95
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-01-29 14:42:30 +00:00
Leena Miettinen
18514a5585 Doc: Fix links in the Extending Qt Creator Manual
- Hide links to sections that have not been written yet
- Fix some links to information that was moved
- Use HTTPS in links to Qt Creator Manual topics

Fixes: QTCREATORBUG-23529
Change-Id: Idd162c04fe6992bbecd2acd4a7ec388e49f29b84
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-29 12:40:39 +00:00
Leena Miettinen
5c13c7ae7b Doc: Add information about how pivot offset is visualized
Fixes: QDS-1543
Change-Id: I79b00c3e5b3c23f91bf6c6b8b670d53f7870e3a0
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-01-28 09:12:37 +00:00
Christian Kandeler
350fe09cec Adapt qbs build to doc changes
Amends 5fc456dd22.

Change-Id: I342b82248ee84267613dd17583840d1c4daaaef3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-01-27 12:33:51 +00:00
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
Leena Miettinen
5b21c66b1d Doc: Update information about Sketch
This change was missed when moving the docs.

Change-Id: I106f5505de46785afd80ea668aa2c13ee4a9d072
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-23 14:48:31 +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
c16e205a77 Doc: Describe saving Clang-Tidy configuration as a file
Fixes: QTCREATORBUG-23223
Change-Id: Ia78220bb959e9bafb9101e3f130ab75180c1b816
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2020-01-21 13:22:20 +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
4a971127ac Doc: Add Qt Design Studio Manual sources
To build the manual, switch to qtcreator\doc\qtdesignstudiodoc,
run qmake, and then "make docs".

The example documentation does not get built with this change.
We need to decide whether to move the examples or fetch their
docs from the other repository.

Task-number: QDS-1487
Change-Id: Ic0a8c15b226eba8ac90686953568f3deaa000fb0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-20 13:54:38 +00:00
Eike Ziller
bd5dae90ad Merge remote-tracking branch 'origin/4.11'
Conflicts:
	share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5informationnodeinstanceserver.cpp

Change-Id: I5e424e34db619bb769c7abc1e8651b7b40210839
2020-01-20 09:59:27 +01:00
Leena Miettinen
5f8fe92105 Doc: Describe collecting LTTng data and converting it into CTF
...for viewing in the Chrome Trace Format Visualizer.

Based on a QtWS19 talk by Milian Wolff:
https://resources.qt.io/qt-world-summit-2019/lttng-for-full-stack-tracing

Fixes: QTCREATORBUG-23471
Change-Id: I173aa68e7198c7f13aecb73f28000af02d7ec0ed
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
2020-01-16 08:42:20 +00:00
Eike Ziller
1c37415604 Merge remote-tracking branch 'origin/4.11'
Change-Id: Ib47833b23e90c5f08b318d3d4985a4f3a450ee4b
2020-01-15 07:21:52 +01:00
David Schulz
69bc021380 Doc: fix ui text from settings dialog
Change-Id: I6c085cf8d555821850ade56785ce1181a09ce078
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-01-13 15:02:00 +00:00
Eike Ziller
382589f160 CMake build: Fix output location for qch files
Change-Id: I8722ca02f6e7f5c97f3d29ba6d69a752d1cbdd5f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-01-13 14:47:59 +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
f6113eec0c Merge remote-tracking branch 'origin/4.11'
Change-Id: I7b4672813b1c0909bf82623a4caacd4a26166da0
2020-01-13 09:27:08 +01:00
Leena Miettinen
df60a47cdd Doc: Describe using the binding editor in the Design mode States pane
...to create when statements

Change-Id: Iec56f6aa76478ca1ffc9803df3dffd4cd7196e65
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-01-09 14:05:37 +00:00
Eike Ziller
0f30adcc8c Merge remote-tracking branch 'origin/4.11'
Change-Id: I949f4f63abe12e11c4598c98295bfccc82e0ebdb
2020-01-09 11:18:44 +01:00
David Schulz
1ab9dc9464 CppEditor: generate valid code via "Convert to Pointer/Stack Variable"
Adding a "= new <TypeName>" after converting a stack variable without
assignment or initializer to pointer.
Also remove the assignment when converting from pointer to stack
variable as this works better with explicit constructors.

Fixes: QTCREATORBUG-23181
Change-Id: I377ec32a1b66cf4b96db14cfcb4b71fb96c80c98
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-08 09:21:25 +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
ae29b2794b Doc: Describe aligning and distributing items in Qt Quick Designer
Task-number: QDS-1307
Change-Id: I62d7e127ced887fec9dbfddb1a8607e74e846108
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-12-19 09:37:36 +00:00
Leena Miettinen
0341772445 Doc: Use HTTPS to access Qt WebAssembly
Fixes: QDS-1402
Change-Id: Id15771bb2dda8da81640f809b143a43388a7f661
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2019-12-18 08:55:34 +00:00
Leena Miettinen
0f148f479d Doc: Add dependency to qtcmake for links to CMake docs to work
Fixes a QDoc warning.

Change-Id: I7248cbc6471830039f6399696416de40ceacb595
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2019-12-18 08:20:28 +00: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
Christian Stenger
6b492866af QmlJS: Add check for duplicated import
Add a soft check for duplicated Qml/JS imports which
adds a warning when a file contains imports that
duplicate the same URI / version or file path.

Change-Id: Ib9a1f8a90dd3cf469d90e83abc1d748901b1e353
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2019-12-16 06:28:20 +00:00
Orgad Shaneh
49f6b0146a Merge remote-tracking branch 'origin/4.11'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri
	src/plugins/mcusupport/mcusupportrunconfiguration.cpp
	src/plugins/python/pythonproject.cpp
	src/plugins/qmakeprojectmanager/qmakestep.cpp
	src/plugins/qmlprojectmanager/qmlproject.cpp
	src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp

Change-Id: I22507be28fd80c49c9fee0dff5937a40db176a82
2019-12-07 18:39:54 +02:00
Leena Miettinen
6edb2290b8 Doc: Remove "Exporting Designs from Graphics Software" topic
Users are confused, because we now have Qt Bridge for Photoshop.

Change-Id: I63220cd2c2df5bc552b96c4cf7a5df72d2fe89b4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-12-05 12:52:29 +00:00
Leena Miettinen
a198b37eda Doc: Remove known issue that has been fixed
Change-Id: Ib9d1b25373070647c99eb756232d426253094b18
Reviewed-by: hjk <hjk@qt.io>
2019-12-04 09:06:43 +00:00
Leena Miettinen
02c1fc0def Doc: Fix navigation links after structure changes
...in Qt Design Studio manual

Change-Id: I6ff4aac1d142fc474fcafa85bc5cb3b5b8fa7675
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-12-04 08:44:10 +00:00