...and remove the QML module and type docs from the qtcreator repository.
They are now in the qtquickdesigner-components repository.
Also use "Qt Quick Studio Components" as the component category and
module name everywhere.
Change-Id: Icf0e8dfec38c533a822aa6d90750de17a067ef6a
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
If line is empty and the continue path is taken result stays empty.
This means we do net add the lineSep for the next line.
Handling this explicitly with a flag fixes the issue.
Change-Id: I879e6e4a7238069ecc63e8188f0fb5929ac05363
Reviewed-by: David Schulz <david.schulz@qt.io>
Don't completely remove the QString based API though, since many icons
are constructed from constants and that would add a lot of noise with
FilePath.
Change-Id: I6a1b53bb1f1a79bb2b5756f94d5a2e7ca4cf0dc4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Otherwise qtc_add_resources fails when turning off corresponding
BUILD_.... flags, or needs to be wrapped with "if(TARGET ...)" everywhere.
Change-Id: I34e230569ab9619b1c107404bf2fdf8e8e86bd7e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
User can copy properties of an item (for example text, rectangle,
positioner etc.) and paste them to the similar item using format
operations.
Available properties and item categories can be configured using
formatconfiguration.json file.
Task-number: QDS-2231
Change-Id: Idd574418451809c84bca2bd8a7ab6045043bde58
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Most interesting files path can be translated using
.onDevice(qmakeCommand).
Change-Id: I6012788b03daeee1c7f2e010d23d4f7c87fd10e2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Added a right click context menu to the tab bar of the separate
variable viewer window to being able to change the
variable display mode right there (without navigating
to the variable tree view in the main window).
Fixes: QTCREATORBUG-25762
Change-Id: Ida35f4f6d23f07e5ed45a9f2d51a5af970a95375
Reviewed-by: hjk <hjk@qt.io>
Since we already have a container for file path, line and column move
the parse function there.
Change-Id: I5d0d97d271c5aaeb618e1a303b02cc6514e94e81
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Blocks are no more considered bad per se. Only if they
contain a var statement they are considered as bad and
worth a warning.
Amends 2447d1d69c.
Change-Id: I93b5e43c01059b66f3fb287772e54f3ae3e157af
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
in order to prevent a crash ancompanying the console output:
QQuickWidget is only supported on OpenGL.
Use QQuickWindow::setGraphicsApi() to override the default
Change-Id: Iab7c0cc486b150723000cc11ba4c6d9cd4be8b03
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
We need the on-device path in "docker exec", not the global version of it.
This was not visible earlier as some more places used local paths,
accidentally matching the on-device path.
Change-Id: If1d7e94d2cf0730e85e5a89972d7eaa309743fa6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
QGuiApplication::screenAt(pos) can be nullptr.
Task-number: QTCREATORBUG-25466
Change-Id: I0dd4b8afbc5e63927f6b910479db8ca68eea9c3e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Otherwise the result will not be displayed and may lead to
wrong test results with a contrary correct summary.
Change-Id: Id041dbac441eea8a1a1d623acd87e049bca9a281
Reviewed-by: David Schulz <david.schulz@qt.io>
It already contained only static members, so creating instances didn't
serve a purpose.
Change-Id: I261503b606c21cf498dcd8470d5645d92d97c325
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
An issue in SynchronousProcess causes a time-out when the process output
is not terminated with a \n or \r.
This workaround lowers the timeout from 600 to 4 so that the
unterminated output gets consumed nevertheless, and the user needs to
wait only 4 seconds for that.
Task-number: QTCREATORBUG-25667
Change-Id: I40f3053c7c4948c27003e9ec73d00a9d660024a4
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Part of the overall FilePath migration. Keep the original version for
a while to allow using code to catch up.
Change-Id: Ia7c5ea14416a06e679e8661c0e4045981db87b9b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
There is some fancy logic in COIN that sets different number of
CPUs depending on configuration, which lead to our Linux machines
crawling, while macOS and Windows at least got 4 CPUs.
Fix (and increase) the number of CPUs for all platforms.
Change-Id: I3191f1645420805f5899af8966fd1d377a89bf85
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Make functionality dependent on an (intentionally ugly)
setProcessUserEventWhileRunning call.
Also, back-paddle a bit on API combination of QtcProcess and
SynchronousPrceoss for now and prevent the QtcProcess-and-
runBlocking and SynchronousProcess-and-start combinations.
Goal is still to have all in QtcProcess in the end, but this
may take a while.
Change-Id: Ic146ec5db0ab8dc9613e5b2af5f4dc90bc7465ca
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
A couple of Q's and A's to get us started. We can keep adding content to this topic whenever something suitable comes along.
Fixes: QDS-3086
Change-Id: I6a1a92e358365f0f7c72c55b5d01a7dc98e1e6e5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This way they can be forwarded to the debugger, which starting
with version QNX 7.1 requires also these environment variables
to be set.
Change-Id: I9ad7cf6032f65980ce96dea1cba8beebf7dfc996
Reviewed-by: hjk <hjk@qt.io>
QNX 7.1.0 requires some specific environment variables to be
available to the debugger.
These environment variables can be set in the kit, and then
they will reach the debugger.
Change-Id: I9debec8240a6369823cc2fcf882355ef7ca4aa28
Reviewed-by: hjk <hjk@qt.io>
This is not recommended to use, and using Environment::systemEnvironment()
also saves a conversion.
Change-Id: I7af24a5bbf432617a75421e6950292acc4b529a3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The previous indirection was useful as long as they were overloads
for QProcessEnvironment and QStringList, but these are gone now.
Change-Id: I5066bd2e72fd06948a5cc7bbac6dda9006db96ed
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
qlitehtml links against "Qt${QT_VERSION_MAJOR}::Widgets",
but Qt Creator uses find_package with "Qt5" not "QT", so "QT_VERSION_MAJOR"
is not defined/empty.
For Qt 5.15 that is not a problem because that defines unversioned aliases
"Qt::Widgets". For Qt 5.14 we must make sure it is set though.
Change-Id: Icb0a195afadae3cdb164d28f15340c0a5e156543
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Do not use a pattern to address tests when running selected. Instead
get their respective test number and use this.
This avoids executing unchecked test cases that match a shorter selected
one. Beside this it shortens the commandline which might be also a
benefit on Windows.
Change-Id: Ic1c0cf8eedab478564f04fb494679eca4521f402
Reviewed-by: David Schulz <david.schulz@qt.io>
A minimal application that displays the tracing view with some dummy
data.
Change-Id: Ie564a3be017731313659aef7958138613b0bb94d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If you want to use Timeline view in Qt Creator or if you installed
Qt Design Studio using the Qt Installation Tool.
Change-Id: I33c0f3709fc8f3b37c9630e0030b8a64ffa2093f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
If a test crashes we need to take its output into account
to avoid not displaying a result for the respective test
and having a wrong visual view of the results.
Change-Id: I349153192fa06c5d61bc51f8274d32ceb8cf8731
Reviewed-by: David Schulz <david.schulz@qt.io>
Attempting to convert a QVariant to type QVariant::QVariant
fails with Qt6. This is now solved by constructing the QVariant
with the QVariant in question.
Fixes: QDS-4391
Change-Id: I20f64a3f2b3360705c73b3c1e1fd9e8987a31f3c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
in order to be able to compile creator with Qt6 on macOS
Change-Id: Idea6feafe63ec099a4f4e552bb97df497f9254b1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Using Ninja not all modified files will be compiled in an incremental
build.
Fixes: UL-4247
Change-Id: I0bdb1e611e54ea6674ccae4d23391ac86f0960b8
Reviewed-by: <christiaan.janssen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The new "Exporting and Importing" topic contains information about
exporting and importing 2D and 3D assets, as well as exporting QML
types.
Fixes: QDS-4369
Change-Id: Ie98ede4b0bcec4b872778fa7b2f054f1af4175fd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>