The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.
Task-number: QDS-9124
Change-Id: I9e0e59d4bdf312d98177b8da51761bca8073c9e5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.
Task-number: QDS-9124
Change-Id: I148ecc6b489f6d72d80a345aa195f74676a92d51
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
When setting the locator to open as a centered popup, everything locator
is triggered, the search term is cleared.
Don't delete the popup when closing it. That keeps the input field alive,
and the text in it. We manage a singleton instance of it in
locatormanager.cpp/locatorWidget(), and it will eventually be delete
because it has a parent.
Change-Id: I237029bc2793f7394c5eb6ea7d658a4dd4a2c1cf
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Instead of trying to update all files in a single lupdate call,
make the ts_all targets just depend on the individual language targets.
It is less efficient, but not used often, simpler to setup and since
lconvert cannot work on mutliple .ts files simultanously easier to
setup a ts_all_cleaned target.
Change-Id: I60718408a661f011d84f3f74645e2f8fd49a95d1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
If the user wants to clear the log in order to read it only "from now
on", then the sensible way to do that is to clear the log, finish the
debugging session, then copy the output from the log pane.
But this flow did not work, because when the debugger is done, you no
longer have access to the live log window, only to the global window,
and this pane is not cleared, so all the logs are still there.
Change-Id: I89d8a5b8aab22c53e8c2eceac4c5482931cdd8b6
Reviewed-by: hjk <hjk@qt.io>
Previously the editor opened the translation file when starting
a new project. It makes more sense to open up the main QML file.
Task-number: QTCREATORBUG-28790
Change-Id: If1f61d23e4863143cacf004246ca7813dd04a1ab
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The minimum CMake version was changed to 3.21.1 with Qul 2.3.
Updating the minimum CMake version for the qmlproject template
project, but keeping the old minimum for the template targeting
older versions of Qt for MCUs
Task-number: QTCREATORBUG-28825
Change-Id: Ia6cb43a47cee81b3b299f188d6008ebd0576daba
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
QDS requires 3D imports to use QDS compatibility mode to work correctly,
so we force designStudioWorkarounds option on in all imports we do and
hide the option from UI so user can't toggle it off.
Since designStudioWorkarounds supercedes expandValueComponents option,
we also hide that as setting it has no effect.
Fixes: QDS-9219
Change-Id: Id40a45338ea630228f59b111703eba661ebd357b
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
When the Project's source directory would be used as a working directory
for the terminal, conpty would fail to start the shell.
Change-Id: I1050ec11c2bb46e17187431114a1319c86dd449c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
The status message notifying that the input.json used to generate
the project tree in an MCU qmlproject is not interesting to most
users, and it is shown several times if using modules. Removing
it gets rid of some clutter in the General Messages output.
QTCREATORBUG-28824
Change-Id: I8b97aeff7b872e52e260f035f7f48144a8caf167
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yasser Grimes <yasser.grimes@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The event filter has to be installed on the actual QQuickWidget.
Using registerPropertyMap instead of global context properties.
Task-number: QDS-9124
Change-Id: I03c71dce228a7b8713bd1a5085541ed06c7ee0bd
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Drag now correctly accepts only assets that can be used as textures.
"selected_texture_changed" custom notification was used in two
semantically slightly different cases, both to indicate selected
texture had changed and that selection should change, which was little
confusing. Split the two cases to separate custom notifications to
clarify the situation and allow "select_texture" to be handled in
material browser even if it sent it. This fixes the issue of newly
added texture not getting selected after drag, because creation was
done by material browser view.
Similar issue was fixed with "selected_material_changed" as well.
Also fixed a couple of cases of drag not being properly ended.
Change-Id: Ie1cae01ef13b687d9e611ac1c91443688001fe49
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Still a lot of cross-referencing in the implementations, currently
faciliated by a separate session_p.h that is meant to go away again.
Change-Id: I6e32a62e02f60e790e54637de5de945bfaca36f6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The rendering has been rewritten to use cached GlyphRuns instead
of text layouts. The VTerm specific code was moved into
TerminalSurface.
Change-Id: I10caa3db4ee932414987c9ddae2dcb777dc1f6e7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This reverts commit 87c00b86db.
Reason for revert: Breaks shutting down the cdbengine and according to the diagram in debuggerplugin.cpp this is an expected transition.
Change-Id: I051ccd315dffcadf60892c33cd7c1f3523b2f8e0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Linking to the Getting Started with Qt Creator course directly
does not seem to work.
Change-Id: I4393749e9c66d66340d094c7cb7dc4f4847b8eba
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
And a few helper classes. This allows SdkTool being build
without Creator's Utils, and does not impose restrictions
on the development there.
Change-Id: Id15db9293f343ad2aeee5c09cc819d112ec144e4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This fixes the following warning:
warning: 'sprintf' is deprecated: This function is provided for
compatibility reasons only. Due to security concerns inherent in
the design of sprintf(3), it is highly recommended that you use
snprintf(3) instead.
Change-Id: Ic8eac91b02cb60122f603506e083dbdf9eca8712
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Metadata file texture_bundle.json will be included with bundle icons,
and it contains details about the texture (format, dimensions, and size)
that are useful to know before downloading the texture.
Metadata is used to generate proper tooltip for non-downloaded textures
in content library.
Also removed default suffix from displayed filename in case metadata is
missing, as it was misleading.
Fixes: QDS-9230
Change-Id: Icbe0bbb7f1e663e0adc41d379231b7f41dc79e31
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
- Some language fixes.
- Use {} instead of "" for \image alt text
Change-Id: I1772c7e98bf40d8ff828205dcf1fd8749d4434cb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Fixes placing of internal messages like Qt version
information or Qt Test version
Change-Id: I08330451684c2dccb5f260cf7a4751bba47e56a8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>