While "Interface" is the first (and therefore default) tab, the user
might have visited a different one before, in which case it will become
the new default and the user will look in vain for the theme setting
there.
Change-Id: I66d3035d16aa75162616d08a021bc43c906a7133
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Also clarify that the set of supported build systems is not fixed.
Change-Id: Ida2588c599a4fc4deadfd62b10fb47c2bbda5457
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
The conversion from Qt.vectorxd was not strict enough
and expressions like Qt.vector2d(7 / Constants.width, 7 / Constants.height)
were read as [7, 7]. Reflection was not handled properly and the [7,7]
was written on selection.
Fixes:
* Avoid reflection
* Improve Qt.vector parsing; Move code to C++
* Handle "real" expression case and show binding indicator
* Fix setting an expression. We allow the binding editor/expression
indicator only on the first component of the vector
Task-number: QDS-12242
Change-Id: I6707bdac860852d96d416adbe911d43fe9128e8a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Use consistent paths in screenshots and instructions. The paths from the
screenshots are preferable since they are not inside a default Qt
installation location.
Change-Id: If9f0bca58a13a66559eae953ccaf19abb2dc7e14
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
It is really hard to debug the project storage because it gets so much
data. With the tracer is should be a little bit easier.
Change-Id: I79d60c6fbc32ba3fd7bdcc78916c1aa48f73e125
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
- make it clearer that the restrictions are only for iOS 17 devices
- refer to Xcode 15 instead of 7
- remove wrong and not very useful section for checking/changing Xcode
version
- fix screenshots
Change-Id: I1d574ee775c6e1a9db1df8b60b6e5b8aa9dd057f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Also switch the order with 'View Images', which is likely the more
common use case.
Change-Id: I2a047141976b7ec7a45cf930be5bf972a766d183
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Update the QDS version compatibility with Qt for MCUs SDKs page so
that it includes the latest/upcoming QDS (4.4, 4.5) and Qt for MCUs
(2.7, 2.8) releases.
Task-number: QDS-12270
Change-Id: I0380de777b9440b3bd01a984711833ff3d8d2890
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
User feedback was gathered and in part implemented in form of a design
update. Smaller fonts, icons and gaps in the projects/sessions screen
and in the examples tiles.
Change-Id: I69d0d9ae21ba855feceeb77d620aa5b556377808
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This forks code from Qt to fix an issue with JSValue.
We must skip QJSValues when iterating properties
since copying or constructing the QVariant crashes.
Task-number: QDS-12263
Change-Id: I8db701cee94dccd7fe254c9473dc25b87f8a04f8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
According to docs for QLayout::replaceWidget(), the returned item
should be either deleted or inserted somewhere else.
Change-Id: I02da36dd0d3fe7de7fa04747d26ea01620349421
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Make a call to tryToConnect() a yet another task inside the task tree.
Prolong the lifetime of the linux device until the tryToConnect()
running in a separate thread is finished. This fixes a crash
when canceling the test and closing the preferences dialog while
tryToConnect() is still running.
Amends e8ad29d3af
Change-Id: I5aca6c9c3de0792421b9774faf45cd463854265e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
- In the QDS Manual, edit the "Code" view docs
- In the QDS Manual, add topics related to coding to the "Code"
view docs by using \ingroup and \generatelist commands
Task-number: QTCREATORBUG-29361
Change-Id: I0966986a3b01b3551e8b68265e22fe86d1d5933d
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
The \nexpage and \previouspage links in the QDS Manual are now
automatically generated according to the list in the "All Topics"
topic.
Change-Id: If93c605863269056060b1585641feac167d95f25
Reviewed-by: Esa Törmänen <esa.tormanen@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
- Add a dependency to qtqmltest (Qt Quick Test)
- Fix an internal link
- Fix capitalization in links to Qt docs, which now
seems to matter
- Add the "Qt Qml" link as an external resource, so it works
regardless of the Qt version used
Change-Id: I0550973237b0df7b328ca202a4188d970af3417d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The project manager was passing correctly the system headers, but the
compileroptionsbuilder was ignoring them by having UseSystemHeader::No.
This change makes the project's view to be reflected in clangd's
compile_commands.json.
Fixes: QTCREATORBUG-30474
Change-Id: Ie3b80642e27ada4c8c8725f21e3cfbb2a4051aa0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
`NSApplicationActivateIgnoringOtherApps` is deprecated and doesn't have
any effect any more. Switch this to `NSApplicationActivateAllWindows`
which we actually want when running an application, and remove an
unneeded cast.
Change-Id: I75849533e4b172db577d5484ef12c8ee4df20d59
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
The running VcsCommand may leak on shutdown. Make them always
a child of a guard object.
Change-Id: Ie2d07d15cd13f1c08636bb1e9c5face09c6a782d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This does not change what you see as values of \previouspage
and \nextpage in the source files. However, when you build the
docs, QDoc replaces those values with links to the next and
previous page from the list in qtdesignstudio-toc.qdoc because
that page contains "\title All Topics".
So, with this change, you need to keep the list in "All Topics"
up to date.
Change-Id: I0996e383cbd60b7f4297524e4141a2d7af6fae13
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
- Replace hasNext()/next() with a `bool advance()` method
- Replace QAFE::FileTime with QFile::FileTime, they are identical
- QAFE methods now return std::unique_ptr, which matches reality as call
sites stored the pointers in a std::unique_ptr anyway
FileIteratorWrapper:
State::BaseIteratorEnd is only needed when using hasNext()/next(),
hasNext() changes m_status to State::BaseIteratorEnd, then next() checks
that and changes m_status to State::Ended; this isn't needed with
advance() since it's only one method.
Change-Id: I4414f334715237a2fc13ace6f4733d975e2cfaa3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
If an exception is thrown or the program is abortet there is still the
begin of a slice. Because a duration slice is only wirtten at the end we
get no slice.
Change-Id: I8b05e9ae045517a503c2a6f00936b05715b812ca
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
As EventQueueData was derived from EventQueue the order of
initialization was inverted. So we got dangling pointer. Merging
EventQueueData into EventQueue fixes the dangling references.
Change-Id: I3d9cee492304132fa612d6d19324656df597ec99
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
The tuple are constructed on the stack, so we cannot hold references to
it.
Change-Id: Ia02bf21516c97eb67eca8fd56e68dbd10878ca9e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
widgetInfo() should be cheap but people make expensive stuff inside the
call. So we should try to avoid to many calls.
Change-Id: I66b0a5431471732dca934fc03efb307e2617fd65
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Pointer to temporaries create dangling pointer. So we have to copy the
tuples. The leafes still only contain references.
Change-Id: I37900be569283324178e223829f913fb4ccba16e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
That terminate handler is only installed if any event queue is
activated. That is only the case if you compile with a special
option.
Change-Id: I4d8661c0fa11d8bb14b49b7b963471f626b3b950
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>