If users do a ".." import the type name was "...XYZ".
This could be considered technical correct, but is really not
what we want to do in this case. The type is associated with
a QML file anyway in this case.
Change-Id: Icaac5cb237f4ae2a98f6458f119047cbdc87a64b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Don't leak QFutureInterface<void> and QFutureWatcher<void>
in case VcsCommandDecorator was destroyed before
the task was finished.
Change-Id: Ib915afe29250f3e5c3fe2e1d465005a0c980252b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Make sure emitDone() is atomic with running the callback, so in case the
latter starts an event loop of its own, we won't be overtaken by
incoming signals, deleting the object from under us.
Task-number: QTCREATORBUG-27910
Change-Id: I586d7609974662bf391b12041f416aaa2a973ecb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
You really should not shadow them. The name helps to use it from QML
in a type safe manner.
Change-Id: I3fbd03ad267e10f5003647cdfb916a6f90e30b8c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
CategoryLabel only needs a parent for the dragger and a way to position
itself. It doesn't need all the other properties of TimelineLabels.
Change-Id: I33b94ec6ae7bf2a54e233e9e6c1b3e30ff9c19d2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Otherwise qmlcachegen and qmlsc won't find any QtQuick types when
analyzing the QML-exposed C++ types of the module.
Change-Id: Ic7860b430c04b9290e2f972e4761f1ccbc7f67ab
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This is the latest released version at this moment in time.
It has support for Visual C++ 2022 detection.
Fixes: QTCREATORBUG-27814
Change-Id: Ib4fa288ced1271e1964b2ae0f7d6a6c5e403cf53
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This adds Utils as dependency of the QML reformatter autotest.
Amends: fd89043de2
Change-Id: I713289b1221ea70b37ddda8073c61f4ec18850bd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
When writing to stdout and stderr from two processes, their output could become
interleaved. To work around that, we write stdout and stderr to different files
and later combine them together in the shell script.
Since tst_deviceshell tests could run for a long time if /usr folder
is too big, added a check that first tests the runtime once.
Since we currently only support linux containers, limit the tests to
only run if the container platform is linux as well.
Change-Id: I4b313596cdf9acc839d54d7cc77c66fd53ac23bf
Reviewed-by: hjk <hjk@qt.io>
Also change to MSVC 2022, which is the only MSVC compiler present
on the windows-latest runner.
MSVC 2022 is backwards compatible with MSVC 2019 and should work
fine with our Qt 6.3.1 MSVC 2019 package.
Change-Id: Id9967de33d2fea03f86243f8d54d369095918cfe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
- Remove code for Qt below 6.2 from c++ sources and CMakeLists.txt
- Remove Qml code from .qrc files
- Qbs: Add qt.core.resource_data Groups for Qml code
- Remove OpenGL shader .frag and .vert files
- Remove Qml import version numbers
Change-Id: I3bd1cd95381e66c98ee3af4259e89b0b1eff0709
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
As a side-effect, this fixes adding stretch and space in the the dummy
vboxes for formlayout fields with more than two items that was
accidentally missing before.
Change-Id: I18e4755ccd3cd9e1de761b70dc621b17376277dc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
And fix a warning about some stack-allocated offsetsAndSize member going
out of scope.
Change-Id: Icfd1de121cb951783a96f8195c3160c65c405cd4
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
- "Target Platforms" has been replaced with separate topics
for "Embedded Platforms" and "Mobile Platforms"
- Linking within the Glossary did not make sense because
the whole page fits on the screen, so nothing happens when
clicking the links
Task-number: QTCREATORBUG-27560
Change-Id: I55fe0b98685f67aab7ad0c9a00d28ac744235a9a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Transform VcsCommand into VcsCommandDecorator and
attach it to ShellCommand. There is no need to derive
from ShellCommand anymore.
Use ShellCommand's public API to setup vcs command via
VcsCommandDecorator.
Make ShellCommand final.
Change-Id: I39e3699c80a9e108bcaeef7fb02214e2cc0d0dee
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
QString::right() != QString::mid(), except for very special cases.
Change-Id: I0b4d8e46b7631975dd1c3c38b50f4f336bff3f2e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
- Fix menu paths to preferences
- Refer to existing screenshots of Preference pages
- Add information on setting preferences for
automatically inserting matching characters
- Update the Completion preferences screenshot to show all options
Task-number: QTCREATORBUG-27560
Change-Id: Ib820c9bd19dc71ce109a4a59d40d6f276eb001ac
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Otherwise it's possible to quicky press the stop button
again before the process actually finishes and this leads
to inconsistent state transition, resulting in assert
being triggered.
Change-Id: I4618a00cb9cea666992bc9ee6b60b3b3a0d9a8b9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
... not from the device of the inferior.
Amends 12bc192422.
Change-Id: Ief34d1765d48e87a9098522bafb4b419a857c42e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
When building docs on Linux, the folder and file were not
found.
Task-number: QTCREATORBUG-27560
Change-Id: I767703c66edf73221037bd17692d3f469319522d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Also increase timeout to 300s.
Currently only the Linux runner is running the docker test,
and building on Linux is usually the fastest. Should not
affect the overall job time.
Change-Id: Ie7aa72da1ffac987ef732ad0fb8076d473d00185
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
As we changed the MetaInfo interface we can return ids too but as an
intermediate step we return the sorted function names. Beware that the
sort is not matching the normal SmallString "<" operator because it is
not using size.
Task-number: QDS-7284
Change-Id: I96c6494d7c36f37d451d439be8aee35e0221f20b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
As we changed the MetaInfo interface we can return ids too but as an
intermediate step we return the sorted signal names. Beware that the
sort is not matching the normal SmallString "<" operator because it is
not using size.
Task-number: QDS-7283
Change-Id: I767a4d9f589d2bb2d2e29788be90d29dbd5ac1e3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Returns for a property declaration id the property declaration infos. If
there are no infos a null optional is returned.
Task-number: QDS-7278
Change-Id: I4faa158008130f00f31062bab94baa7f88d70edf
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>