Commit Graph

1571 Commits

Author SHA1 Message Date
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
Leena Miettinen
8d0cd98d4d Doc: Move Timeline editor docs to the Qt Creator repository
Reorganize the Qt Quick Designer docs.

Change-Id: I844f2ffa6c8337eef1d9aa5dbd23610c706a8c33
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-05-03 13:55:11 +00:00
Leena Miettinen
ee68989e2a Doc: Add anchor button images and use them in the docs
Also needed in the Qt Design Studio tutorials.

Change-Id: I3efe391660480b02d010327afd583070b1fa1a33
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-26 07:47:41 +00:00
Mitch Curtis
f0c64c3bd7 Document how to see disassembly
The documentation mentions what it is, and even that it's hidden by
default, but never tells the user how to see it.

Change-Id: I8c875164fa6bcdb180e46ce28594496f7f97681a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-04-25 10:15:05 +00:00
Leena Miettinen
58e43d9287 Doc: Do not mention the colors used for errors and warnings
...when underlining issues in the code editor.

However, describe how to modify the colors.

Change-Id: I8a4db7bfac22f0f76b9f596250a9cf6569fe3392
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-04-25 06:37:17 +00:00
Christian Kandeler
261d7752b0 RemoteLinux: Retrieve deployment info from local install root
This provides correct deployment information as seen by the build system
when Qt Creator cannot retrieve it directly.
It's most useful for autotools and cmake projects, but can also help
with qmake in certain edge cases.

[ChangeLog] It is no longer necessary to provide a
QtCreatorDeployment.txt file when using CMake projects with remote Linux
devices.

Fixes: QTCREATORBUG-21855
Change-Id: I27e07a45dd1565e489f4b573cc3fff8191c57d9b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2019-04-23 15:52:05 +00: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 Stenger
e1deae844e CPaster: Remove KDE paster
There is no official API anymore after the latest change of
the KDE paster and it was probably almost no more in use
after the need for credentials.
Remove everything related except the base implementation
of the sticky notes part as it could be re-used for another
paster that based on the old approach used by the KDE paster.

Change-Id: I0e2c3f279bc9eaa373147ee2909c9538f0d62498
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-04-23 06:44:19 +00:00
Leena Miettinen
9ac0ae18d6 Doc: Use "screen" only to refer to physical screens
Replace with "UI", "view", or "parent" or leave it out, depending on
the context.

Change-Id: I319d173d5db45380f8b940701ca1b1e5e9753065
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-16 14:32:27 +00:00
Leena Miettinen
cbe053f685 Doc: Divide the User Interface topic into several smaller ones
Update screenshots.

Change-Id: I740607007c7316b755b083056ff0a4f69f6a49e8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-16 14:32:14 +00:00
Eike Ziller
1dec7c2d63 Merge remote-tracking branch 'origin/4.9'
Change-Id: If72840c903ec38281c7f76f7b3595197bde96679
2019-04-16 10:18:26 +02:00
Leena Miettinen
fe074039ad Doc: Update info and screenshots about using Qt Quick Designer
Change-Id: I3e1f803b48fcd4e89d9a4570cdba97f37b0106d7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-16 07:25:17 +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
Eike Ziller
75696f9639 Merge remote-tracking branch 'origin/4.9'
Change-Id: I95c56cc9371959f96afde3677fc82481f36f66c8
2019-04-12 14:31:01 +02:00
Leena Miettinen
0a582f279e Doc: Fix link to icon in Qt Quick Designer docs
Instead of the transparency button, the eye-open icon should be clicked
to hide items on the canvas.

Change-Id: Ica44241a1ea129f24f97cdae58355d14bce79d61
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-10 12:52:00 +00:00
Leena Miettinen
fb1ddb53c8 Doc: Describe Stack context menu commands in Qt Quick Designer
The Raise and Lower buttons were removed from the toolbar, so
describe the respective context-menu commands instead.

Change-Id: Iaa00d0b627674f901978404083762e19bb4fb625
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-10 08:21:14 +00:00
Leena Miettinen
761d8af68b Doc: Add a link to supported JavaScript methods from error message docs
Since 4.9, the listed functions are supported in Qt Quick UI forms,
but the message text has not been updated. It is translatable, so
it will be updated in master.

Change-Id: I724ffa72bbd78bf9b8d9b5b5ec2136c2d72859a9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-04-09 14:23:16 +00:00
Leena Miettinen
9d61f64a65 Doc: Update information about using the editor toolbar
- Add section headings
- Describe the context menu for the open file
- Add screen shot of the Text Encoding dialog

Change-Id: Ic2196855321eee6a8f742cd6dc8f8e316b976cdf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-04-09 12:50:33 +00:00
Leena Miettinen
7d08aa3de0 Doc: Add a note about installing Qt Virtual Keyboard
You can easily just ignore the check box when using a wizard to
create a project, but the main.qml file cannot be opened in the
Form Editor if Qt Virtual Keyboard has not been installed.

Change-Id: I88355efa3ad28e5485a944865a722e31db372071
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-09 09:44:28 +00:00
Leena Miettinen
11d7baf97d Doc: List Animated Image as a QML type supported in Qt Quick Designer
Change-Id: I3eefe1d70200801639112fb961a1c5c9d6fe161d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-09 07:16:09 +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
Orgad Shaneh
39ba01da71 Merge remote-tracking branch 'origin/4.9'
Change-Id: I7d1912cd5c4d824fd40d3454c5f1bb796f2c21d8
2019-04-07 23:13:17 +03:00
Leena Miettinen
6ee855a2bc Doc: Describe launching KCachegrind from Qt Creator
...for profile data visualization.

Change-Id: I878ab4a3dfff0fc43903e482603a516514e79c10
Reviewed-by: hjk <hjk@qt.io>
2019-04-05 15:18:21 +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
6916329623 Doc: Add note about only B2Qt version 5.9 being supported
Change-Id: I677073b521bc3d7523814eaf562828e523c83e00
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
2019-04-05 10:43:00 +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
Leena Miettinen
3f544c18f8 Doc: Add device types available in Kit options
Describe the "Emulator skin" field.

Change-Id: I7d3808064a48f7523b9f76f2058b5a1276b19e94
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
2019-04-05 07:18:18 +00:00
Leena Miettinen
6fd4bcbc36 Doc: Fix info about generic highlighting in Configuring Qt Creator
Change-Id: Ic2e2154f64abff3d7ad88dbce2e530ecee6839d1
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-04-04 13:16:16 +00:00
Leena Miettinen
d1a30ff8b6 Doc: Add info about the language server plugin to the IDE Overview
Change-Id: I634bd3c12fd59c4fa7647a625287c74bde10d49f
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-04-04 13:05:06 +00:00
Leena Miettinen
ab26e9b6a5 Doc: Link to Clang tools diagnostics from Clang code model
The screenshot in Clang code model shows lots of things that
are explained in the Clang tools topics.

Change-Id: I8d34433348801962a4146dd7fac006d7c37a8b8e
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2019-04-04 12:08:33 +00:00
Christian Kandeler
14bffd2c88 ProjectExplorer: Add settings icon to app and compile output panes
This provides a natural shortcut to the respective options page.

Change-Id: I1e57c64d1541540cb1c0c44c6fb8eaad69fc2e32
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-04-04 10:44:31 +00:00
Leena Miettinen
efb074dd39 Doc: Fix path to Tools > Git > Local Repository > Patch > Apply from Editor
Change-Id: Ic2433239b52da5369c1a946f1c277f416ee7349b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-04 08:05:07 +00:00
Leena Miettinen
33d9bddc46 Doc: Mention that Perforce plugin must be enabled also in VCS overview
For consistency with ClearCase.

Change-Id: I77a2195f91cccdbb8c58e4eb1a0a250fa3ab5a31
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-04 07:11:07 +00:00
Leena Miettinen
d8c86deb0f Doc: Add information about CVS Edit, Unedit, Unedit Repository
Change-Id: Iadd201a70300ba243b93568d4a369748dd23de35
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-04-03 15:22:23 +00:00
Eike Ziller
ec15a93215 Update documentation on supported macOS platforms of the prebuilt binaries
The prebuilt binaries are based on Qt 5.12 which requires macOS 10.12 or later

Change-Id: I72fbfed1aee4ca137676916f8c11c734c41149db
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2019-04-03 11:51:50 +00:00
Mitch Curtis
fe21a7a77e Allow pinning files to ensure that they are always open
This patch allows pinning files within a session. Pinning a file puts
it at the top of the Open Documents list, and prevents Close All
from closing it until it is unpinned.

This is useful for files that should always be open for a given
session.

[ChangeLog] Files can now be pinned via the context menu.
Pinning a file keeps it at the top of the Open Documents list,
and prevents Close All and similar actions from closing it
until it is unpinned. This provides a way to quickly close any
open files without closing important ones.

Change-Id: If47a599fb272db4c78a71eabe6fb29215a9a8a11
Fixes: QTCREATORBUG-21899
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-04-03 09:17:55 +00:00
Leena Miettinen
e730c72715 Doc: Describe correlating time ranges with flame graphs in QML Profiler
Change-Id: I2b2ecfab5af02df909a1904f1803bc573b6ae352
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-04-03 06:51:31 +00:00
Leena Miettinen
bb9869dd7f Doc: Add missing info about options in Projects sidebar view
Change-Id: Ide060217020cac1787e7c320be66f6283f08845f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-04-02 14:14:31 +00:00
Eike Ziller
b5e7522237 Merge remote-tracking branch 'origin/4.9'
Conflicts:
	qbs/modules/qtc/qtc.qbs
	qtcreator.pri
	src/plugins/pythoneditor/pythoneditorplugin.cpp

Change-Id: I9a95df5e16b34538539ced7dfc5d326b700794e6
2019-04-02 12:22:48 +02:00
Leena Miettinen
2221ef04fe Doc: Update FakeVim command line mode options
- Add and remove options
- Add short names for all options
- Add arguments for the options that take them

Change-Id: I3d1e96a87ddfecff69193c0a87bc76e33d2ab66c
Reviewed-by: hjk <hjk@qt.io>
2019-04-01 13:39:41 +00:00
Leena Miettinen
28d2cc93e0 Doc: Describe the debugger Load Core File dialog
Change-Id: I6e98c3420d6142d230181efe8e764040f8154f7b
Reviewed-by: hjk <hjk@qt.io>
2019-04-01 13:27:41 +00:00
Leena Miettinen
a6fe2999db Doc: Show the User Interface topic in Qt Design Studio Manual
The topic was added to the Getting Started section, so the
navigation links were changed.

Also, the topic that describes the Design mode was moved to
Getting Started.

There is a respective change in the Qt Design Studio repository.

Change-Id: I5b9d85e06be089924fccba8264a669eaeb258249
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-04-01 09:45:56 +00:00
Leena Miettinen
8fe6d2181e Doc: Describe the Qt for Python project wizards
Explain the code generated by the wizards.

Change-Id: I07a172d57710b1c50d77b2a7552a3686a4607af4
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2019-04-01 09:06:17 +00:00
Leena Miettinen
feca64ee9d Doc: Describe selecting or deselecting all autotest filters
...in Tests output pane.

Change-Id: I0e3794085dd38aa5f506ab30ad01e86c62fe39f0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-04-01 07:21:35 +00:00
Leena Miettinen
4ea12da3ca Doc: Acknowledge ANGLE licenses
Fixes: QTCREATORBUG-20682
Change-Id: I3874157c6e3843fc6dd39aaf5da7a02407b657d1
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2019-03-28 09:41:39 +00:00
Leena Miettinen
fc078c30a2 Doc: Update docs for Perforce
- The plugin is now disabled by default
- The error message should no longer appear

Change-Id: I16b5d8cf598756b6663ff263321e51a1db2c729f
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2019-03-28 08:21:36 +00:00