summaryrefslogtreecommitdiff
path: root/src/libs/utils/terminalcommand.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Terminal: Use QtcProcess to start terminal windowMarcus Tillmanns2023-03-211-7/+1
| | | | | | | | | | | Previously DesktopDevice::openTerminal used custom code to open a terminal window. This patch changes it to use QtcProcess with TerminalMode::On. This also removes the need for "openTerminal.py" on macOS. Change-Id: Iec978bdd19487ff8e59dcd88c35c2d01b0681022 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Utils: Use more FilePath in TerminalCommandhjk2023-02-081-8/+8
| | | | | | | Change-Id: Ide9a09f61f3b2c10378d90a4a907e1e37d7407df Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Utils: Remove 4.8 compatibility code for reading terminal settingshjk2023-02-081-23/+4
| | | | | | | 4.8 was released end of 2018 and the setting is not critical. Change-Id: I02856e98303debd3a1adc28d49b28c5d728ad553 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Drop unused headers [I-Z]Jarek Kobus2022-05-251-5/+5
| | | | | | | | | Round 2 - focus on sources. For classes with initial in range [I-Z]. Try to keep the same separators between different kind of headers. Change-Id: I8a7ab99bab8120ee72cda6433ee3dc6f260a4d76 Reviewed-by: hjk <hjk@qt.io>
* Utils: More forward declarations / drop unused headers [T-Z]Jarek Kobus2022-05-251-2/+2
| | | | | | | | | | | Round 1 - focus on headers. For classes with initial in range [T-Z]. Replace QT_FORWARD_DECLARE_CLASS with QT_BEGIN_NAMESPACE and QT_END_NAMESPACE and forward declare inside. Change-Id: I4ac3a8391e6167aa2db3973a9f94a45ac3c8ebd1 Reviewed-by: hjk <hjk@qt.io>
* Move TerminalCommand into a separate fileJarek Kobus2022-01-211-0/+186
This will ease the ConsoleProcess and QtcProcess unification. Change-Id: Idda9ad393d184088c3e3a734389761d7176bd0c0 Reviewed-by: hjk <hjk@qt.io>