PrincipledMaterial is created instead of DefaultMaterial whenever a
new material is created.
Fixes: QDS-9268
Change-Id: Iae97c5ac8c2be4a5ffdc26f9454344e1ae042290
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
That generates build files for other build systems, such as
Microsoft Visual Studio and Eclipse.
Task-number: QTCREATORBUG-28721
Change-Id: I980ee851293b41a9320b90458132ba035dc1f3f4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Icon path was set to MIME_TYPE_BUNDLE_TEXTURE data, leading to the
icon getting imported instead of actual texture when dragging to a
3D model in the navigator.
Change-Id: I9c44933135100b732d5a8c79b51830b938e0137a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
The change 249d613a60aa6a1347ebc1c29902049247b93324 in qtbase
makes it so that QFileInfo::fileName() actually calls the
underlying FSEngine now.
Paths which resolve to "Root" like "/somedir/.." would
return "" as their filename since they were immediately cleaned
and therefore converted to "/" which does not have a filename.
The same issue did exists for paths such as "/__qtc_devices__/ssh/.."
and "/__qtc_devices__/ssh/devicename/.."
This patch makes it so that the incoming filename is kept "unclean"
until it is actually used.
Change-Id: Id5b7d1105e2d59d776aa1df5bbf6273a9fcb5d27
Reviewed-by: hjk <hjk@qt.io>
Stopping/Aborting the debugger popped an error message saying "An error
occurred when attempting to write to the process."
Change-Id: Iceb41ea6144cb4d5a6384862da5bf5638f78f519
Reviewed-by: hjk <hjk@qt.io>
This works around the type_info::hash_code macOS bug and leads to
smaller code size because the RTTI will be not anymore injected in all
TUs.
Task-number: QDS-9266
Change-Id: I3defe3dc11b4b76f5c60b08c103a3a39ee92f367
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
WaitFor(condition) Group element enables postponing Group's
children execution until the condition is met. Use
ConditionActivator::activate() method to signal that the condition
is met. A call to ConditionActivator::activate() schedules a request
to the TaskTree instructing it to resume execution of awaiting
condition.
The Group containing the WaitFor element is started itself,
and its setup handler is being called. If setup handler
returned TaskAction::Continue, the children execution is being
postponed. Otherwise, when StopWithDone or StopWithError is
returned, the Group finishes and WaitFor element is no-op in
this context.
This functionality is going to be used when some part of the
task tree may continue only after some data has been collected,
and data collection took place not from inside start or done
handlers. The example is running debugger for already started
process - the debugger may run after the process already started,
delivered its PID and it's still running. In this way
we may start a debugger process in parallel in right point of time.
This patch implements the 5th point inside QTCREATORBUG-28741.
Task-number: QTCREATORBUG-28741
Change-Id: I4afaedb0b34fe0383c16a6d1f74bf07f74cc088a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
We had problems on macOS with the catching of exceptions because the has
type_info::hash_code was different. This is probably a bug because RTTI
code is injected for an inline class.
To work around that problem we implemented the virtual what method for
every exception.
Task-number: QDS-9266
Change-Id: I79052c8b70adead412d1940b17195151fb19ebb9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This is just there at the front to force word-wrap on the tooltips, it
shouldn't be part of the translated text.
Change-Id: I62157aba303071677ca89929f9e56c03ee1f21e7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
... by caching the info whether we have a debug build. This avoids
expanding members of the container to check for a potential offset of
the actual data.
Change-Id: I4d7ac83003c303185ae51d57f0f0571b627edf22
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Avoid parsing the gdbmi output twice just for printing out messages to
the debugger log.
Change-Id: I928fc3a7d55c318056afff09cfbc25d115932bc0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
It's more flexible for the user to have them modifiable.
Tendency nowadays is to only have SDK-provided kits (or possibly
everything that also 'goes away byitself' marked autodetected.
Change-Id: I0098196320abe73998c38e9944fcb89554e36bb7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
When expanding all children of a long array, this is called
once per item. If we have one update in the end that's enough.
Change-Id: Ibb63a9aef752418a1dcafb6190edf5a8005a855f
Reviewed-by: David Schulz <david.schulz@qt.io>
So far we insisted on a Qt version being present. For more general
use, including limited testing it's more convenient to also allow
kits being generated when no QNX Qt is around.
Change-Id: I99954b76543f2a04063a737444dce0ae5c921929
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
"stat" on macOS has slightly different formatting options.
Also adds unittests for UnixDeviceFileAccess
Task-number: QTCREATORBUG-28142
Change-Id: Ib42fc1c22ef2771365e915df34f2286e2c705568
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>