summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QmlDesigner: Add support for object propertiesqds/v3.2.0qds-3.2Thomas Hartmann2022-03-251-0/+3
| | | | | | | | | property QtObject: myObject: QtObject {} Change-Id: I1f1428bdb383c31fd2976bd7ac69087da54d1044 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix TransitionEditor for cpp typesThomas Hartmann2022-03-251-0/+2
| | | | | | | Task-number: QDS-6537 Change-Id: I800dbba7e5ac67908ae9ff7b1717910472cf4c81 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add missing changelog itemEike Ziller2022-03-251-0/+2
| | | | | | | Change-Id: I790e2482a8b1637ebcc2f13a1cdeca9e5925814e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* ClangFormat: Adapt to LLVM 15 API changeChristian Kandeler2022-03-251-1/+4
| | | | | | | | Task-number: QTCREATORBUG-27170 Change-Id: I3676792da351f52199b1bf303c596e581469d7a5 Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TextEditor: Make sure cursor is visible after refactoringChristian Kandeler2022-03-251-1/+7
| | | | | | | Fixes: QTCREATORBUG-27210 Change-Id: I612f6e91188730d6abdfef3f2fe8a286fcec4831 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* QmlDesigner: Update MCUs metadata for MCUs 2.1Aleksei German2022-03-252-1/+231
| | | | | | | Task-number: QDS-6535 Change-Id: Ibe9914ddfc48823c8fc4c2b3bc48a06cf6e936bc Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix puppet crash with DelegateModelThomas Hartmann2022-03-241-5/+13
| | | | | Change-Id: Ibe42b87b6364c78157c54504f00354bff8bb4b23 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Add invalid ids to QmlJSCheckThomas Hartmann2022-03-242-4/+5
| | | | | | | Also improving document message for exceptions. Change-Id: I7878987ce73f5d4891ced3c702c7804b25b07eb3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Don't generate new id for node if already setMiikka Heikkinen2022-03-241-1/+2
| | | | | | | | | Source template may already set the id for the generated node, in which case we don't want to override it. Fixes: QDS-6530 Change-Id: I22b86e6bb744372ad07924f440a6ecd0dad54095 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Debugger: Fix MSVC warningOrgad Shaneh2022-03-241-1/+1
| | | | | | | signed/unsigned comparison. Change-Id: I5fab0ccadbeb8c034410169bb6a3b4439e3f7516 Reviewed-by: hjk <hjk@qt.io>
* QDS New Project Dialog fix: recents should include all project propertiesSamuel Ghinet2022-03-2415-801/+395
| | | | | | | | | | | | | | | | | | | | | | Previously, only the wizard category, name, and size were saved for recent presets. Solved the problem by using the same kind of store (and struct type) for Recent presets as for User/Custom presets - this way we can save all properties. Other changes introduced: * After user creates custom preset C, then creates a project from it (resulting in the creation of a Recent preset R), if the user then deletes custom preset C, then the recent preset R will remain - previously, all recents of the custom preset were deleted * Now we can have multiple recent presets with the same name and size - so, no distinguishing feature inside the Presets view. User will have to look at Details and Styles panes to view differences. * Replaced .ini format with *.json file format. Change-Id: I500e9ac9378d4b9a393c3b0833ef6a34f785585c Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlDesigner: Fix add new state plus button centering on all sizesMiikka Heikkinen2022-03-241-1/+1
| | | | | | | | | Take the font size into account when centering the plus sign so it centers well at all button heights. Fixes: QDS-6529 Change-Id: Ie221fd2adb0fa19ad6fee1120ea33e702240960c Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Bump version to 7.0.1Eike Ziller2022-03-243-6/+6
| | | | | Change-Id: I73f23e53629e7c8ed39ba06a72b5baff1714e784 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Prevent showing preview tooltip when button is pressedMiikka Heikkinen2022-03-244-6/+30
| | | | | | | | | | | | On some platforms, drag will stop deliving mouse events to MouseArea. Disallowed showing the tooltip when a mouse button is pressed. Fixes: QDS-6481 Change-Id: I8777d57be1bfef8470571027d9257d3a10eb5a7a Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix font preview tooltip imageMiikka Heikkinen2022-03-248-27/+51
| | | | | | | | | | | | | | | | The preview tooltip was recently reduced in size, but font previews were still being rendered the old size and scaled down, degrading image quality. The new default size is bit too small to render the sample text of fonts nicely, so added an option to set unscaled image to the tooltip, allowing us to use twice as wide preview images for fonts. Fixes: QDS-6486 Change-Id: Ieaabfbea11e47509de7cd6aed93464d8595ea541 Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* QmlDesigner: Reset puppet when ParticleShape3D is reparentedMiikka Heikkinen2022-03-241-3/+5
| | | | | | | | | | This is a workaround to QtQuick3D bug that only updates the parent node of the shape at componentComplete. Fixes: QDS-6473 Change-Id: Ice8afdc81b35eb40c07889bb1eebcdb70e68c17d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Squish: Fix remove kits testChristian Stenger2022-03-242-5/+5
| | | | | | | | | cmake is automatically running when re-opening a project and creates a temporary kit which was different when using qmake. Switch back to qmake and enhance later to support cmake as well. Change-Id: Id3e1dc23c828a6e2af5454863e1349d9866dfa38 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Squish: Fix project wizard testChristian Stenger2022-03-243-7/+15
| | | | | Change-Id: Iabf4463ac535cab025db3ee808e61f5fe7054095 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* QmlProjectRunConfiguration: Do not enable DebugTranslation by defaultThomas Hartmann2022-03-231-2/+0
| | | | | | | | | | | Do not enable this service by default since it breaks the profiler and debugger and it is not required. This does not break language switching. Task-number: QDS-6523 Change-Id: Ib55179674c59034cdf1ece135a3f9a2e8cf08e86 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Squish: Fix local git testChristian Stenger2022-03-231-1/+1
| | | | | | | | The test was written for a qmake based project. Explicitly use one as default build system has changed. Change-Id: Iccf5761915708dd66ba73aeda25ca6b61a8c0b99 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Squish: Port tst_WELP03 to Python3Robert Löhning2022-03-231-5/+5
| | | | | | Change-Id: I997fb8cc44fab986b5f4e0aa6e6f1f92fccfd54a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ++year in copyright templateDavid Schulz2022-03-231-1/+1
| | | | | Change-Id: I6c390812559826645f6c04b2c52fdad015765223 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Force QtQuick.Studio.x components to use version 1.0Thomas Hartmann2022-03-231-0/+6
| | | | | | | | | | With the latest chages and switching to cmake the version is actually 6.x, but 1.0 is also supported and this will keep projects backwards compatible. Change-Id: Id3d77b323f008ca20bd276859d5a4a573663120c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* LauncherInterface: Wait for graceful finish of process launcherJarek Kobus2022-03-236-47/+16
| | | | | | | | | | | | | | | | | | Give process launcher a chance to finish its processes gracefully before we finish process launcher's process in Creator. Otherwise, when Creator's process reaper kills the process launcher's process while the process launcher is still reaping its processes, the process launcher may leave zombies. Instantiate the ProcessReaper inside ProcessReaper::reap(), otherwise its destructor won't run at all inside process launcher. Reverts e45e16d904f704920bd457fdf3302f3ae7061459 Fixes: QTCREATORBUG-27118 Change-Id: I00290cda05538b5a7ecbeb08240d1e3772d43d62 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* qml2puppet: disable multilanguage if Qt version < 6.2.1Tim Jenssen2022-03-231-1/+1
| | | | | Change-Id: I8dc7114ac550e8cc0d5a1f0e5f5524145aa158a3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Remove globalBaseUrlThomas Hartmann2022-03-234-18/+0
| | | | | | | | | It is not used anymore. Change-Id: I1d436888b5a93a187065cd8276b55a233a0f374c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Remove finishedNotifyThomas Hartmann2022-03-231-10/+1
| | | | | | | | | It is not used anymore. Change-Id: I706a973c55c22211457bac01534a5e7b59a40b25 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Do not allow baseState as idThomas Hartmann2022-03-231-1/+2
| | | | | | | Using this as id will lead to bugs. Change-Id: I76997a31e290e0cd67688fecdb1e9521c88481da Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* Squish: Update Welcome page testChristian Stenger2022-03-232-11/+11
| | | | | Change-Id: I447addcba50e932886a8ed5e730a1eab663a2224 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* qds: disable crashpad with universal buildsTim Jenssen2022-03-221-1/+3
| | | | | Change-Id: Iafb1264bfc6b669fd327b052d39ae97c12e329b4 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix DirectoryFontLoaderThomas Hartmann2022-03-221-1/+1
| | | | | | | It was not using the new folder structure. Change-Id: I9ab87ac32dfce203defe7c914f3091121bb6f549 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add placeholder functionalityHenning Gruendl2022-03-221-0/+23
| | | | | | | Add placeholder functionality to StudioControls TextField Change-Id: I2a6659a40effbc04c42d80a218c0bd70e0b3343f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix WindowSpecifics for Qt6Henning Gruendl2022-03-222-0/+461
| | | | | | | | | | | | * Duplicate WindowSpecifics.qml and move it to QtQuick referencing the original from QtQuick/Window as the import changed in Qt6 * Add missing properties to the original specifics: position, minimumWidth, minimumHeight, maximumWidth, maximumHeight, contentOrientation, flags, modality, visibility Change-Id: I542f94b153172d4c7b5a2c62ad0abdc53b8bd1fd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Parse .metainfo files from the share folderThomas Hartmann2022-03-221-0/+43
| | | | | | | | | We have some plugins that essentially only contain a .metainfo file. the possibility to drop .metainfo files into that folder simplifies things. In QDS 3.2 this will be used for the particle library. Change-Id: I0c4bb7f66bb8eaa3f806ec9d34c6991d08ef5a5f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QDS New Project dialog: Rename NewProjectView.qml to PresetView.qmlSamuel Ghinet2022-03-223-2/+2
| | | | | | Change-Id: I5f129a53404bfb80e3e11f9d73754674f3693952 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Qds Project Wizard fix: cannot select styleSamuel Ghinet2022-03-221-8/+3
| | | | | | | | | This bug was caused by QDS-5741: Use hover states for interactive items Task-number: QDS-6470 Change-Id: Ice12374257645e39a6c488c30ab584636ba52e9a Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix double-clicking in Projects view to open file in extra windowEike Ziller2022-03-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | When you have an external editor window open (Window > Open in New Window): - make sure that the editor has focus in the main window - switch to the external window - double-click a file in Projects, Open Documents, or File System view The file is supposed to open in the external window. The problem is that clicking into e.g. Projects view activates the main window, which changes focus, and the current editor. Something changed in the event order in Qt (also Qt 5), so the existing workaround that delayed setting the current editor view in that case by just one event loop cycle doesn't work anymore. Delay be the double- click interval instead, so the double-click can be processed before the main window's editor view is made current. Fixes: QTCREATORBUG-26773 Change-Id: I56efd5a50a8bb986563c8c15d340756dace06494 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix itemlibrary template generationThomas Hartmann2022-03-221-1/+1
| | | | | | | | | | | Since this is likely executed in a transaction and newQmlObjectNode.setId() uses refactoring on the QML code this is not working as expected. Setting the id without any refactoring, that triggers changes of the QML code, is save to be used. Change-Id: I5d29689eff34827de9e451f433d9a4b42569a64e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Android: fix logcat retrieval on pre Android NougatAssam Boudjelthia2022-03-221-11/+8
| | | | | | | | | | | | | Logcat on pre Android Nougat (API <= 23) was broken because the the returned output from the adb command had lots of null characters \u0000 in the string, and thus the comparison against the deployed package name was failing and the pid was always -1. This makes sure to remove any null characters before the comparison and simplifies the code a bit. Task-number: QTBUG-101673 Fixes: QTCREATORBUG-26732 Change-Id: I3f185eceab376dbb0f4f11cf628b71e058ee5583 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CppEditor: Do not crash on doxygen comment creationChristian Kandeler2022-03-221-1/+3
| | | | | | | | | ... for templates that were not parsed entirely successfully. Amends a437539096. Fixes: QTCREATORBUG-27207 Change-Id: I4d7935b30cac9ce14f442977d07417a343ecae11 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Remove unrequired event filterv7.0.0Thomas Hartmann2022-03-212-30/+0
| | | | | | | | | | | | | | This event filter was introduced because other wise actions in QML like CTRL+C or CTRL+UP were intercepted by QWidget::QAction. With Qt 6.2.x this workaround is not required anymore. Change-Id: I43a84ae13cca58840afacabe85c36c5f2235cf39 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Block more importsThomas Hartmann2022-03-211-1/+8
| | | | | Change-Id: I839fb320df61bad0a39ff98e1274201f5a99a8ed Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Qds: New Project dialog in new Welcome screen should close on EscSamuel Ghinet2022-03-212-0/+15
| | | | | | | Task-number: QDS-5697 Change-Id: I26f2e65bbb98b15b3867e0774a1bf8f78409b430 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* ClangCodeModel: Add some more timing debug informationCristian Adam2022-03-211-7/+28
| | | | | | | | | | | | | | By setting QT_LOGGING_RULES=qtc.clangcodemodel.clangd.timing=true I can get values like: qtc.clangcodemodel.clangd.timing: highlighting: Start to end: 2953 ms qtc.clangcodemodel.clangd.timing: ClangdCompletionAssistProcessor took: 7343 ms The first tells you how long Creator took to turn clangd's semantic tokens into full highlighting info, and the second how long it took for Ctrl+Space. Change-Id: I99bd04c2889bb7da98c04537eab06d6ed6117167 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Add information about visualization of emitters and attractorsMats Honkamaa2022-03-212-3/+10
| | | | | | | | Task-number: QDS-6370 Change-Id: I7c9e2a03b025d16769ed7cc4f3da85fe91193321 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Add missing StudioControl in qmldirHenning Gruendl2022-03-211-0/+1
| | | | | | | Change-Id: I5bbe66b306b0a947256533050a98fc0e4671774f Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Squish: Don't configure projects on Qt4 anymoreRobert Löhning2022-03-182-10/+5
| | | | | | Change-Id: Ib09fc44323e09fa4d6a5d2428c35b5b6afe08f24 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Fix qml indentation testChristian Stenger2022-03-181-1/+1
| | | | | | | Adapt to default build system change. Change-Id: I70b5869871d4fbb612d4b6a28beb5e73c2d8d88e Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* Squish: Fix debugging console app testChristian Stenger2022-03-182-5/+7
| | | | | Change-Id: I752dab65948952081752a805018cfc3b01193855 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
* RemoteLinux: Allow open remote shell from Windows as wellChristian Stenger2022-03-181-5/+3
| | | | | | | | | Was originally restricted to UNIX hosts, but works for Windows as well. Change-Id: I233ec73760134256723a927de5e9e6cc9aefa8ac Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: hjk <hjk@qt.io>