This is just a minimal workaround for dark themes.
Change-Id: I11de88dd39f24bd4d09a1c955e27a140eaad3850
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Only qmake requires the build directory to be at the same level as the
source directory, but the warning appeared also for cmake and qbs
projects.
Change-Id: I2c2c39b0a6004bb4efe80bf6ff56c3f9e22ec51d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Change-Id: I9107356d52bbf6d1e77b30d7057b56efd670c724
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
That's what it is documented to be: It is set up from a
BuildTargetInfo::targetName containing the .pro file name.
Change-Id: Iabd1061960897125e1b09902d55661d42f481e26
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... if separate debug info is enabled.
Change-Id: I15a02b11e7df18719074b9bc503fe2c207f8bf00
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
...and make the scrollbar look the same as the scrollbars in the
QtQuickViews.
Change-Id: I15cd5a7f34efc744b74d6db2322b1aa084d09511
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
It wasn't really a singleton even before. For testing purposes make the
client/state/model managers accessible.
Change-Id: Ie5efbc47a6b9119495f999e4e05877d4789da407
Reviewed-by: hjk <hjk@qt.io>
The build list names are always the ones determined from the
build list id. No need to do that on the caller side.
Change-Id: Icc21ef355de535af21215819fe04daa76fed0d9c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Fixup after 45d6a34f: An empty list of target device restrictions
means 'no restriction'.
Change-Id: I15773e75e58c3ba543d62e13d728cf08dccc3650
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
These paths are controlled by ICore.
Add ICore::installerResourcePath() to replace constructions with
settings(SystemScope)
Replace constructions with settings()->fileName() by usage of
ICore::userResourcePath().
Change-Id: I5a9fa9d09f2563c39dc5d11a4586da825c62f9ac
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
The missing headers were included indirectly
through the QHeaderView, QButtonGroup or QAction
inside the generated ui files.
Now, the generated ui files won't include QHeaderView,
QButtonGroup nor QAction, so we need to include the
missing headers explicitly.
Change-Id: Ife6c4e2c39b2b2b7d8365cc5ae2dbb6de4b3ac66
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This one helps to understand when and why some jobs run.
Change-Id: Ibbafe517cb38bb9b68b73c78aaba0805f11b3964
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
If the model manager or the state manager disappear before the parent
widget, we might still get a timer update in between.
Change-Id: I6a67868615ef9d570e2ce438d9d9bd88b1035cc2
Reviewed-by: hjk <hjk@qt.io>
We should not share these settings with a different IDE_ID
Change-Id: If50102606722f40ab64c9c7fe01c74a9f0dda06e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We want to be able to reuse the copy and paste code in other parts.
Therefore we move most of the code to DesignDocumentView.
Change-Id: Ia0de109e92b128aef4c18255621767280e0dcfef
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Always report the main project file in Project::isKnownFile(...) and
Project::files(...).
Change-Id: If9b9cc205e3419a457b05b368cb524c982cbc18c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This works inside copy/paste models in which we do
not have instances.
Change-Id: I71f08a68d62c3f7a66eabb47f7399eb6fb5847aa
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Warn and ignore attempts to change the id() of a project.
Change-Id: I26c7c585e87d8be7b9fb8da3b3685b252e05f070
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Do QTC_CHECK to warn if a new project is not fully set up.
Change-Id: Iafeac9ed5bd62bd57754015aed832848e50b037a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
There is already a destructor because the vtable should not be
injected in every translation unit. Because of the rule of five
we have to provide or omit the copy and move functions. So
we delete them because we don't need them and any way
it would be not smart to have to notifier.
Change-Id: I35c00954eaa4e1bb299581a5e4ba5369d5cbf1cd
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This greatly reduces the test execution time, hopefully avoiding the
test function timeouts. As we know that all the connections fail, a 1ms
interval should be enough and retrying twice should be enough to
exercise the retry path.
Change-Id: I24e61aa1957313dc16b7e46f7a7de7ae483e82dc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>