This allows us to easily add scxml files to a qmake project.
Change-Id: I2b5b21683f3e76062e6858fb8d0bceaa699a5569
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Might fix a fail on loaded test machines.
Change-Id: Ieb9e8426f760e2257ececa0b53c564d68992c3fa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Remove some unreachable code and avoid compile warnings about floating
point precision.
Change-Id: Ie38613a2631e0c3007580778f35009ad47ff00bf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
It's built only if TESTS == 1. This way we can use it from qmlprofiler
tests, too.
Change-Id: I170af41341c15c388046d843406e6651114c209a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Now the IconProvider can be used in the property editor.
Change-Id: Iaaa2674e7dc0955d91f7699090340c4646e723a0
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
There is no need to style the ouputpane apart from
the scrollbar.
Change-Id: I3dcd98e403dace1de243c0254408c353ebcb3db2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
... to follow the convention for setters.
Change-Id: Id471a93a1be1beed0438fed710fa09afa5ee2832
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The system clang on macOS is aware of the header paths, but not our
shipped clang.
Task-number: QTCREATORBUG-15869
Change-Id: Iabb56d9443808be2822a21b48bb111a6a8a8c604
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Creator can stop running applications when a build starts. This prevents isssues
on windows where the running application locks files in the build directory, which
in turn will make the build fail.
In addition to the current options to kill all applications or just those from the
current project, add a new option to kill all applications of the current project
that live in the same build directory.
Task-number: QTCREATORBUG-16470
Change-Id: Ib4a74e2452055eaf5f9e384555be5ef14de1cd40
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
In some cases GDB output seem to get stuck/not flushed and there is
no proper ^ response in time. Force a flush by running an extra
dummy command afterwards.
Change-Id: I2293dcea0877572a68f37253e60f2a99c03d443f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This reverts commit 52f1fe7033.
Revert the revert, which was done because we still support
compilation of 4.1 with GCC 4.7, and that crashes with this patch.
For master/4.2 we require GCC 4.8.
Change-Id: Ifd0b8b4641fe3dd658f9bde62b9e4f888d998ee7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This has been used since the dawn of time but seems to cause problems
with JVM code.
Task-number: QTCREATORBUG-16565
Change-Id: Iae8a2949671d162f84b9dfe954c8dfbbd743a8de
Reviewed-by: Sandro Mani <manisandro@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
If the type is still "unknown" use the CppComponentValue
to resolve the type.
Change-Id: Ib404faa89a06d93f34189abfc7427122567ff25a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
The lazy initialization was missing for NodeMetaInfoPrivate::propertyType()
Change-Id: Ic2251df30de2187aea44fe7a48df9e5e0d635ab8
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
With this patch the Qt Quick Designer supports:
*Flat
*Flat Dark
*Flat Light
*Classic
I did not test the dark style.
I added a template engine for the .css files. The syntax for the .css
files
is identical to the QML syntax.
Known issues:
* The icons in the property editor do not play well with the
Flat Light style. We have to get proper Core:Icon support for the
icons
and most icons have to be simplified/flattened to fit the new style/
theme.
* Some colors in the connection editor are still dark and hardcoded. But
this looks ok together with all themes.
* The highlight colors are not taken from the theme, yet.
Change-Id: I94f2b75f92db8e131c2b15867dbabe9ae4b2f25a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Useful in cases where e.g. siblings are affected (e.g. font
changes to indicate active items).
Change-Id: Ib2f8018688d00bd682bb6aaff08156f0be04f5dc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Current usage is to use setRootItem() manually when needed, but
since the type is known in a LeveledTreeModel this can be automatic.
Change-Id: I511acdf9b9b3f4b67cf87d07b5446baa329a6a77
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The server and client are adaptable by template parameter.
Change-Id: Ia28e2863ca73b633689964ea1df6df08f8358ac1
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
We always use one client and the dispatching is removing to possibility
of moving commands. Moving the client to IpcServerInterface improves the
code sharing.
Change-Id: I5f102ab7907239572534b7d4c2848abbaade69b6
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
We want to reuse the connection client in other plugins. This is the first
step, the next step is refactoring the IPC mechanismn and move it up to
the IpcServer- and IpcClientInterface.
Change-Id: I6eb6db1e9bc18232c8df350a6303afd2edc68da8
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
The connection client can block main thread at start up. This patch is
removing the wait functions and using signals instead.
Change-Id: I847c98b095752f6a875c0365bc27361bc5bdd051
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Fixing calculation of anchor margins for all cases.
Change-Id: I124efe2e72f822779b7fc7c6671a3c51fea505ad
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
We stash the ranges until we receive RangeLocation and RangeData. In
order not to send other messages before the range they belong to, we
need to keep them around, too, until we send the range.
Change-Id: I0ce4ced68ee343c54638ce262216c4bf1e4ddc13
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Previously, a range starting before the restriction and ending after
it would not be recognized as belonging to the restricted range.
Change-Id: I4d387f8964362635cc2bc89a6a082a4a5bfeddcb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
These events carry state which needs to be tracked even if they are
outside the current range.
Change-Id: Ia4bc34010f81cec29cd934ce2fefa0c337aef11f
Task-number: QTCREATORBUG-16552
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This reverts commit ab070f8f7e as
it crashes still supported compiler gcc 4.7.3.
Change-Id: I74d8b0b94715fc9da59f35d0119081f5cacb6b53
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This stops the 'x' icon from changing position when the scroll bar
vanishes.
Task-number: QTCREATORBUG-16566
Change-Id: I90f35ff34baec0a34e881797cfcc98be383a3f35
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Old creator versions detected MSVC 2015 with the 2005 ABIs. Upgrading
from those to a current version of Creator will keep this detected ABI,
effectively breaking MSVC 2015 for users upgrading from settings where
it was mis-detected.
Force re-creation of MSVC toolchains if the saved toolchain ABI and
the currently detected ABI differ. This will break kits (as the MSVC
toolchain's ID will change), but it will make sure a usable MSVC 2015
toolchain is available.
Change-Id: If7d9ab0d414bb33781243bcdf5112b411ecf5c13
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
QTest can use qInfo() to print out additional information
which was ignored (with an internal warning).
Handle these messages the same way as qDebug().
Change-Id: I84106ab232580ec9066ea5fe0c03f3be8c6d0bfd
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>