Commit Graph

8660 Commits

Author SHA1 Message Date
Alessandro Portale
1e02f6bf98 Resuscitate the "legacy" Qt Quick Application wizard
Users still want to create new Qt Quick Application applications
targeting Qt 5 and with other build systems than cmake.

Fixes: QTCREATORBUG-28964
Change-Id: Ib87b7128f0b34eb4126ec771f324c70a960b2a03
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-21 18:42:21 +00:00
Haowei Hsu
440541da23 l10n(zh_TW): Fix translations of 'Toolchain'
* Toolchain: 工具鍊 -> 工具鏈

Change-Id: Ia58d3c58ec46169abfc51036131be5572e7c242e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-21 16:13:29 +00:00
Henning Gruendl
7af8c225d1 QmlDesigner: Expose objectName for Qt Insight
- Expose objectName in Property Editor
- Rearrange Annotation button in Component Section
- Fix enabled state of insight view
- Add reset of Property Editor when enabled state is toggled

Task-number: QDS-9355
Change-Id: I873994580d8135f97236b6a98462c513169ac8c1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-21 14:51:56 +00:00
Ali Kianian
b0c3377f1d QmlDesigner: Fix the crash caused by calling GlobalAnnotations
- Calling global annotations does nothing if we are not in the design
mode
- Related actions and buttons are blocked while we are not in the
design mode

Task-number: QDS-9729
Change-Id: Ib4d5e8c5adcbb080f42a2344cd76ce7c36532240
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-04-21 13:44:13 +00:00
Thomas Hartmann
94ab3edb37 QmlDesigner: Add .qsb files to project
Since they are compiled shaders I moved them to a separate filter.

Task-number: QDS-9718
Change-Id: I23346ef180419feabedd018ed0c79123f6a3d7f7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-04-21 13:25:26 +00:00
Christian Stenger
55d51e8b5e QmlJS: Improve QtQuick Controls completion
Fixes: QTCREATORBUG-28648
Change-Id: I14c402c8a486d5afa7ee500b2d8a06951540e1bd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-04-21 09:16:40 +00:00
David Schulz
28d1d3ffe1 Debugger: support piping the python dumper to cdb
Fixes: QTCREATORBUG-29000
Change-Id: I7454ded07829d06a33dc1b2ec95a838ca977ca95
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-04-20 12:51:22 +00:00
Ulf Hermann
1c60f57340 C++ editor: Make generated Q_PROPERTYs FINAL by default
It's bad style to omit the FINAL because such properties can be
shadowed, causing problems in QML.

Change-Id: I9083c69128f6335f584f0a1d28f1fe1e54a02eaf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-04-20 07:44:42 +00:00
Henning Gruendl
062c774541 QmlDesigner: Update workspace management
- Add QML attribute displayName to the workspace presets
- Add workspace order
- Replace QStringList workspaces with proper model in order to use text
  and value role
- Clean up workspace management, remove redundant functions, move
  warning messages out of backend
- Utilizing expected_str to forward error message
- Change output format of generated XML workspace files
- Remove workspace combo box from C++ based toolbar

Task-number: QDS-9184
Change-Id: I19455db75e6b07aea9342eb5276c6191a1456a2d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 14:15:27 +00:00
Henning Gruendl
f0b2cc0836 QmlDesigner: Add insight tracker linking
- Add proper insight tracker library linking to the QtDS CMake template.
- Add CMake option LINK_INSIGHT to turn insight linking off
- Add check for Qt version 6.5 and insight configuration available

Task-number: QDS-9354
Change-Id: I606364743cce61c281d3faae929df50ba95892b7
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 14:14:51 +00:00
Eike Ziller
a353e9fde1 Markdown: Reuse Markdown highlighter from change log viewer
Change-Id: Ief1b0c135a34bfd5e9b5220e9fbf93f281d8e95a
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-04-19 11:48:15 +00:00
Eike Ziller
b5d7b24733 Add wizard for markdown file
Fixes: QTCREATORBUG-29056
Change-Id: Ia2ba9aef86aab3e156e3c36d8e28c9f37d7da8b3
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-19 09:28:26 +00:00
Henning Gruendl
17feb6c352 QmlDesigner: Add insight plugin
Move insight plugin from qtquickdesigner repository to this in order
for it to be available in all QtDS editions.

Task-number: QDS-9626
Change-Id: I42ac804636d59930c4534df951455f864282986b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-19 06:44:13 +00:00
Ali Kianian
bcb89dc900 QmlDesigner: Enable mouse click events for the crumble bread tooltips
The tooltip of a crumble bread will behave the same as the crumble
bread itself when clicked.

Task-number: QDS-9572
Change-Id: I7bd29887a08a0e6fea2732198a92ca75ebce0bd2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-04-19 06:40:35 +00:00
Mahmoud Badri
fcf3370202 QmlDesigner: Prevent scrolling when a section's context menu is open
Fixes: QDS-9619
Change-Id: Ic278cda058b179bfed08b2ce6e2def7ca9131d69
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-04-18 10:41:25 +00:00
Tim Jenssen
a73358b3aa Merge remote-tracking branch 'origin/10.0' into qds/dev
Change-Id: I9520e55c8b7248afb297168395d7099829ed42c7
2023-04-17 20:59:36 +02:00
Eike Ziller
2bc37de42b Merge remote-tracking branch 'origin/10.0'
Conflicts:
	src/plugins/python/pipsupport.cpp
	src/plugins/qtsupport/exampleslistmodel.cpp
	src/plugins/qtsupport/examplesparser.cpp
	tests/auto/examples/tst_examples.cpp

Change-Id: I00273622423fa99d41621969f6ecbbdaa0e18664
2023-04-13 15:59:08 +02:00
Haowei Hsu
5089e8400e l10n(zh_TW): Fix translations of 'Enable/Disable'
* Enable: 開啟,用,使用 -> 啟用
* Disable: 關閉,停用,禁用 -> 停用

Change-Id: I18ec9d78ba1c104f5016e7f6b3c1e21a2fdc8e33
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-04-12 14:28:29 +00:00
Eike Ziller
7b17d9cfbd German translation: QmakeProjectManager
Change-Id: I24c8de5f0f6c1bc02669b48a6023f6bc0775a403
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-04-11 12:05:33 +00:00
Eike Ziller
b18254f463 German translation: QmlJS(Editor|Tools)
Change-Id: I2fb3dba6fe1fc43f41c4461fac44601300d38bdd
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-04-11 12:05:11 +00:00
Miikka Heikkinen
e82898a184 QmlDesigner: Implement basic lights baking support
It is expected that user manually specifies all necessary light baking
related properties, including exposing them from subcomponents if
needed.

qlmdenoiser that is used to denoise generated light maps is a third
party application. It can be found here:
https://git.qt.io/laagocs/qlmdenoiser

Fixes: QDS-9403
Change-Id: Ida6fc142440b9ffa8cc97d578f85d8b76cb4b43f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-04-06 15:19:23 +00:00
Thomas Hartmann
55deedb1a7 QmlDesigner: Support Qt 6.5 in wizards
Task-number: QDS-9543
Change-Id: I6999843cac01e7402bf30e5b5d9476a03330b796
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-06 08:15:45 +00:00
Thomas Hartmann
ae8ec8f08e QmlDesigner: Update MCU template to Qt 6 imports
Change-Id: Icd43a5b60b044516da396797363bc7828c1fd7c6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
2023-04-05 17:40:44 +00:00
Ali Kianian
4dfe3d31eb QmlDesigner: Use icon-fonts as the source of backspace icon
The backspace icon used to be drawn by painter lines, and this method
is replaced by an icon-font symbol.

Task-number: QDS-9513
Change-Id: Iaa19f286bc961d71ddc182bd2c431bc024c7aa79
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-05 15:18:38 +00:00
Christian Stenger
66f939c758 Wizard: Fix generated project file
Change-Id: Ibef37ad8ecc696a35766bbda94a113e747d69771
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-05 14:25:34 +00:00
Christian Stenger
0bb8cd2d68 AutoTest: Tweak wizard a bit
Provide a version for creating Boost tests using the
shared library approach.
Add second variant for creating Boost tests.
The former version is the header only variant and can
not get extended with further cpp files without
modifying project files and the existing cpp file.

Task-number: QTCREATORBUG-28846
Change-Id: Ie7ecc339dcbe11804ce19bdba20e8db36b893a50
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-05 13:52:05 +00:00
Marcus Tillmanns
cb4074713f Dumpers: Fix std::string for clang >= 15
libc++ has changed the layout of std::string again.
(see https://reviews.llvm.org/D128285)

This patch adds checks to differentiate between the two versions.

Fixes: QTCREATORBUG-28806
Change-Id: Ic21c488cf1c173120beddf414ca39040dfaba096
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
2023-04-05 09:16:45 +00:00
Alessandro Portale
c53c9592fa CMakeProject templates/examples: Fix the install line
The installation command needs to define
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}

Fixes: QTCREATORBUG-28999
Change-Id: If3f6ed15ef248eb07628bdc9fa4d11a678839a27
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-04-05 08:47:20 +00:00
hjk
de546ff3ec Debugger: Support piping dumpers into gdb
This allows using dumpers available on the host being used from
remotely running gdb. No lldb/cdb yet.

Task-number: QTCREATORBUG-29000
Task-number: QTCREATORBUG-16246
Change-Id: Ib1a40a8c0284dcf41e8800d70ca3e632c699b2fa
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-04-05 06:26:11 +00:00
Thomas Hartmann
0bc362598e QmlDesigner: Bump QDS version in project templates
Change-Id: Iff3570925fcfccb0e907fd2406b0c4474a355796
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-04-04 14:57:31 +00:00
Eike Ziller
b635e99086 Merge remote-tracking branch 'origin/10.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/libs/utils/multitextcursor.cpp

Change-Id: I54b00ea5e6953078beed7673b5de31114f983bfa
2023-03-31 15:58:09 +02:00
Samuel Ghinet
9c7dcea60b QmlDesigner: Fix new folders (same name) not automatically expanding
When a user created a new folder with the same name as an existing
folder in that same location, the folder was not automatically
expanded.

Task-number: QDS-8866
Change-Id: I82ec4303a30d8f810417deea68b487e1b55833d5
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-31 13:44:14 +00:00
Mahmoud Badri
81df14a2ed QmlDesigner: Fix missing import from ConfirmDeleteFolderDialog
Change-Id: Ifd3970dab52f2e09c42738354759e188fe39d1ca
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-31 09:46:12 +00:00
Mahmoud Badri
515b2fb7b8 QmlDesigner: Fix assets dialogs wrong background color
Fixes: QDS-9600
Change-Id: I85faeecbc58561892af3001537fb1aafad6af06c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-31 07:43:03 +00:00
Samuel Ghinet
dbf91a8f03 QmlDesigner: Fix Material download not showing any progress
Also, now delayed the finish part by 200ms so that 100% progress would
be visible to the user.

Task-number: QDS-9562
Change-Id: Ie8f87ff70770b206256d4dbf0c08227723067eeb
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-31 07:26:45 +00:00
Eike Ziller
adf42f35d0 German translation: FakeVim, Macros
Change-Id: I04ec3f8dc57ebd85f403b3a3d367780b3e074b12
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-03-31 07:18:44 +00:00
Christian Stenger
7eafcf3259 AutoTest: Fix generated pro file
Change-Id: I2b10ad89e32cbf118823c32bf9561ba9d7a8819f
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-03-31 06:09:38 +00:00
Tim Jenssen
adb664f521 Merge remote-tracking branch 'origin/qds/dev'
Conflicts: src/libs/utils/filepath.cpp
  src/plugins/qmldesigner/qmldesignerexternaldependencies.cpp
  src/plugins/qmlprojectmanager/cmakegen/generatecmakelists.cpp
  tests/unit/unittest/CMakeLists.txt

Change-Id: I017a6075db41a5233487ac855ffe23de2b2bb0ee
2023-03-30 13:30:42 +00:00
Samuel Ghinet
129153e663 QmlDesigner: Allow user to download multiple textures at once
Task-number: QDS-9224
Change-Id: Ia1ec8f8b0951e8dd31d47f64509d39137cdeaa41
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-30 12:26:36 +00:00
Ali Kianian
5b28748554 QmlDesigner: Consider suffix for Qml ComboBox
Task-number: QDS-9489
Change-Id: I77b883167db24deea44fa465c297c990a0d56a71
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-30 09:16:48 +00:00
Samuel Ghinet
b9b2121ae1 QmlDesigner: Show a placeholder text in the Content Library when empty
When QDS starts for the first time, and there is no internet connection
(to download the materials bundle and the textures bundle), tell the
user that the problem might be the internet connection.

Task-number: QDS-9539
Change-Id: I81311bf00c830b76019e0edb53eeb980362a1339
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-03-30 09:12:28 +00:00
Ali Kianian
3f5fbfc25b QmlDesigner: Fix the text overlap for TopLevelComboBox
Task-number: QDS-9464
Change-Id: I72e6e855c0b7ebeb6893fe9a4f463b6ef6197248
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-30 07:37:05 +00:00
Mahmoud Badri
0b79db5c17 QmlDesigner: Close section's context-menu on view focus out
When clicking outside any view that has sections and a section's
context-menu is visible, it is now closed.

Fixes: QDS-9564
Change-Id: I73cd3a9754c5a18360427525a2a943c2c549e83f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-30 07:31:24 +00:00
Tim Jenssen
26365f34d4 Merge remote-tracking branch 'origin/10.0' into qds/dev
Change-Id: Idd5eac05f3506387e5f1884e22cc2c902032bbe1
2023-03-29 13:42:04 +02:00
Eike Ziller
b36287731e Merge remote-tracking branch 'origin/10.0'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	src/plugins/remotelinux/genericlinuxdeviceconfigurationwidget.cpp
	src/tools/perfparser

Change-Id: Ie5643100e0eb00e0933359dce320169b876f5634
2023-03-29 12:21:50 +02:00
Brook Cronin
17cb071012 QmlDesigner: "add small backspace icon"
Change-Id: Id5e23b536c7e4a0eb3778a66ec003ba4eb7c1e77
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-03-28 14:29:40 +00:00
Mahmoud Badri
4612fb20b5 QmlDesigner: Update assets context menu based on scene env state
Also remove signals emitted from the assets widget to the view since
the widget now has a reference to the view.

Fixes: QDS-9467
Change-Id: I80a2aef4c35aeeb344cc71c890664e1645d4334a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-03-28 10:12:20 +00:00
Haowei Hsu
9af26dd086 l10n(zh_TW): Fix translations of 'Command/Argument'
* Command: 指令 -> 命令
* Argument: 參數 -> 引數

Change-Id: I5d9b52cb15b81b668823c73de8a8ef7d351248fd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Franklin Weng <franklin@kde.org>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-28 07:35:32 +00:00
Haowei Hsu
70a00a541a l10n(zh_TW): Fix translations of 'Signal/Slot'
* Signal: 信號 -> 訊號
* Slot: 信號槽 -> 槽

Change-Id: I519bc563def7ea4fad90e6938bb54dde0383ba87
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Yi-Jyun Pan <pan93412@gmail.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-28 07:34:53 +00:00
Marcus Tillmanns
5f65dc84f3 Terminal: Adjust default colors
Dark Terminal theme now matches normal background

Change-Id: Icdb943e78995245d7e0e55bb11754935333953dd
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-03-28 04:37:27 +00:00