- Limit iterator scope
- Replace if-else chain with early continue
- Save an unneeded look-up
Change-Id: If90f726ddb21a516ed3d438379382a2e4cd248a9
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
- Use full stops in end of messages
- Use double quotes for emphasis (instead of single ones)
Change-Id: Ie891dea536f267a12eae5e47c79421b820d0b5ea
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
And add full stops to ends of tooltips and messages.
Change-Id: Ieacb17069fc45591089eebb610d4824195adb660
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
- Write Docker with an initial capital letter
- Rewrite a tooltip to add reasons for adding a flag first, and
then the flag.
Change-Id: I8b4f3775ad618999faddec90b62ba7bb11ac23ae
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
And write Python with an initial capital letter and UI with
all caps.
Change-Id: I5c7a85aa4ae9e5af1f4cc66e8705db126fbec23b
Reviewed-by: David Schulz <david.schulz@qt.io>
The assumption that all items are CppAssistProposalItem is wrong.
Snippets items have been AssistProposalItems, and since
22c72f9999 they are SnippetProposalItems.
Change-Id: Ic483741f6e7eb5382d327702600c88d6ec6e30ed
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Even though these are technically rows, they are used as labels
in the UI.
Change-Id: Ic9378cff61c49e7f5ee709d93660d7a55be45558
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This reduces the time the main thread is blocked for reading the diagnostics
from the result file.
Change-Id: If6cc5671c709cb519b651c2b7ce3e8067e0b5f39
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Allow creation of kits without a Qt.
Broke with ce7677a7d7.
Change-Id: Ia6ab9746beab9f4c48b72930c32d5068bb7c733b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
The "project sources" contain lots of generated files that we are not
interested in, simply exclude anything from the build directory.
The *_tr.h header that we generate for the wizards and external tools
are handled separately.
Change-Id: I2ab1d6ac4312b1140ee475f8f16ba82d8488c43e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Currently the code checks if qFuzzyCompare(qApp->devicePixelRatio(),
1.0) and if the condition is true it will always set the "fusion" style.
If the user sets a "-style" option we shouldn't override it.
Change-Id: If9a20a1b38f4a5aa3c2ccaf53cb01aafb45077f9
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This makes sure that one unique argument "-DANDROID_PLATFORM:STRING=..."
is passed to CMake. An entry in a kit's CMake configuration has the
precedence over the ANDROID_PLATFORM defined by Qt's build system.
Fixes: QTCREATORBUG-29112
Change-Id: I1c4d80be9ddfc7a00a5a7eff476497f08d87b741
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
- The QtVersion::sourcePath() was wrong because QT_INSTALL_PREFIX/src
doesn't return the right path. Work around by checking if sources are
found, and otherwise trying the location that we know the installers
to put them.
- Pass the sourcePath along to the debugger run control, and use that
instead of looking for qmake in the PATH (which fails because it is
not in PATH).
Fixes: QTCREATORBUG-28950
Change-Id: Iffa262d6c87dbc979c449d43cd4a85e1320bcd37
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Add also The Tasking solution page. Add some hints into README.md file.
Change-Id: I4e355c95977d668fbc2f7bd286f9446e4e4b1f69
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
The right column typically shows the file name, so it's clearly expected
that clicking it takes you to the location.
Fixes: QTCREATORBUG-29273
Change-Id: I14fbb3392ac34e25a614811d8190f559b19b9088
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Avoid the order "Label [ ]" for checkboxes, we changed all cases to the
standard "[ ] Label" because it looks very ugly and confusing the other
way around. Also move the corresponding directory setting to the next
row, which is not ideal but still looks better.
Improve message about reloading presets.
Change-Id: Ibcd26e24a2a4cd3ea5ca819f74e78edb40f46072
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
We need reliable signals that gets emitted when documents are saved to
inform the language server about the document state change.
Change-Id: I0a1e8a5317ae6984ff17d878952c74f69765e3f9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
...when using project wizards to add them.
Renamed files are also renamed in CMakeLists.txt and removed
files are removed.
Task-number: QTCREATORBUG-28996
Change-Id: Ia2a3676841ec025c5e947b01144d06980b1b4a8f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Move the section into a new topic.
Task-number: QTCREATORBUG-28996
Change-Id: Ib0eb8696606b6612bf8c639e7ebeb9123c107146
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
The Copilot language server likes to include trailing new lines in the
completion items. This can move the whole editor content below the
suggestion needlesly. Additionally the new lines are not always
sensible (https://www.youtube.com/watch?v=kQzpvHPeBQo&t=402s).
Change-Id: I75a4a0f2d30a7c757361851dae5c0265777dfea9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Fix that the "install" target was added too late in the command line
arguments, leading a cmake error for multi-config setups like for iOS.
Change-Id: If35a96725f55b5d250ccdd7386ba02d7a21ede85
Reviewed-by: Cristian Adam <cristian.adam@qt.io>