Not just to deduplicate/reuse code but also to make make it clear that
different places where lldb is called, the same preparations have to be
done.
Change-Id: I104aca845fd7b42f63443bda2502574f4d28b411
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... for certain types of template/namespace combinations.
This essentially reverts 2798c11d1d.
Fixes: QTCREATORBUG-26520
Change-Id: I1ab0e4e19bd09695d1536bf6f10960107e9ecbc4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Restricted the properties offered for a newly created node to be
bound to after a drag from component library.
Read only properties are no longer offered for binding.
Properties of common base types are also omitted due to large amount
of invalid properties offered.
Fixes: QDS-5357
Change-Id: I96fea067c3c4f64dd60d7cb6edebd4333c9fb51a
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Additionally adjust the postioning of the initial setCodec to all other
forced codecs.
Change-Id: Id60bfdac858851e5ad6554ff2dbcb3dd5b806c0b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Make isEmpty a property instead of an invokable method so that
Qml side is properly notified when its value changes.
Change-Id: I2552b23cc533bbd740902a31bae89b1dfbd3b0cf
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This allows the debugger to show the code location from which
an uncaught exception originates.
Change-Id: I6edbc381a4028e95d1844affac85a79ecdf55197
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The qt-html-templates-online include adds a source for the results page,
but because it was included before the main project .qdocconf, the latter
overrode this setting.
Pick-to: 6.0
Change-Id: I10d9491aa481eec958bdb8744e1c0bbd36e4763c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
The call of QWidget::close() on the main window is blocked by Qt if
there are modal windows open. First close/accept all currently open
modal dialogs, then close the main window.
Reverts a8bc9774f9 which was specific to
the Link with Qt functionality, and generalizes the code in
MainWindow::exit().
Fixes: QTCREATORBUG-26525
Task-number: QTCREATORBUG-24098
Change-Id: I4c62f684cdfd749dfb3d3c18bd513b9fee10ddda
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Without this, add module list will be empty after project load
sometimes.
Change-Id: Ia45949bc0cb22e4e3a0942d5858f2b395c0b8722
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Get rid of code repetition by making runProcess() a common method.
Change-Id: If0b47fba4351119e7373caa250131891b9bb403d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
The resize tool does not work as expected in this case.
Task-number: QDS-5346
Change-Id: Id977bb29670d216cf0989e4b2cd5072ae40ad6d1
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
And pull the env-modifying code into a function which we might want to
use in other places where lldb gets executed.
Change-Id: Ic9caaf8c29896c54d67c969d2812b4da627a5fc0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... also in macro expansions.
Amends 8c437362bc. Just like in that patch, we don't prevent trailing
quotes, even though they are not allowed. Unlike in that patch, we don't
check the language version, as it is not set during preprocessor mode
(for whatever reason).
Fixes: QTCREATORBUG-26484
Change-Id: I8737724208802ed9a9005af538cf13fbfd2efd42
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
That is, project-wide changes done from Qt Creator, such as search/
replace or quickfixes.
Fixes: QTCREATORBUG-26523
Change-Id: Ide4e56a7a1300eb6f25cabf1cfd94624d66e7e4e
Reviewed-by: David Schulz <david.schulz@qt.io>
... because of binary compatibility.
Comes after a2b6dba0bc.
Change-Id: I18866de39a05c6690b47632cc5503f8555e006da
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
These block selections are a convenience for people used to the block
selection allowing to also unselect parts again (at least as long as
alt+shift is pressed).
Fixes: QTCREATORBUG-26535
Fixes: QTCREATORBUG-26529
Change-Id: I19558dc1d823c268cc1cfda0ea8151bac483701f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Uses the right python version and connects. but the device
side keeps saying "Waiting for Debugger".
Change-Id: I0bc9dadfa9e12831006cd486984bc29e197d7fbd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Disable strict equality check for undefined values as there
are too many ways the code model just assumes "undefined" as
the information would be present at runtime only or to avoid
too complex evaluation.
Task-number: QTCREATORBUG-25917
Change-Id: I7c6da04f52ba767c4ef5c21078dc14ac4de86687
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Adding import statements fails silently when editing in-file
subcomponent, and removing them can crash creator, so block various
cases in component library, navigator, and 3D edit view that do this.
Fixes: QDS-5353
Change-Id: Ide5429cd97d2bf78f884b14e83cdffd10399f929
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Return to correct function call order when preparing
and uploading data to the device.
Pick-to: 6.0
Change-Id: Id4c56eda385964bc97b7d866bc6d76cf854feca2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Add a way to edit and view particles visually, as editing
only the properties in property editor does not help visualize
how the particle effect is going to look. Support toggling the
effects on/off, pausing, resuming, and scrubbing the time back
and forth. Only the selected particle system is animated to allow
concentrating on that particular system without being confused
by other possible particle systems.
Fixes: QDS-4623
Change-Id: I2677c56a73279d451d77df1d131bd7294e6b23bb
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The shortcuts of the formeditor related to zoom did not work
on macOs since they where specified in a wrong manner.
Zoom in/out are now specified in terms of QKeySequence::StandardKey.
Zoom all/selection are now specified in terms of strings.
Change-Id: I7a779b81a9464eea59a8443cd5d5e6cec3316fd6
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
- Show some accidentally hidden information in Qt Creator
Manual
Task-number: QTCREATORBUG-26278
Change-Id: Ia611633d52e4b012a40d7be548313e62f8ce3683
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Items that do not have 2D Item parent, such as 2D items embedded into
a 3D scene should not have form editor items created for them.
Fixes: QDS-5356
Change-Id: I11e38c99718977dcb94152925fcdf2d2caf57c9d
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
The QmlDesigner now depends on the CppEditor plugin
and the CppEditor plugin enables most of the C++
related wizards.
The easiest solution is to simply clear the wizard
paths before setting the QDS specific path.
Change-Id: I7ee6c84693053e6ad32ec28a6cf262dee615992f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>