Commit Graph

66072 Commits

Author SHA1 Message Date
Tim Jenssen 165ccb828d qmlpreview: fix calling right localeIsoCode method
Also add some QTC_CHECK to get at least some warning
in case the functions are renamed in future.

Change-Id: Ie4e78855152e9946950603c95fa881755e850c62
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-10-14 12:15:41 +00:00
Leander Schulten 5b5ae97104 CppEditor: Introduce QuickFix settings and unify getter/setter generation
Introduces a QuickFix settings page where the generation of getters and
setters can be customized. The settings can be saved into a file that can
go into a VCS. All QuickFixes that generate getter/setter/signals/
Q_PROPERTIES now use the same backend. QuickFixes that generate getters/
setters are now extended to also generate signals and Q_PROPERTIES.

Fixes: QTCREATORBUG-1532
Fixes: QTCREATORBUG-17941
Fixes: QTCREATORBUG-12678
Fixes: QTCREATORBUG-15779
Fixes: QTCREATORBUG-11620
Fixes: QTCREATORBUG-22707
Fixes: QTCREATORBUG-20157
Fixes: QTCREATORBUG-21804
Fixes: QTCREATORBUG-19814
Fixes: QTCREATORBUG-14622
Fixes: QTCREATORBUG-19803
Change-Id: I50ed2dad9b4a637fbd87b3e1f2856060ad0ad920
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-14 10:12:44 +00:00
Mitch Curtis 7c58a4ac5b Replace references to Qt Quick Controls 2's Default style with Basic
The Default style was renamed to Basic.

Task-number: QTBUG-85984
Change-Id: I147951c734165274561edf057292ad3192c681ea
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-10-12 13:16:02 +00:00
Eike Ziller 75d97f9ea7 Unconditionally include Script locator filter
We require Qt 5.14 now.

Change-Id: I7da06b0071f7998fd723712f97111c5d31bba9b8
Reviewed-by: hjk <hjk@qt.io>
2020-10-09 14:40:33 +00:00
Eike Ziller 9192de91b4 Merge remote-tracking branch 'origin/4.14' into master
Change-Id: I8fa31853863de717ef68dcd9d39dfece6a6cdfc4
2020-10-09 16:39:20 +02:00
Eike Ziller 8add61b216 Merge remote-tracking branch 'origin/4.13' into 4.14
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri

Change-Id: Ia779a511d73d86d79dbcecd8cc3763cf3d605a87
2020-10-09 16:35:27 +02:00
Eike Ziller 75adba735b CMake build: Build Qbs if the submodule is available
Includes update of Qbs to current head of master, which enables this
feature on the Qbs build system side.

Fixes: QTCREATORBUG-23905
Change-Id: I9a537b640b7f7a753839ace3e44d174c8e0af526
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
2020-10-09 14:27:54 +00:00
hjk a722b7a093 ProjectExplorer: Fix CustomProcessStep
Only display worked, the command was not used for running.

Change-Id: I6afc65d97310fe14a58136393bd0657127d8afca
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-09 12:08:11 +00:00
hjk 96d33bb8f8 ProjectExplorer: Remove unused KitAspectWidget::dirty signal
Change-Id: Iabf37b3806eae4dcde73927bd540723a7b8f88bb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-09 11:49:20 +00:00
Dominik Holland db4b3641f5 qmlprofiler: Fix a crash in the rangeFilter
Always check the stack before popping an element.

Fixes: QTCREATORBUG-24730
Change-Id: I7dc6363137ef002219fbc49b7343cff8112a58c2
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2020-10-09 11:38:28 +00:00
Alessandro Portale 6e70ced113 ProjectExplorer: Show "<file path>" for "-ensure-kit-for-binary"
Don't show double angle brackts: "<<file path>>"

Change-Id: I19a346b216b9b96f28c40b2d9bd5659449926174
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-09 09:42:25 +00:00
Leena Miettinen b5af9151bc Doc: Update info about using Clang tools
Task-number: QTCREATORBUG-24529
Change-Id: I3abca4ae3061f1b940ad4f0ee0471bb84a05e63f
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-09 09:39:55 +00:00
hjk 7527bbcf2c ProjectExplorer: Move KitAspect related layout code
... from KitManagerConfigWidget to KitAspectWidget (which is not
really a widget, but...)

The modification for the alignment handling only affect this use
here. Long term I hope this can be handled centrally (e.g. always
use the special form label alignment for labels in the first column
when some LayoutBuilder bool property is set, instead of doing that
for each use), so this is not necessarily a final API.

Change-Id: I678dba45ee68ca9706569715d232f98363de8636
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-09 09:05:57 +00:00
Alessandro Portale a8e704bd82 ManhattanStyle: Improve dark theme look of some widgets
This improves the visibility of radiobuttons, checkboxes, lineedits,
groupboxes, frames and tab-close indicator in dark themes.

Scrollbars, spinboxes and the arrow button of an editable combobox are
not handled by this change.

Task-number: QTCREATORBUG-23505
Change-Id: Ieba94f3847a3c2e0da7e9b554e1026525618f49f
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-09 08:25:10 +00:00
hjk 9fe48b36e4 Utils: Re-use BaseAspect's m_settingsKey for SavedAction
Change-Id: I7ebc8013f15970a56315b3da80969808e505b3bf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-09 08:08:50 +00:00
Christian Kandeler 2287def85e clangbackend: Fix crash
We cannot assume that a Q_PROPERTY name is on the same line as the
keyword.

Fixes: QTCREATORBUG-24746
Change-Id: Ic2e02291e24c1abbaf72881b540a26c82899cb2c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-09 08:06:56 +00:00
Eike Ziller 94b9b33a17 Install pythonXY.zip for qtcreatorcdbext
Fixes: QTCREATORBUG-24528
Change-Id: I0db1407c17ff00a7424b8b8c229f503dc4891a12
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-10-09 06:29:38 +00:00
Orgad Shaneh 7e4364fb70 VCS: Do not focus on the pane every time it becomes visible
Fixes: QTCREATORBUG-24425
Change-Id: I727913eeeae34e6d656bfc5b17a737c5bcbffe88
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2020-10-09 05:23:28 +00:00
Orgad Shaneh 4b6a6acc4e Core: De-pure IOutputPane::visibilityChanged()
Most implementations are empty.

Change-Id: I811cacfc2918c8b2803798c4f5d3dabc7d60ccd1
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: hjk <hjk@qt.io>
2020-10-09 05:23:17 +00:00
Assam Boudjelthia d1a42414c5 Android: fix misleading warning when creating an AVD
When no system images are installed in the used SDK path,
the warning should point to install a system image because
none are installed instead of blaming the SDK.

Task-number: QTCREATORBUG-24754
Change-Id: Ic3dc6cb25f014f4216fd63636b3b312b14f76e6d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2020-10-08 18:18:21 +00:00
hjk ce2c18dd68 Help: Some Qt 6
Change-Id: I30553e491e5dfc119ac1527c8a2419b6d18647fc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 15:39:10 +00:00
hjk a27b162407 PerfProfiler: Compile fix for Qt5
Amends 67c800af6e.

Change-Id: Ia0bb003d3e83027d060c97a1bcf8758db00d9281
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2020-10-08 13:57:46 +00:00
hjk fe0ee642b5 QmlDesigner: Compile with Qt 6
Qt 6 does cannot handle forward-declared types in signal declarations.

Change-Id: Iad4a810841df3d077750ad76c892bdb7eecc0a80
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 13:39:16 +00:00
hjk 852985b2ca Help: Sprinkle some QLatin1String
Change-Id: I395742c2255b50c0a9017f86c7e7dca5a8535542
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 13:32:21 +00:00
hjk 67c800af6e PerfProfiler: Some Qt6 compilation
Remaining issues operator<<(DataStream &...), the timeline dependency
and qmlRegisterType.

Change-Id: I51556e67cd93cb8bdced569ca509929705da80b4
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2020-10-08 12:51:48 +00:00
hjk 41a51a63f5 ClangCodeModel, Puppet, CrashHandler: Compile with Qt6
Task-number: QTCREATORBUG-24098
Change-Id: Ic65e7a5dce0a512f48fb70915b9443ef7df2b787
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 11:16:09 +00:00
Eike Ziller 0f87be729c Bump version to 4.13.3
Change-Id: Ia546dc945af578105ad959005e7e710f5d592573
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 10:50:30 +00:00
Eike Ziller 3ee70780b4 Qt6: Sprinkle QLatin1Strings for QStringView comparisons
Task-number: QTCREATORBUG-24098
Change-Id: I2fb79bcfd0537a6704a1ee8db840401d6beca7a0
Reviewed-by: hjk <hjk@qt.io>
2020-10-08 10:38:47 +00:00
David Schulz cf460578ff Debugger: fix various dumper tests for mingw
since the gdb uses to hang on windows when calling functions we disabled
that functionality reflect that in the QDateTime and QLocale tests.

Change-Id: Ie212ab8c7634804e1054bfddfb753de055403c4f
Reviewed-by: hjk <hjk@qt.io>
2020-10-08 10:36:56 +00:00
Cristian Adam b9cd1cc15e CMake Build: Fix PCH builds for non MSVC platforms
Ammends 2129a04c5d

Change-Id: I50fc1bf2e5ef4742243aa08a4e5ad2bfee459eb1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-10-08 10:26:21 +00:00
Orgad Shaneh d02c69d1bc DiffEditor: Improve initial size of description widget
Fixes: QTCREATORBUG-24286
Change-Id: I8844b30d287fcdc5333906d00d92e00d05f5560a
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-08 10:18:03 +00:00
Eike Ziller 15707ef0b6 Merge remote-tracking branch 'origin/master' into 4.14
Change-Id: I5efcf81bd8f5a5e6f0e5bbcc2fc1f5439e83acef
2020-10-08 12:07:09 +02:00
Eike Ziller 9828e6887e Merge remote-tracking branch 'origin/4.14' into master
Change-Id: Ie53b4c2516d80a653d51bc6b666040c586ce44ab
2020-10-08 12:04:06 +02:00
The Qt Project e61152bf56 Merge "Merge remote-tracking branch 'origin/4.13' into 4.14" into 4.14 2020-10-08 09:58:48 +00:00
Leena Miettinen fff49421ce Doc: Describe new keyboard shortcut for function tooltips
Task-number: QTCREATORBUG-24529
Change-Id: I34237f0f4c0d47588bfebc368a712eb38f205b60
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-08 09:16:33 +00:00
Alessandro Portale c68f49fefa Remove unused private functions
As found by Cppcheck.

Change-Id: I697ea69992425ff41e35990ad00be312b35ba70a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-08 09:06:02 +00:00
hjk 35bab3a021 Autotools: Also read _HEADERS variable
Change-Id: If081d9ec00a87d8e7989720a351531e94d02e28c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-08 08:34:13 +00:00
Aleksei German 65ca1301de QmlDesigner: MCU Metadata improvements
- Introduced allowChildren switch

Task: QDS-2794

Change-Id: Ie992fb173e8eacb27b10679d5ff28238277aa346
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-10-08 08:01:16 +00:00
Eike Ziller 5ab8cc61fc Merge remote-tracking branch 'origin/4.13' into 4.14
Change-Id: Ia20a937786be651a5fe9daefb856f7779905ef68
2020-10-08 09:46:09 +02:00
Leena Miettinen 3f085cd765 Doc: Add info about code completion options
Update screenshots.

Task-number: QTCREATORBUG-24529
Change-Id: I64e118185e48fa9492958654e1619b2bb25cfbf9
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-10-08 07:13:54 +00:00
Leena Miettinen ad912f66a6 Doc: Describe auto-completion in C++ class wizard template
Task-number: QTCREATORBUG-24529
Change-Id: I007c2a1f13041ddb95c98086f257afa4fa9e9b1b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-08 06:52:49 +00:00
Leena Miettinen 4c76553273 Doc: Update info about default help viewer backend
It is now litehtml. Update screenshots to show the help using
the litehtml backend and to use the Design Dark theme.

Task-number: QTCREATORBUG-24529
Change-Id: I7e230e7e0a154161f525ba37d0965ac1c50d2ea6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-10-08 06:52:39 +00:00
hjk 35932385bc FakeVim: Allow AltGr as modifier to produce normal key values
Task-number: QTCREATORBUG-24673
Change-Id: I6d1aa5badd3077f0885d5b2470527c006096809d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-08 06:24:46 +00:00
Tim Jenssen bfc04ed53d qmlpreview: enable adding multiple testlanguages
Task-number: QDS-2531
Change-Id: I558f6d1040148ff4a392f5c5cfc6af4da54fef70
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-10-07 14:55:31 +00:00
Tim Jenssen 9dda8af0b0 qmlprieview: fix that init language is the chosen one
* removes language feature from preview service
* it is handled by an extra DebugTranslationService until now
* Qt versions without that extra service can not preview
  languages anymore
* Introduce the use of QmlPreviewRunnerSetting. It makes it
  easier to add more properties in the future
* Language needs an extra handling because it needs
  the loadUrl to find existing languages. So we save
  the language to a m_scheduledInitLanguage and emit
  this after the loadFile call happend.

Change-Id: I7f4aec97f7b61d6b290f225282169da594eb9160
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2020-10-07 14:55:17 +00:00
Christian Kandeler 92cce87433 Unit test: Fix qbs build
The CLANG_UNIT_TEST macro was set unconditionally.

Change-Id: I1a8f16e2e295bda46fc60aab342a74f9675100cc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-07 14:48:34 +00:00
Leena Miettinen 1fcac114a3 Doc: Describe new refactoring actions (quick fixes)
Fix capitalization of action names.

Task-number: QTCREATORBUG-24529
Change-Id: I021717bbae237dd293bdbd56d5e10407ee12f224
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-07 12:54:25 +00:00
Robert Loehning 38efee1598 Squish: Update __getSupportedPlatforms__()
Change-Id: Ia9840c74528c8fb435099ccdffb2f6f1b06b7e77
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-10-07 12:48:40 +00:00
Christian Stenger 05254bef15 Tests: Ensure valid project file
Change-Id: Iad22782fee5b330d145ab456c38ff0b9363f0fd2
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-07 12:42:22 +00:00
Christian Stenger 9dbda24bca Dumper: Fix displaying intrinsic types in cdb
Change-Id: Id0089017912a8d5de0f822fed56231f291859bed
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-10-07 12:42:17 +00:00