Otherwise C/C++ with the same ABI are detected as duplicates.
Change-Id: I99090b4cc776047b1ecb958242d0b4f5ecec5f0a
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
To make sure CDB is really installed on a Windows Kit, we need to assure the
'inc' subdirectory is present. Before this patch, if, for instance, the
Windows 8.1 kit is present (including a Debuggers subdirectory), but without
CDB, the first test under "32-bit" qmake will yield a false positive,
preventing the following 32-bit kits to be tested, then to fail under the
64-bit qmake test because the 'inc' directory is inexistent, finally
bringing about an empty CDB_PATH variable.
Change-Id: I1d7cf3350f4a63a556ef106faa5b3f0593dcf8c8
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
Inside a Connections item JavaScript blocks should be allowed.
Change-Id: Ia6a08fc575a72980bd53a32249bf302b7a426266
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
When rescanning imports we generally get a new version of the parent
document. When replacing the cached documents we want to release the
old ones, not the new ones. Failing to do so leads to types
disappearing from the QML code model and to leaking memory.
Task-number: QTCREATORBUG-17175
Change-Id: I3994444ac0a6cd87f9d9d0b47ab3d6015660e416
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
We don't know which protocol QtCreator will choose to connect to the
QML debug server. Currently QtCreator uses whatever "localhost"
resolves to.
Change-Id: Id41fb54e5eb975581d382767bdd125fbb9801f4f
Task-number: QTCREATORBUG-17141
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Apparently a failed connection counts as "pending" for a while before
it is finally removed. The QML profiler aggressively tries to connect
with different timeouts and multiple sockets, so quite often there is
such a failed connection which then prevents new connections from
getting established.
We already enforce the limit of only one successful connection via the
SingleRelayServer subclass.
Change-Id: I441e2ed898d28f04359a9976d5b25569b8447f3f
Task-number: QTCREATORBUG-17141
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
You can now visualize memory consumption and allocations
of functions in addition to their time consumption.
Change-Id: I1c36019a5e3a161332a956a4b2d4aa833ea781dc
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
The index was handled wrongly.
Change-Id: I8a98c7a16e32798a9b7662c6c5c1683d248580da
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Instead of checking whether the recent projects exist on startup, check
it before returning the project list.
Additionally, update the welcome page (and thus projects) when the
application state changes, which gives the proper behavior when
minimizing or switching between applications.
Change-Id: Ib172f0b53fdc65fbd6de00041920f246d10da6a5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This is where the "Waiting for connection ..." message usually appears.
In general this mechanism of first replacing the port in the message
and then parsing the message to figure out that the iostool (not the
application) is actually listening is very confusing and backwards,
but fixing this is material for the master branch.
Change-Id: I73d3c5a34482403d275e6ea7a9ad59996121b02e
Task-number: QTCREATORBUG-17141
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Editing subcomponents should only be possible for
graphical items.
Qt Creator was crashing in case the node was something else.
Change-Id: Ia0e286c666b0b485da0817678ca2048ace260c9b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This should fix kits complaining about wrongly set C compilers and
ABI incompatibility between C and C++ compilers.
Task-number: QTCREATORBUG-17165
Task-number: QTCREATORBUG-17166
Change-Id: Ia002490b471e0f5306c3a76b27158869920452ed
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Nothing ever fills that column, so do not bother to show it.
Change-Id: I5787aa72ee5c414fbf01ca01eed3aea20b6b7201
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Better finish a slow build than waiting forever for a potentially
faster one.
Change-Id: Idec49294ec10f8dee41b061b3eeb7bf1e696d2a5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Setting objectnames to reduce possible influence to other
widgets.
Introduce a background QWidget to set the background color.
AutofillBackground was not working for unclear reason.
Change-Id: I4acd5b7ed5ff9d63b5320b133a82099c5888b839
Task-number: QTCREATORBUG-17172
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
We have to disable the validator even if the root node has no id.
Change-Id: I021c33909dfa7c3aa3154d1782a589cef9151af5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Some ids are likely to create issues, because they collide
with property names.
Change-Id: I688ed0751c227afdd3ef59ba0f31b1334b26eaea
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Certain ids can be ambiguous and have name clashes with properties.
Those ids are not supported in the designer.
Change-Id: Ida293d24611c467df6ef813a541e8abfc06b51cb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Use toolbar variants in the toolbar and menu variants in the menu.
Change-Id: Ie79631d80ff0f2c4c3b19b216def10d79bdd8454
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
...to the list in the Configuring Projects topic.
Change-Id: Iab1c540a85172aa3b7d99be387b2208320f4d5f9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Generate header guard of cpp classes based on the header file name, not
based on the class name (plus the preferred extension for header files).
Task-number: QTCREATORBUG-15864
Change-Id: I8c2b5d4a78e59a2389091ed5933b5bdeae8e5730
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
When setting the warning/error icon on a Qt version in the Qt options
page: Do not send dataChanged if the icon has not actually changed.
This fixes the selection getting broken when two Qt versions happen to
have the same displayName.
Task-number: QTCREATORBUG-16644
Change-Id: I7722fbc021388be237e59a59bd136c61f611ad52
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This works around QTBUG-56746, by decoupling the dialog from the
context menu.
Change-Id: I2f13b01003a10598e6f69b14bb7eb8e9141acad8
Task-number: QTCREATORBUG-17149
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Use svnversion in favor of svn info to report the topic for SVN versions.
Task-number: QTCREATORBUG-13611
Change-Id: Ia1f61c0d3b9bfb871d42449478029835c7b2796f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
We cannot do this because the parent object needs to be notified.
Change-Id: Id70de2acea4aa241ea0e85b5b02327e1f91b7e68
Reviewed-by: Christian Stenger <christian.stenger@qt.io>