Check the supported devices and return the base priority set by the
factory implementation
Task-number: QTCREATORBUG-19573
Change-Id: Ieae68a618d625b3f16f205e544f4626e6a410b91
Reviewed-by: hjk <hjk@qt.io>
And add them to other clang code model arguments.
These flags provide architecture for cross-compilation
when ios kit is selected.
Task-number: QTCREATORBUG-19437
Task-number: QTCREATORBUG-19430
Change-Id: I7a485f49d637371bb28b2096086d7d8a4b0c404a
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Preparation for adding more settings to the frameworks.
We need more columns for this purpose, so use a tree instead
of a list.
Change-Id: I73a1bb09625957986e857e4926009118a7ccaa32
Reviewed-by: David Schulz <david.schulz@qt.io>
Make it unnecessary to hack app_version.h.in for that.
Change-Id: Ibc3bf332916ab9f293b6782d3b5a40078dbd7bcb
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Similar to 85206e216a for qmake.
Unify the lookup logic in BaseQtVersion.
Change-Id: Id0b0ff3127f0561ac36610ada16110b55252eb31
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Paths are prepended, so the first one to be added is actually the last
search path.
On a debian machine with system-installed Qt and Qbs, if you execute Qtc
from another instance of Qtc with "Add build library search path" checked,
LD_LIBRARY_PATH has /usr/lib/x86_64-linux-gnu before $BUILD/lib/qtcreator.
This means that the system's Qbs lib will be loaded instead of the one in
RPATH, which is bad (i.e. qbs build fails because it cannot find
$BUILD/lib/x86_64-linux-gnu/qbs/qbs_processlauncher).
Change-Id: Ibe6778ba8a06da1680e034e31a8fee6d9a81c484
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Some left-over from the time they were nodes. It's not used
polymorphically anymore.
Change-Id: I98e75eb5378abdf27e4538041b07c09fa1f9fcc5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
So far there have been factories instantiated and maintained to get
a list of 'matching' operation by iterating over the factories'
match() functions. The same effect can be achieved more directly
by calling stand-alone functions.
Change-Id: I868489d36f9d8339e0d8855d832df8400501026c
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
If we get no finish message for a test case or function
we did not update the result of the summary item.
This patch fixes this and also updates the respective
parents accordingly.
Change-Id: I98a8c69735f89d592f6152dbbc7a632e285c3a4d
Reviewed-by: David Schulz <david.schulz@qt.io>
error: C2065: 'M_PI': undeclared identifier
QtMath makes it work on different compilers.
Change-Id: I012f4a5f6d3e2c9c8680b606a92f4898618a9dae
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Some high DPI icons are still missing. But icons rendered from
stereotype definitions get the correct size and look much better.
Change-Id: Iabd8283e9bd0ae7e074471a065d009ac5c5836cc
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Holding down Shift + Control while selecting a swimlane will not select
the elements below/right.
Change-Id: Ibb594add3389cf559e635f5cce9ba6c6948684ec
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Note: The change in diagramscenemodel.cpp is just to make a method
public and keep the order (public before private). No other code change
in that file.
Task-number: QTCREATORBUG-18368
Change-Id: I15193d90f81aaee81f357a4d82eeeb74bb1f0583
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Implemented new menu item "Export Selected Elements" exporting only
selected elements from diagram to image file. The existing menu item
"Export Diagram" exports the whole diagram always. In both cases any
selection will be removed from the diagram before export and restored
afterwards.
Task.number: QTCREATORBUG-16689
Change-Id: If9ad5d38a690fe8dc4b18624d0ddc81618b117d1
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Components and classes may be dragged and dropped not only from project
explorer but from any pane that allows to drag and drop a file.
Task-number: QTCREATORBUG-19117
Change-Id: I4c39e3771d37c0aed4b00204db0876e6b9093828
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Editing a name of an object at a diagram press Shift-Return do insert a
line-break.
Change-Id: I3f7d185823d7d5f33bc796bfedb058706f78b4f2
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
It's not really different from Project::parsingFinished.
Adapt users.
Change-Id: I47d23469df2ec52c5d823508772a7e8b8ad429ce
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
When target or build configuration change, the target files that
ExtraCompiler checks to see if a rebuild is necessary will be outdated.
The project managers recognize that and reinitialize the ExtraCompilers
in that case. Thus, we don't need to listen for those changes in
ExtraCompiler.
This has the added benefit of reducing the number of transparent
rebuilds triggered by ExtraCompiler.
Change-Id: If8b55f0f5343b221c039d4bd4a8f0c3ab412cc94
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
... and the parameter has a name after all.
Change-Id: I762474dfde29e8445fe69cf7361702a1a447e1bd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
...because we support building Qt Creator with multiple Qt versions
(different qlalr versions), thus the generated source files might/will
differ.
Done-By: Christian Kandeler
Change-Id: Ib38d2a73704a030627b716f6f5b4a1e5c6a8ad14
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This can happen because a run control may already initiateStop when in
Starting state.
Change-Id: Ie872cb1ba5d0ff65eb1c82ff90f9659311e534f4
Reviewed-by: hjk <hjk@qt.io>
This was already almost the desired final pattern, so make it the default
implementation of ProjectRunConfigurationFactory::availableBuildTargets.
For the only remaining feature of "decorating" the build target names,
introduce a property m_displayNamePattern.
Un-adapted sub-classes still need (and are able) to overide.
Change-Id: Ia7d2d2f7d53f8b1da487fa82c8265ad5deb47500
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This is in prepration for a follow-up change, which introduces a state
where the Document is not yet parsed (it was reset) but the queue has
jobs.
All jobs get this requirement except those that generate an AST.
Change-Id: Ifcbb704e54108b40797180514c5ad3f3768ef10b
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
QtCreator now assumes that QtQuick2 is used, so the relevant bundle is
loaded unconditionally.
Change-Id: Ib6b7b0c9a949e74edf0e0b7f68b0c774d7bcb451
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
If the common directory is root (such as "/", "D:/" etc.), the first
character of the project file name was chopped.
Change-Id: Ic2b81fd2f95e4d2a0bdb5e93ade243c3e1029893
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This icon had been moved already, but its declaration
and definition were still present.
Change-Id: I7e0f5cc91f83ac19e9bba9838b1fbc4d7258c6c7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>