CMake will happily accept the empty string as a project name, so do not
treat that is invalid in Creator. Apparently the empty project name will
get generated by CMake itself if no project() command is found in the
top level CMakeLists.txt file.
Make sure to set a sensible name if the top-level project has no name,
using the directory name of the source directory instead.
Change-Id: I3b861daa13c1d0fec31c294ef0ac15338310020d
Fixes: QTCREATORBUG-24044
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
QRegExp will not exist in Qt 6.
Task-number: QTCREATORBUG-24098
Change-Id: Iaf239fd110b2294ad1fe20a598d416a4f43a3abf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
When nothing is set as fixed frame we show "None" in the UI instead
of a missleading -1.
Task-number: QDS-1139
Change-Id: I22edfefe8f05a343467e66e66424d10b5ca8a4bc
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This change adds a "reset" button to the path choosers. Pressing it
sets the path to the default path.
The default path is now overwritable by the system settings value (if
present). This way, there is only one and only default path, which
allows us to again simplify McuPackage::writeToSettings().
Task-number: QTCREATORBUG-23860
Change-Id: I192663f3487250b9eba4773d2510abf3f9e66127
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit adds new ProjectExplorer::Abi::M32RArchitecture
entry for the Renesas M32R architecture:
* https://www.renesas.com/us/en/products/microcontrollers-
microprocessors/m32r.html
Also now the ABI of GCC compiler for this architecture is recognized
correctly.
Change-Id: Ic6a328e06c2824489c1f18895260355c449e7da8
Reviewed-by: hjk <hjk@qt.io>
Now the ABI of GCC compiler for the Compact Risc (aka CR16) architecture
is deteted correctly.
Change-Id: Ifbe12a26036707da4a9df361d67b6033b29c0748
Reviewed-by: hjk <hjk@qt.io>
* Adding QtObjectPane for QtQml support
* Allowing also QtQml.QtObject to determine major version
Change-Id: If82ea1c52cb4b78415d0f422e22b5423903b5abb
Reviewed-by: Christian Kamm <mail@ckamm.de>
Using QTextCursor::movePosition with QTextCursor::NextBlock seems to
jump over invisible blocks. Use setPosition instead.
Change-Id: I3271fb8570678ef6f09141032948dedee308e20c
Fixes: QTCREATORBUG-24019
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Amends 00b692e67e
SynchronousProcessResponse::exitMessage() takes only
the executable as first parameter. Passing a whole
command line there has two disadvantages:
1. Sensible data (like passwords) that needs to be obfuscated
is shown as plain text in the output pane.
2. Forward slashes like in "refs/for/master" are converted
to backslashes on Windows.
While the second case could be fixed with an overload
of CommandLine to exitMessage, the first point probably
needs more work at several places.
So let's just remove the arguments, like it was in Creator versions
before 00b692e67e
Fixes: QTCREATORBUG-24153
Change-Id: I546f7238347466eac089ba3e7f74201c2be40d39
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Amends 626807c94e. Scanning the strings appears differently if
using multi-line strings and using the line terminator at the beginning
of a string or having already some characters present.
Fixes: QTCREATORBUG-23777
Change-Id: I840a11e3b0e06adda443849f926189bda9dc2e4b
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
Utf8String has a weird operator<, so we did not get the expected results
from our string comparisons.
Task-number: QTCREATORBUG-6242
Change-Id: I0e94dc42d6e04ab833efcce41463b7024455b6d8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Notify the assistant that something has changed after cursor movement
shortcuts.
Task-number: QTCREATORBUG-24077
Fixes: QTCREATORBUG-24071
Change-Id: Ic956c08140c47a8edc9603227008062a7ab95fa0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
If one of the overloads had additional default arguments, then for each
of these, its priority was increased, which does not appear to make any
sense.
Fixes: QTCREATORBUG-17807
Change-Id: Id5be81ce52c615a424fe4314d2e50385b3fb2b1c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Most of it is only silencing a warning but one is fixing a faulty test. So
writing null values should now be working.
Change-Id: If702e1fc8176a9e0ae82a5589c719d567929202b
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Add support for showing the dialog title of a flow decision in the
flow view.
* Add preconfigured positions for the label to be placed.
Task-number: QDS-2248
Change-Id: Ib113ac44e9bdc084d18a3a6083b767487bd9cde2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The refactoring option was not triggered if the operator definition had
a different amount of whitespace after "operator" than the declaration.
Fixes: QTCREATORBUG-6236
Change-Id: Idf6438203e28d3f1effe0a0375d6563f813a9726
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
- Variant and alias types proper support
- Extended instantiation options for Editor
Task: QDS-2264
Change-Id: I95ff24fb81ce64b4effc64803304ff2b150a7ff6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Get rid of magic configuration handling in the CMakeProjectManager.
* Use CMakeCache.txt as the sole source of truth, do not keep
a shadow copy of configuration in the .user file
* Have initial CMake arguments that are easy to edit in batch
(Fixes: QTCREATORBUG-18179) used whenever no CMakeCache.txt
file is in the build directory. These allow for any thing that
can be passed to CMake on the command line.
(Fixes: QTCREATORBUG-16296)
* Ask when changes to CMake configuration were not applied
(Fixes: QTCREATORBUG-18504)
* Run cmake with arguments effecting its configuration only when
the CMake settings are changed in the UI, run CMake without any
special arguments in all other cases.
* Get rid of the confusing dialog used to keep settings in sync between
what is in CMakeCache.txt and Creator (Fixes: QTCREATORBUG-23218)
Change-Id: I26d55be7df733f084f5691ecf7d7b4352f58b8e7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>