Fixes warning: prefer using 'override' or (rarely) 'final' instead of
'virtual' [modernize-use-override]
Change-Id: I17955fd0fdb052678228f1bda32cd8d3b4298998
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
If the locator popup is open, and the user changes mode using the keyboard
(Ctrl+num), the popup was not closed.
Change-Id: I7d5cb93229715dd293b6eb4d36cf2a9cb4467123
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Allow for overriding the ABIs detected for a Qt version from the
sdktool.
Leave the default at "auto-detect ABI".
Change-Id: Ibe2625b0a321a9541512d36a91aa2e42611a959b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Add a new addAbiFlavor operation to register extra ABI flavors to
load during startup of Qt Creator.
Change-Id: I3fd2bc791e2c9bfa267f832c423b8fd9cecf51b9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Happens when closing an editor while tooltip processing is in progress.
Change-Id: I023f62ab6ba1e8b1bbe207da08c1e526fb99430a
Reviewed-by: David Schulz <david.schulz@qt.io>
To make source text usable also for Qt Design Studio manual.
Change-Id: I7a5090ea2308a3091c34193cce3a8b57da1eb498
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
The restriction to a local active item is not needed, as the whole
submenu will be deactivated when the debugger is not debugging.
Change-Id: I36f5098d549dcb72f474caad8cfd13a6aa961212
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The used template code is nowadays C++11 specific and this
is not default before Qt5.6. Explicitly enable C++11 to
make the generated project compile out of the box for all
Qt5 versions.
Change-Id: I720126b13bfc0d3da960438df1a1106c5574053f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
for getting only the best matching editor factory. Almost all code that
uses it wants the whole list, the mime type settings will want the whole
list soon, which leaves just the file properties dialog, which can
simply fetch the whole list and show only the top entry.
Change-Id: Ia49f7a4b52a35c6140eeba19424386c18cb3ec59
Reviewed-by: David Schulz <david.schulz@qt.io>
We do not need to collect all the editor factory information on all mime
types at creation time of the model. Do it on request.
Change-Id: I52e81a5f7949a69d96f0d3f1a5dfbe64b91977ad
Reviewed-by: David Schulz <david.schulz@qt.io>
mimeTypeForFile(...) is documented to never return an invalid mime type
(it will fall back to binary if everything else fails), so remove
unneeded checks.
This also removes fallback code that used text/plain in case of invalid
mime type, which is probably a relict from the old mime implementation.
Change-Id: I88ed41fa3b81704f110f9f481b0f01424a487cbb
Reviewed-by: David Schulz <david.schulz@qt.io>
Text files don't start with "text" (and non-text files might), so check
for mime type inheritence of "text/plain" instead.
Change-Id: Ia9b7a2e68d43adbb8741dcd9d3ba9b2936a680de
Reviewed-by: David Schulz <david.schulz@qt.io>
External editors are never used to open files, except on explicit
request with "Open with", so should not be considered in the settings'
"Handler" column
Change-Id: I8fe7b9d260754ce84d52db554d6ee25d1af3bfe2
Reviewed-by: David Schulz <david.schulz@qt.io>
And neither sessions; in that case pop up the mini menu, too.
Change-Id: Iea5ed023ab477f4f1e526aa36f9b27f42881b052
Task-number: QTCREATORBUG-20487
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
It seems more natural that remote commands
don't change current editor of active view if file
is already opened in another view.
Change-Id: Ie27de0d159cae6e63fa1d477fab59887a0e6d198
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Generated code uses some C++11 features which cannot
get easily enabled when using Qt4.
Instead of adding several lines for correctly handling
this on all platforms just drop the wizard support.
Change-Id: If0e748283cfdddbefd3c27e3c9f4316c0ce7efe3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Use member initialization, remove lots of duplication in the different
constructors.
This adds a wrapper around the unique_ptr of the MacroExpander to enable
use of the default copy constructor, which would be blocked by the deleted
copy constructor of unique_ptr otherwise.
Change-Id: I8bad5cedb71069b3d535436b89057f68319367ea
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
... into its only user, in the build-system agnostic base.
Change-Id: I1fe312125a32e3150e4f3183470df716896e55c4
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Support for this was either forgotten in the initial implementation or
accidentally removed.
Change-Id: I4e35b8063bd0b847459d630e7c8ca0d7b09835aa
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Make possible to select or deselect all fix-its.
Change-Id: I2ff88afb0c451092752ee2cd7c9f083e24033500
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Update the text and screenshot accordingly.
Change-Id: I0f89d7fc02ab6195cdf9d3e64188f0097688e98b
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Allow for user-defined OS flavors to be registered by plugins.
Make sure the GenericFlavor and UnknownFlavor are always listed
last to keep the UI happy.
Keep the Abi::OsFlavor enums for compatibility. All of them are
pre-registered in the OSes they were available before.
Task-number: QTCREATORBUG-19899
Change-Id: I9bf6ef8b256cf42abd5fa1fe536cbe5dfadd3dd0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Avoid setting and overwriting the test case name with
any string literal we find inside the TestCase item.
Instead use only the string literal used for the name
property and do not overwrite it after it had been set.
Task-number: QTCREATORBUG-20642
Change-Id: I69aedfc9f51df4943370c4736e6aa2af4c39b697
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
If the startup project or the current active target changes
while tests are running strange things can happen as we rely
on these both being unchanged from triggering the run.
Explicitly check for these being unchanged and cancel the
test run if necessary.
Change-Id: I506c7b1c0ca4b6ea31559556f6141fe9276d0ad0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
The tool was formerly known as "CPU Usage Analyzer", but can
now be used also for analyzing memory usage on devices.
Change-Id: I8e0c2b76be44340e5511c2cbb85efadb5a2f559d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
We want to have qbs syntax highlighting, even if the
import qbs
statement is missing, because we want to remove the reqirement for it.
Change-Id: I569be825440bc733c3c0fa8e146e785060e08384
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
When using google test the duration results have been
added to the respective test case instead of the test set.
Take test set information into account as well.
Change-Id: Iacc647b9dd75daf197b92f50c704916c116e6977
Reviewed-by: David Schulz <david.schulz@qt.io>