forked from qt-creator/qt-creator
Merge "Merge remote-tracking branch 'origin/11.0'"
This commit is contained in:
@@ -7,7 +7,7 @@ instructions:
|
|||||||
variableValue: "RelWithDebInfo"
|
variableValue: "RelWithDebInfo"
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: LLVM_BASE_URL
|
variableName: LLVM_BASE_URL
|
||||||
variableValue: https://master.qt.io/development_releases/prebuilt/libclang/libclang-release_16.0.2-based
|
variableValue: https://ci-files02-hki.ci.qt.io/packages/jenkins/qtcreator_libclang/libclang-release_16.0.2-based
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: QTC_QT_BASE_URL
|
variableName: QTC_QT_BASE_URL
|
||||||
variableValue: "https://ci-files02-hki.ci.qt.io/packages/jenkins/archive/qt/6.5/6.5.1-released/Qt"
|
variableValue: "https://ci-files02-hki.ci.qt.io/packages/jenkins/archive/qt/6.5/6.5.1-released/Qt"
|
||||||
|
@@ -52,7 +52,7 @@ instructions:
|
|||||||
- type: ChangeDirectory
|
- type: ChangeDirectory
|
||||||
directory: "{{.BuildDir}}/tqtc-qtsdk/packaging_tools"
|
directory: "{{.BuildDir}}/tqtc-qtsdk/packaging_tools"
|
||||||
- type: ExecuteCommand
|
- type: ExecuteCommand
|
||||||
command: "python3 -m pipenv run python -u install_qt.py --qt-path {{.BuildDir}}/qt_install_dir --base-url {{.Env.QTC_QT_BASE_URL}} --base-url-postfix={{.Env.QTC_QT_POSTFIX}} --icu7z https://master.qt.io/development_releases/prebuilt/icu/prebuilt/56.1/icu-linux-g++-Rhel7.2-x64.7z {{.Env.QTC_QT_MODULES}}"
|
command: "python3 -m pipenv run python -u install_qt.py --qt-path {{.BuildDir}}/qt_install_dir --base-url {{.Env.QTC_QT_BASE_URL}} --base-url-postfix={{.Env.QTC_QT_POSTFIX}} --icu7z https://ci-files02-hki.ci.qt.io/packages/jenkins/development_releases/prebuilt/icu/prebuilt/56.1/icu-linux-g++-Rhel7.2-x64.7z {{.Env.QTC_QT_MODULES}}"
|
||||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||||
maxTimeInSeconds: 3600
|
maxTimeInSeconds: 3600
|
||||||
maxTimeBetweenOutput: 360
|
maxTimeBetweenOutput: 360
|
||||||
@@ -72,7 +72,7 @@ instructions:
|
|||||||
property: host.os
|
property: host.os
|
||||||
equals_value: MacOS
|
equals_value: MacOS
|
||||||
- type: ExecuteCommand
|
- type: ExecuteCommand
|
||||||
command: "python -m pipenv run python -u install_qt.py --qt-path {{.BuildDir}}/qt_install_dir --base-url {{.Env.QTC_QT_BASE_URL}} --base-url-postfix={{.Env.QTC_QT_POSTFIX}} --opengl32sw7z https://master.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64.7z --d3dcompiler7z https://master.qt.io/development_releases/prebuilt/d3dcompiler/msvc2013/d3dcompiler_47-x64.7z --openssl7z https://ci-files02-hki.ci.qt.io/packages/jenkins/openssl/openssl_1.1.1d_prebuild_x64.7z {{.Env.QTC_QT_MODULES}}"
|
command: "python -m pipenv run python -u install_qt.py --qt-path {{.BuildDir}}/qt_install_dir --base-url {{.Env.QTC_QT_BASE_URL}} --base-url-postfix={{.Env.QTC_QT_POSTFIX}} --opengl32sw7z https://ci-files02-hki.ci.qt.io/packages/jenkins/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64.7z --d3dcompiler7z https://ci-files02-hki.ci.qt.io/packages/jenkins/development_releases/prebuilt/d3dcompiler/msvc2013/d3dcompiler_47-x64.7z --openssl7z https://ci-files02-hki.ci.qt.io/packages/jenkins/openssl/openssl_1.1.1d_prebuild_x64.7z {{.Env.QTC_QT_MODULES}}"
|
||||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||||
maxTimeInSeconds: 3600
|
maxTimeInSeconds: 3600
|
||||||
maxTimeBetweenOutput: 360
|
maxTimeBetweenOutput: 360
|
||||||
|
64
dist/changelog/changes-11.0.0.md
vendored
64
dist/changelog/changes-11.0.0.md
vendored
@@ -121,10 +121,17 @@ Editing
|
|||||||
* Fixed that the locator showed both the declaration and the definition of symbols
|
* Fixed that the locator showed both the declaration and the definition of symbols
|
||||||
([QTCREATORBUG-13894](https://bugreports.qt.io/browse/QTCREATORBUG-13894))
|
([QTCREATORBUG-13894](https://bugreports.qt.io/browse/QTCREATORBUG-13894))
|
||||||
* Fixed the handling of C++20 keywords and concepts
|
* Fixed the handling of C++20 keywords and concepts
|
||||||
|
* Fixed that the automatic Doxygen comment generation did not work when
|
||||||
|
initializer lists `{}` were present
|
||||||
|
([QTCREATORBUG-29198](https://bugreports.qt.io/browse/QTCREATORBUG-29198))
|
||||||
|
* Fixed an issue when matching braces
|
||||||
|
([QTCREATORBUG-29339](https://bugreports.qt.io/browse/QTCREATORBUG-29339))
|
||||||
* Clangd
|
* Clangd
|
||||||
* Fixed that the index could be outdated after VCS operations
|
* Fixed that the index could be outdated after VCS operations
|
||||||
* Fixed the highlighting of labels
|
* Fixed the highlighting of labels
|
||||||
([QTCREATORBUG-27338](https://bugreports.qt.io/browse/QTCREATORBUG-27338))
|
([QTCREATORBUG-27338](https://bugreports.qt.io/browse/QTCREATORBUG-27338))
|
||||||
|
* Fixed freezes when showing tool tips
|
||||||
|
([QTCREATORBUG-29356](https://bugreports.qt.io/browse/QTCREATORBUG-29356))
|
||||||
* Built-in
|
* Built-in
|
||||||
* Fixed support for `if`-statements with initializer
|
* Fixed support for `if`-statements with initializer
|
||||||
([QTCREATORBUG-29182](https://bugreports.qt.io/browse/QTCREATORBUG-29182))
|
([QTCREATORBUG-29182](https://bugreports.qt.io/browse/QTCREATORBUG-29182))
|
||||||
@@ -150,7 +157,10 @@ Editing
|
|||||||
* Fixed the completion for Qt Quick Controls
|
* Fixed the completion for Qt Quick Controls
|
||||||
([QTCREATORBUG-28648](https://bugreports.qt.io/browse/QTCREATORBUG-28648))
|
([QTCREATORBUG-28648](https://bugreports.qt.io/browse/QTCREATORBUG-28648))
|
||||||
* Fixed that `qmllint` issues were not shown in the `Issues` view
|
* Fixed that `qmllint` issues were not shown in the `Issues` view
|
||||||
([QTCREATORBUG-28720](https://bugreports.qt.io/browse/QTCREATORBUG-28720))
|
([QTCREATORBUG-28720](https://bugreports.qt.io/browse/QTCREATORBUG-28720),
|
||||||
|
[QTCREATORBUG-27762](https://bugreports.qt.io/browse/QTCREATORBUG-27762))
|
||||||
|
* Fixed a wrong `M16` warning
|
||||||
|
([QTCREATORBUG-28468](https://bugreports.qt.io/browse/QTCREATORBUG-28468))
|
||||||
|
|
||||||
### Python
|
### Python
|
||||||
|
|
||||||
@@ -163,6 +173,11 @@ Editing
|
|||||||
|
|
||||||
([Documentation](https://docs.qt.io/qtcreator/creator-python-development.html))
|
([Documentation](https://docs.qt.io/qtcreator/creator-python-development.html))
|
||||||
|
|
||||||
|
### Meson
|
||||||
|
|
||||||
|
* Fixed the file targets
|
||||||
|
([QTCREATORBUG-29349](https://bugreports.qt.io/browse/QTCREATORBUG-29349))
|
||||||
|
|
||||||
Projects
|
Projects
|
||||||
--------
|
--------
|
||||||
|
|
||||||
@@ -187,15 +202,28 @@ Projects
|
|||||||
[QTCREATORBUG-28985](https://bugreports.qt.io/browse/QTCREATORBUG-28985),
|
[QTCREATORBUG-28985](https://bugreports.qt.io/browse/QTCREATORBUG-28985),
|
||||||
[QTCREATORBUG-29006](https://bugreports.qt.io/browse/QTCREATORBUG-29006))
|
[QTCREATORBUG-29006](https://bugreports.qt.io/browse/QTCREATORBUG-29006))
|
||||||
([Documentation](https://doc.qt.io/qtcreator/creator-project-cmake.html))
|
([Documentation](https://doc.qt.io/qtcreator/creator-project-cmake.html))
|
||||||
* Added `Build > Reload CMake Presets` to reload CMake presets after making
|
|
||||||
changes to them
|
|
||||||
([Documentation](https://docs.qt.io/qtcreator/creator-build-settings-cmake-presets.html))
|
|
||||||
* Added support for the `block()` and `endblock()` CMake commands
|
* Added support for the `block()` and `endblock()` CMake commands
|
||||||
([CMake documentation](https://cmake.org/cmake/help/latest/command/block.html#command:block))
|
([CMake documentation](https://cmake.org/cmake/help/latest/command/block.html#command:block))
|
||||||
* Fixed that CMake Presets were not visible in the `Projects` view
|
|
||||||
([QTCREATORBUG-28966](https://bugreports.qt.io/browse/QTCREATORBUG-28966))
|
|
||||||
* Fixed issues with detecting a configured Qt version when importing a build
|
* Fixed issues with detecting a configured Qt version when importing a build
|
||||||
([QTCREATORBUG-29075](https://bugreports.qt.io/browse/QTCREATORBUG-29075))
|
([QTCREATORBUG-29075](https://bugreports.qt.io/browse/QTCREATORBUG-29075))
|
||||||
|
* Fixed the project wizards for Qt 6.3 and earlier
|
||||||
|
([QTCREATORBUG-29067](https://bugreports.qt.io/browse/QTCREATORBUG-29067))
|
||||||
|
* Presets
|
||||||
|
* Added `Build > Reload CMake Presets` to reload CMake presets after making
|
||||||
|
changes to them
|
||||||
|
([Documentation](https://docs.qt.io/qtcreator/creator-build-settings-cmake-presets.html))
|
||||||
|
* Fixed that presets were not visible in the `Projects` view
|
||||||
|
([QTCREATORBUG-28966](https://bugreports.qt.io/browse/QTCREATORBUG-28966))
|
||||||
|
* Fixed the type handling of the `architecture` and `toolset` fields
|
||||||
|
([QTCREATORBUG-28693](https://bugreports.qt.io/browse/QTCREATORBUG-28693))
|
||||||
|
* Fixed the setting for QML debugging when creating build configurations
|
||||||
|
([QTCREATORBUG-29311](https://bugreports.qt.io/browse/QTCREATORBUG-29311))
|
||||||
|
|
||||||
|
|
||||||
|
### Qmake
|
||||||
|
|
||||||
|
* Fixed an infinite loop when the Qt ABI changed
|
||||||
|
([QTCREATORBUG-29204](https://bugreports.qt.io/browse/QTCREATORBUG-29204))
|
||||||
|
|
||||||
### Python
|
### Python
|
||||||
|
|
||||||
@@ -214,6 +242,10 @@ Debugging
|
|||||||
([QTCREATORBUG-28950](https://bugreports.qt.io/browse/QTCREATORBUG-28950))
|
([QTCREATORBUG-28950](https://bugreports.qt.io/browse/QTCREATORBUG-28950))
|
||||||
* Fixed pretty printer for `std::string` for recent `libc++`
|
* Fixed pretty printer for `std::string` for recent `libc++`
|
||||||
([QTCREATORBUG-29230](https://bugreports.qt.io/browse/QTCREATORBUG-29230))
|
([QTCREATORBUG-29230](https://bugreports.qt.io/browse/QTCREATORBUG-29230))
|
||||||
|
* Fixed the pretty printers on Fedora 37
|
||||||
|
([QTCREATORBUG-28659](https://bugreports.qt.io/browse/QTCREATORBUG-28659))
|
||||||
|
* Fixed the display of arrays with `Array of 10,000 items`
|
||||||
|
([QTCREATORBUG-29196](https://bugreports.qt.io/browse/QTCREATORBUG-29196))
|
||||||
|
|
||||||
### C++
|
### C++
|
||||||
|
|
||||||
@@ -266,6 +298,11 @@ Platforms
|
|||||||
* Fixed an issue with building library targets
|
* Fixed an issue with building library targets
|
||||||
([QTCREATORBUG-26980](https://bugreports.qt.io/browse/QTCREATORBUG-26980))
|
([QTCREATORBUG-26980](https://bugreports.qt.io/browse/QTCREATORBUG-26980))
|
||||||
|
|
||||||
|
### iOS
|
||||||
|
|
||||||
|
* Improved the bundle ID that the project wizards create
|
||||||
|
([QTCREATORBUG-29340](https://bugreports.qt.io/browse/QTCREATORBUG-29340))
|
||||||
|
|
||||||
### Remote Linux
|
### Remote Linux
|
||||||
|
|
||||||
* Removed the automatic sourcing of target-side shell profiles
|
* Removed the automatic sourcing of target-side shell profiles
|
||||||
@@ -277,6 +314,14 @@ Platforms
|
|||||||
* Fixed issues after deleting the Docker image for a registered Docker device
|
* Fixed issues after deleting the Docker image for a registered Docker device
|
||||||
([QTCREATORBUG-28880](https://bugreports.qt.io/browse/QTCREATORBUG-28880))
|
([QTCREATORBUG-28880](https://bugreports.qt.io/browse/QTCREATORBUG-28880))
|
||||||
|
|
||||||
|
### MCU
|
||||||
|
|
||||||
|
* Fixed that errors were shown for valid QML code
|
||||||
|
([QTCREATORBUG-26655](https://bugreports.qt.io/browse/QTCREATORBUG-26655),
|
||||||
|
[QTCREATORBUG-29155](https://bugreports.qt.io/browse/QTCREATORBUG-29155))
|
||||||
|
* Fixed that files were missing from locator and project search
|
||||||
|
([QTCREATORBUG-29297](https://bugreports.qt.io/browse/QTCREATORBUG-29297))
|
||||||
|
|
||||||
### QNX
|
### QNX
|
||||||
|
|
||||||
* Added `slog2info` as a requirement for devices
|
* Added `slog2info` as a requirement for devices
|
||||||
@@ -289,6 +334,8 @@ Aleksei German
|
|||||||
Alessandro Portale
|
Alessandro Portale
|
||||||
Alexander Drozdov
|
Alexander Drozdov
|
||||||
Alexander Pershin
|
Alexander Pershin
|
||||||
|
Alexey Edelev
|
||||||
|
Alexis Jeandet
|
||||||
Ali Kianian
|
Ali Kianian
|
||||||
Alibek Omarov
|
Alibek Omarov
|
||||||
Amr Essam
|
Amr Essam
|
||||||
@@ -309,8 +356,10 @@ Esa Törmänen
|
|||||||
Fabian Kosmale
|
Fabian Kosmale
|
||||||
Filippo Gentile
|
Filippo Gentile
|
||||||
Friedemann Kleint
|
Friedemann Kleint
|
||||||
|
Haowei Hsu
|
||||||
Henning Gruendl
|
Henning Gruendl
|
||||||
Jaroslaw Kobus
|
Jaroslaw Kobus
|
||||||
|
Joni Poikelin
|
||||||
Jussi Witick
|
Jussi Witick
|
||||||
Kai Köhne
|
Kai Köhne
|
||||||
Knud Dollereder
|
Knud Dollereder
|
||||||
@@ -324,6 +373,7 @@ Mats Honkamaa
|
|||||||
Miikka Heikkinen
|
Miikka Heikkinen
|
||||||
Mitch Curtis
|
Mitch Curtis
|
||||||
Niels Weber
|
Niels Weber
|
||||||
|
Olivier Delaune
|
||||||
Orgad Shaneh
|
Orgad Shaneh
|
||||||
Pranta Dastider
|
Pranta Dastider
|
||||||
Robert Löhning
|
Robert Löhning
|
||||||
@@ -333,8 +383,8 @@ Tasuku Suzuki
|
|||||||
Thiago Macieira
|
Thiago Macieira
|
||||||
Thomas Hartmann
|
Thomas Hartmann
|
||||||
Tim Jenssen
|
Tim Jenssen
|
||||||
Tim Jenßen
|
|
||||||
Ulf Hermann
|
Ulf Hermann
|
||||||
Vikas Pachdha
|
Vikas Pachdha
|
||||||
|
Wladimir Leuschner
|
||||||
Yasser Grimes
|
Yasser Grimes
|
||||||
Yixue Wang
|
Yixue Wang
|
||||||
|
@@ -34,6 +34,10 @@
|
|||||||
|
|
||||||
Lists useful \QC features.
|
Lists useful \QC features.
|
||||||
|
|
||||||
|
\li \l{Reference}
|
||||||
|
|
||||||
|
Lists the sidebar views and the output views.
|
||||||
|
|
||||||
\li \l{Known Issues}
|
\li \l{Known Issues}
|
||||||
|
|
||||||
Lists known issues in \QC version \qtcversion. The development team
|
Lists known issues in \QC version \qtcversion. The development team
|
||||||
|
@@ -239,7 +239,76 @@
|
|||||||
\li \l{Using the Help Mode}
|
\li \l{Using the Help Mode}
|
||||||
\li \l{FAQ}
|
\li \l{FAQ}
|
||||||
\li \l{How-to}
|
\li \l{How-to}
|
||||||
|
\list
|
||||||
|
\li Use the UI
|
||||||
|
\list
|
||||||
|
\li \l {Assign keyboard shortcuts}
|
||||||
|
\li \l {Find a particular preference}
|
||||||
|
\li \l {Find keyboard shortcuts}
|
||||||
|
\li \l {Find menu items on \macos}
|
||||||
|
\li \l {Import and export keyboard shortcuts}
|
||||||
|
\li \l {Set high DPI scaling}
|
||||||
|
\li \l {Set the number of recent files shown}
|
||||||
|
\li \l {Show and hide sidebars}
|
||||||
|
\li \l {Switch between modes}
|
||||||
|
\li \l {Switch UI themes}
|
||||||
|
\li \l {View output}
|
||||||
|
\endlist
|
||||||
|
\li Edit Code
|
||||||
|
\list
|
||||||
|
\li \l {Add code snippets to the auto-complete menu}
|
||||||
|
\li \l {Enclose selected code in curly braces, parentheses, or double quotes}
|
||||||
|
\li \l {Jump to a function in QML code}
|
||||||
|
\li \l {Locate files using the keyboard}
|
||||||
|
\li \l {Move between open files}
|
||||||
|
\li \l {Move to symbols}
|
||||||
|
\li \l {Paste text from clipboard history}
|
||||||
|
\li \l {Perform calculations}
|
||||||
|
\li \l {Search and replace across files using a regular expression}
|
||||||
|
\li \l {Select the enclosing block in C++}
|
||||||
|
\li \l {Sort lines alphabetically}
|
||||||
|
\li \l {Switch to Edit mode}
|
||||||
|
\li \l {Write down notes}
|
||||||
|
\endlist
|
||||||
|
\li Design UIs
|
||||||
|
\list
|
||||||
|
\li \l {Export SVG images}
|
||||||
|
\li \l {View images}
|
||||||
|
\endlist
|
||||||
|
\li Manage Projects
|
||||||
|
\list
|
||||||
|
\li \l {Add a license header template for C++ code}
|
||||||
|
\endlist
|
||||||
|
\li Use \QC
|
||||||
|
\list
|
||||||
|
\li \l {Enable and disable plugins}
|
||||||
|
\li \l {Find settings files}
|
||||||
|
\li \l {Install plugins}
|
||||||
|
\li \l {Run \QC from the command line}
|
||||||
|
\endlist
|
||||||
|
\endlist
|
||||||
\li \l{Reference}
|
\li \l{Reference}
|
||||||
|
\list
|
||||||
|
\li Sidebar Views
|
||||||
|
\list
|
||||||
|
\li \l {Call Hierarchy}
|
||||||
|
\li \l {Class View}
|
||||||
|
\li \l {File System}
|
||||||
|
\li \l {Include Hierarchy}
|
||||||
|
\li \l {Open Documents}
|
||||||
|
\li \l {Outline}
|
||||||
|
\li \l {Projects}
|
||||||
|
\li \l {Type Hierarchy}
|
||||||
|
\endlist
|
||||||
|
\li Output Views
|
||||||
|
\list
|
||||||
|
\li \l {Application Output}
|
||||||
|
\li \l {Compile Output}
|
||||||
|
\li \l {Issues}
|
||||||
|
\li \l {Search Results}
|
||||||
|
\li \l {To-Do Entries}
|
||||||
|
\endlist
|
||||||
|
\endlist
|
||||||
\li \l{Known Issues}
|
\li \l{Known Issues}
|
||||||
\li \l{Glossary}
|
\li \l{Glossary}
|
||||||
\li \l{Technical Support}
|
\li \l{Technical Support}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -1614,7 +1614,7 @@ void TaskNode::invokeEndHandler(bool success)
|
|||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
The task tree above has a top level element of the Group type that contains
|
The task tree above has a top level element of the Group type that contains
|
||||||
tasks of the type ProcessTask, FileTransferTask, and ConcurrentCallTask<int>.
|
tasks of the ProcessTask, FileTransferTask, and ConcurrentCallTask<int> type.
|
||||||
After taskTree->start() is called, the tasks are run in a chain, starting
|
After taskTree->start() is called, the tasks are run in a chain, starting
|
||||||
with ProcessTask. When the ProcessTask finishes successfully, the ConcurrentCallTask<int>
|
with ProcessTask. When the ProcessTask finishes successfully, the ConcurrentCallTask<int>
|
||||||
task is started. Finally, when the asynchronous task finishes successfully, the
|
task is started. Finally, when the asynchronous task finishes successfully, the
|
||||||
@@ -1765,7 +1765,7 @@ void TaskNode::invokeEndHandler(bool success)
|
|||||||
\section2 Task's Start Handler
|
\section2 Task's Start Handler
|
||||||
|
|
||||||
When a corresponding task class object is created and before it's started,
|
When a corresponding task class object is created and before it's started,
|
||||||
the task tree invokes a mandatory user-provided setup handler. The setup
|
the task tree invokes an optionally user-provided setup handler. The setup
|
||||||
handler should always take a \e reference to the associated task class object:
|
handler should always take a \e reference to the associated task class object:
|
||||||
|
|
||||||
\code
|
\code
|
||||||
@@ -2150,7 +2150,7 @@ void TaskNode::invokeEndHandler(bool success)
|
|||||||
|
|
||||||
\section1 Task Adapters
|
\section1 Task Adapters
|
||||||
|
|
||||||
To extend a TaskTree with new a task type, implement a simple adapter class
|
To extend a TaskTree with a new task type, implement a simple adapter class
|
||||||
derived from the TaskAdapter class template. The following class is an
|
derived from the TaskAdapter class template. The following class is an
|
||||||
adapter for a single shot timer, which may be considered as a new
|
adapter for a single shot timer, which may be considered as a new
|
||||||
asynchronous task:
|
asynchronous task:
|
||||||
@@ -2164,10 +2164,11 @@ void TaskNode::invokeEndHandler(bool success)
|
|||||||
task()->setInterval(1000);
|
task()->setInterval(1000);
|
||||||
connect(task(), &QTimer::timeout, this, [this] { emit done(true); });
|
connect(task(), &QTimer::timeout, this, [this] { emit done(true); });
|
||||||
}
|
}
|
||||||
|
private:
|
||||||
void start() final { task()->start(); }
|
void start() final { task()->start(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
QTC_DECLARE_CUSTOM_TASK(TimeoutTask, TimeoutTaskAdapter);
|
TASKING_DECLARE_TASK(TimeoutTask, TimeoutTaskAdapter);
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
You must derive the custom adapter from the TaskAdapter class template
|
You must derive the custom adapter from the TaskAdapter class template
|
||||||
@@ -2178,12 +2179,12 @@ void TaskNode::invokeEndHandler(bool success)
|
|||||||
accessible through the TaskAdapter::task() method. The constructor
|
accessible through the TaskAdapter::task() method. The constructor
|
||||||
of TimeoutTaskAdapter initially configures the QTimer object and connects
|
of TimeoutTaskAdapter initially configures the QTimer object and connects
|
||||||
to the QTimer::timeout signal. When the signal is triggered, TimeoutTaskAdapter
|
to the QTimer::timeout signal. When the signal is triggered, TimeoutTaskAdapter
|
||||||
emits the done(true) signal to inform the task tree that the task finished
|
emits the \c done(true) signal to inform the task tree that the task finished
|
||||||
successfully. If it emits done(false), the task finished with an error.
|
successfully. If it emits \c done(false), the task finished with an error.
|
||||||
The TaskAdapter::start() method starts the timer.
|
The TaskAdapter::start() method starts the timer.
|
||||||
|
|
||||||
To make QTimer accessible inside TaskTree under the \e TimeoutTask name,
|
To make QTimer accessible inside TaskTree under the \e TimeoutTask name,
|
||||||
register it with QTC_DECLARE_CUSTOM_TASK(TimeoutTask, TimeoutTaskAdapter).
|
register it with TASKING_DECLARE_TASK(TimeoutTask, TimeoutTaskAdapter).
|
||||||
TimeoutTask becomes a new task type inside Tasking namespace, using TimeoutTaskAdapter.
|
TimeoutTask becomes a new task type inside Tasking namespace, using TimeoutTaskAdapter.
|
||||||
|
|
||||||
The new task type is now registered, and you can use it in TaskTree:
|
The new task type is now registered, and you can use it in TaskTree:
|
||||||
|
@@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#include <ios/iosconstants.h>
|
#include <ios/iosconstants.h>
|
||||||
|
|
||||||
|
#include <webassembly/webassemblyconstants.h>
|
||||||
|
|
||||||
#include <coreplugin/find/itemviewfind.h>
|
#include <coreplugin/find/itemviewfind.h>
|
||||||
#include <projectexplorer/buildsteplist.h>
|
#include <projectexplorer/buildsteplist.h>
|
||||||
#include <projectexplorer/devicesupport/idevice.h>
|
#include <projectexplorer/devicesupport/idevice.h>
|
||||||
@@ -202,7 +204,8 @@ static bool supportsStageForInstallation(const Kit *kit)
|
|||||||
QTC_ASSERT(buildDevice, return false);
|
QTC_ASSERT(buildDevice, return false);
|
||||||
return runDevice->id() != buildDevice->id()
|
return runDevice->id() != buildDevice->id()
|
||||||
&& runDevice->type() != Android::Constants::ANDROID_DEVICE_TYPE
|
&& runDevice->type() != Android::Constants::ANDROID_DEVICE_TYPE
|
||||||
&& runDevice->type() != Ios::Constants::IOS_DEVICE_TYPE;
|
&& runDevice->type() != Ios::Constants::IOS_DEVICE_TYPE
|
||||||
|
&& runDevice->type() != WebAssembly::Constants::WEBASSEMBLY_DEVICE_TYPE;
|
||||||
}
|
}
|
||||||
|
|
||||||
CMakeBuildStep::CMakeBuildStep(BuildStepList *bsl, Id id) :
|
CMakeBuildStep::CMakeBuildStep(BuildStepList *bsl, Id id) :
|
||||||
|
@@ -244,6 +244,8 @@ void CMakeManager::reloadCMakePresets()
|
|||||||
{QMessageBox::Yes, Tr::tr("Reload")},
|
{QMessageBox::Yes, Tr::tr("Reload")},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
settings().writeSettings();
|
||||||
|
|
||||||
if (clickedButton == QMessageBox::Cancel)
|
if (clickedButton == QMessageBox::Cancel)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -45,8 +45,9 @@ def __closeInfoBarEntry__(leftButtonText):
|
|||||||
leftWidget = "leftWidget={%s}" % (toolButton % leftButtonText)
|
leftWidget = "leftWidget={%s}" % (toolButton % leftButtonText)
|
||||||
test.log("closing %s" % leftButtonText)
|
test.log("closing %s" % leftButtonText)
|
||||||
buttonObjStr = "{%s %s}" % (doNotShowAgain, leftWidget)
|
buttonObjStr = "{%s %s}" % (doNotShowAgain, leftWidget)
|
||||||
|
checkIfObjectExists(buttonObjStr, verboseOnFail=True)
|
||||||
clickButton(waitForObject(buttonObjStr))
|
clickButton(waitForObject(buttonObjStr))
|
||||||
waitFor('object.exists(buttonObjStr) == False', 2000)
|
checkIfObjectExists(buttonObjStr, False, 2000, True)
|
||||||
|
|
||||||
# additionalParameters must be a list or tuple of strings or None
|
# additionalParameters must be a list or tuple of strings or None
|
||||||
def startQC(additionalParameters=None, withPreparedSettingsPath=True, closeLinkToQt=True, cancelTour=True):
|
def startQC(additionalParameters=None, withPreparedSettingsPath=True, closeLinkToQt=True, cancelTour=True):
|
||||||
|
Reference in New Issue
Block a user