Since QT_QUICK_CONTROLS_CONF is not supported for older Qt
version we manually parse the file and set QT_QUICK_CONTROLS_STYLE.
Change-Id: I2f1e4a857adaf80975726af69f136748a3f18930
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This patch implements a combobox that allows to set a
style for Qt Quick Controls 2 and changes the .conf file
accordingly.
Change-Id: Ief33404f3b9eaedc49fec3efefaf7d8d26288287
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
In certain cases FindFirstType can fail to find a type due to bugs
in lldb. The workaround consists in using FindTypes, and iterating
over the results to find the searched for type.
Change-Id: I1fee3f774d0cf02842f6b55419142af5e9780992
Reviewed-by: hjk <hjk@qt.io>
Lldb fails to find types if they are prefixed with enum.
Therefore don't prepend enum when looking up the type
for QFlags.
Change-Id: If2109f68677c1b9ec48a05d61cad2d6590f375dc
Reviewed-by: hjk <hjk@qt.io>
Use binary string from Qt's library loader class to refine ABI if that
is not complete yet. This is necessary to reliably find the compiler
used in static Qt builds on windows (using MSVC compilers). Before we
were able to rely on the mkspec to pick a working compiler, that does no
longer work with Qt 5.8.
Task-number: QTCREATORBUG-17534
Change-Id: I50c428cbaa986a26ba165cff499f9e0be3937ea2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Adding ToolBarAction as a new type for pure toolbar action
* Adjusting handling of separators
* Do not show an empty menu. This allows grouping just for the toolbar.
Change-Id: I0ff59473ea5d3a798ec963ac0984f20e7e857c56
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Add C++ classes for value, type and field. Also provide
some macros that generate the C functions for the python
interface.
Change-Id: I717a7988a421bc3e3379e279eda551c349ee4175
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The editor is taking the complete states editor now.
This avoids certain issues with the scrollbar.
Change-Id: Idfa53a4751ccff10449001fd7a47acb4fc2f6fce
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
On Windows the combination drag&drop, proxy model and header section
resize mode ResizeToContents leads to a crash in Qt.
Task-number: QTCREATORBUG-17547
Change-Id: I3a763c22b83e43d1c1a222cefb4fbbc56b9082c4
Reviewed-by: David Schulz <david.schulz@qt.io>
By not silently failing when the vcvars.bat file is not found. Instead attempt
to run it and report the error message when it fails.
Change-Id: Ib97dbe17f8fb5529e549ef6c5d132a8571c10c33
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Make it clearer what can actually change when calling methods.
Change-Id: I801344cfc7b0a85918ef61e19a72eb31ba090736
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
There is no point to change the application output content most
probably it was enable to allow text selection using the keyboard.
This change is needed to enable output filters, which can't use the
existing content from the output windows because they might be already
filtered.
Change-Id: Ia272143a3a0b085544ee9cd550a4ad4800e3f4dd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
... to warn about situations where Mime types are registered too
late (i.e. after Plugin::initialize() or used too early (i.e. before
Plugin::extensionsInitialized())
Change-Id: I22681e94bfdd508e954bb3457b834ec3ad1f0fee
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Introducing support for inheritance broke some old functionality
which in fact was just over engineered.
Remove additional code which will be automatically handled and does
not need to get handled by special logic which could be now wrong.
Change-Id: I05a063c41dc0f8f644d0807fc5497de9c4461246
Reviewed-by: David Schulz <david.schulz@qt.io>
Saves some iterations over the toolchains when opening
the QtOptionsPage.
Change-Id: I0d5d0fc7f501b201d6baacdbfc330c1287c4bc5c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Leaving these around can lead to a crash when updating a kit after the
project has been closed.
Task-number: QTCREATORBUG-17571
Change-Id: Ie4be99a665b072f3c920e3f365f5b20949436850
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This happens at least on Boot2Qt devices with Dropbear SSH.
Handling readChannelFinished() signal fixes the issue.
Task-number: QTCREATORBUG-16158
Change-Id: I7c6660ce3a1bfe6eeb868da5a818c0b92307eda0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The integrated text editor requires a couple of fixes and features
in the error handling.
The errors are now handled by the model and not the document management
anymore.
The text editor does not get disabled if there is an error. Instead
we show the error in a status bar.
The form editor is blocked if there is a QML an error and we show the
error message inside the form editor.
Change-Id: I4bfb9b33b09e444ec1de31dd531ce83b32cbcf88
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
In this way we minimize the chance of
generating non-unique id.
Change-Id: Idd177c5a4b44b17a58c2a944ec77b9517e91964e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
it's pointless, as no consumer has a legitimate need for it - the
project file is the root of all traversals, and is known by other means.
amends 4148b05e0.
Change-Id: I4df69727e37151b0ecbcd88b2f5ef6e55712172f
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
... in subdirs projects which actually have any subdirs.
that would happen via this mechanism in QmakeProFileNode::evaluate():
first, IncludedPriFile nodes with proFile = null are created for the
subdirs. subsequently, this tree is enriched by transforming the
reader's included files. that loop iterates over all already created
nodes and tries to match them against included files. at nesting level
one, this would now run into the nodes created for the subdirs. the code
failed to skip over these nodes, and would thus create a bogus node for
the .pro file (as it has the parent null in the mapping of included
files). this node would not be included into the tree due to the loop
prevention in QmakeProFileNode::applyEvaluate() (it obviously had the
same file path as its parent), but at the same time it would catch the
files meant for the root node due to defeating the fallback in
QmakePriFileNode::extractSources().
Task-number: QTCREATORBUG-17473
Change-Id: Ice9f667345148be42297cc21ff0a73058f27cc38
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
COMMAND_TIMEOUT is not needed and will not be emitted
Change-Id: Id89aaa8c0b774a962e7a4e813a5b3d3e6a37524d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Since the cache size is not given for individual file events anymore,
the test should only check it for the events in row 1.
Change-Id: Idfc7ec90ab8da214f4eedce36dd3b84fb00ed553
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>