aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Make LLDB work a bit with remote Linuxv4.12.0-rc1hjk2020-04-021-12/+44
| | | | | | | | | | The device on remote side *has* to configure (/usr/bin/)lldb-server as "GDB server executable" in the device settings. A real gdbserver does not work. Change-Id: I045ffb60a824e06ee683d8bdfffeb480a580af5f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Debugger: Start lldb-server instead of gdbserverhjk2020-04-021-7/+15
| | | | | | | | | | ... when the debug server looks like lldb-sever. Also use suitable arguments. Needed for setting up device connection later. Change-Id: Ie4130be7881e12d460ab5116b0018916d47ed012 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* RemoteLinux/Debugger: Pass right platform string to LLDBhjk2020-04-024-0/+8
| | | | | | | Needed for setting up device connection later. Change-Id: Ib794a8bf093714935b9a3ed3f290d46550763d68 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlDesigner: Skip duplicate assets imported simultaneouslyMiikka Heikkinen2020-04-021-0/+5
| | | | | | | | | | | | | Since asset folder is generated from the asset filename without suffix, it is possible to select multiple assets with same filename but different suffix into the import, and they would import into the same asset directory, causing confusion and potentially broken import. Fixed by skipping duplicate assets within the same import. Change-Id: Ied825f32309b4321de7fa471cbd5ff1041e03072 Fixes: QDS-1239 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Doc: Edit info about Qt Quick 3D View typeLeena Miettinen2020-04-023-1/+12
| | | | | | | Add screenshots. Change-Id: I06cb35deabb7c4a2bb6fda3b47dfc3ee49be1b32 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Use constants for flow block sizeThomas Hartmann2020-04-021-5/+7
| | | | | | Change-Id: I0ba4fbc89e7fc6bf9ef1266b5cc4a19bb7837b12 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix bounding boxes in flow editorThomas Hartmann2020-04-021-64/+82
| | | | | | | | The calculation of the bounding boxes did not take the new items into account. The new implementation now shares code with the painting. Change-Id: If257dbf4a36e925d71c109e245b7c87c7a5c4017 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Fix link to documentation on writing highlighting filesEike Ziller2020-04-021-2/+2
| | | | | Change-Id: I374219b03d94279ca9902567294ff4e49b8ad17a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Fix crash in puppet when component has errorsMiikka Heikkinen2020-04-021-5/+7
| | | | | | | | | | Check component creation errors earlier to avoid crash. This allows puppet to notify creator about the problem, so invalid components can be properly highlighted in navigator. Change-Id: I059a5be04c4e509a38f6d47daa97e0da36c333ae Fixes: QDS-1887 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Squish: Don't close files before exiting CreatorRobert Loehning2020-04-027-16/+1
| | | | | | | | It's not needed and it's fragile since the menu item is disabled at times. Change-Id: I0c72c5072374462d99740e7eaa752f91e019c6ee Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Fix the Qt Design Studio Manual sidebar TOCLeena Miettinen2020-04-021-1/+1
| | | | | | Fixes: QDS-1889 Change-Id: Ie74a1af668457c18a2ec167f934f0de796251816 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Add screenshot of Qt Quick 3D Model type propertiesLeena Miettinen2020-04-023-1/+3
| | | | | | | | Also update screenshot of Qt Quick 3D Components section in Library view QML Types tab. Change-Id: Id70c5cb8400c81473eb1d2e3a9c8e41cd53db3d9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Squish: Don't use underscore in project nameRobert Loehning2020-04-021-1/+1
| | | | | | | | We'd have to escape it so openDocument() can find it in NavigationTreeView. Change-Id: I0be07874fdb6b8fba7a3a2e01e2927a79a47e358 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: fix a rarely happen crashTim Jenssen2020-04-024-5/+13
| | | | | | | | | It was difficult to reproduce, but happen regular while importing something from design tools. Task-number: QTCREATORBUG-23707 Change-Id: I93e8c8cf9d44ecf20f5754ae48a0599f056a8610 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* ProjectExplorer: Fix copy-paste error in AbstractProcessStepChristian Kandeler2020-04-021-1/+1
| | | | | Change-Id: Id345f3c2c51d4ac4b773113c7e22533ebcbcfaf7 Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Add highlight color to edit 3D view toolbar buttonsMiikka Heikkinen2020-04-021-8/+8
| | | | | | Task-number: QDS-1752 Change-Id: Ice390cd1c53f26b48aca5789c2a1c7736ffa990a Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Doc: Update guidelines for writing Qt Creator documentationLeena Miettinen2020-04-023-225/+283
| | | | | | | | | - Include information about writing Qt Design Studio Manual from its README file - Update information about building the docs Change-Id: Iaaff47ca3f07c859aa726e7e7f571042a8aadd48 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Describe the Restrict to Threads buttonLeena Miettinen2020-04-023-0/+4
| | | | | | | | Update screenshots. Task-number: QTCREATORBUG-23364 Change-Id: I8e79ad4682024862a05f4529a828464125bd639b Reviewed-by: hjk <hjk@qt.io>
* RemoteLinux: Rename some gdbServer variable to debugServerhjk2020-04-021-3/+3
| | | | | | | It could be lldb-server at some time, too. Change-Id: I5a8210e05189902d1cef9b41e14df0b585bcb86b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Rename some gdbserver variable to debugServerhjk2020-04-021-9/+9
| | | | | | | | It could be lldb-server at some time, too. Change-Id: Iba4bd0d073ba74e10dd579f0115570ccd4189da3 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Fix build progress bar updateViacheslav Tertychnyi2020-04-011-1/+1
| | | | | | | | | When using CMake, if the build queue includes two or more steps (Rebuild or Build All), the build progress bar did not update properly after completing the first step. Change-Id: I1a72e9e8494233a7dca73bdb6c1b51717af1d53d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QbsProjectManager: Ensure project data update on target switchChristian Kandeler2020-04-011-0/+10
| | | | | | | | ... if necessary. Fixes: QTCREATORBUG-23767 Change-Id: I9a79eebcab348fe0b37d76b31dcbf088d56fc3ca Reviewed-by: hjk <hjk@qt.io>
* ProWriter: Fix removeVarValues() functionChristian Kandeler2020-04-011-2/+7
| | | | | | | | | | | | | This function wrongly assumed that there is always an empty line between variable assignments. For instance, When renaming a header file in a project file where HEADERS follows right after SOURCES, the function would erroneously claim that it removed the header file from the SOURCES segment, so follow-up code added the name name there instead of to HEADERS. Fixes: QTCREATORBUG-23720 Change-Id: I55288b22fe16fa0593b277d8808ab5d64ba90549 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Update info about debuggingLeena Miettinen2020-04-012-1/+9
| | | | | | | | | - Describe GDB server init and reset command fields - Update screenshot - Describe hiding and showing columns in views Change-Id: Ifdbec54f7f9f5c07e82c9c6915cd267a031c0c25 Reviewed-by: hjk <hjk@qt.io>
* Doc: Describe the command to run Cppcheck on selected filesLeena Miettinen2020-04-013-8/+23
| | | | | | | Task-number: QTCREATORBUG-23364 Change-Id: If21f647e5d7bbafae1d14b489aadd57d423cc663 Reviewed-by: Sergey Morozov <dev@gres.biz> Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Rename signalThomas Hartmann2020-04-012-11/+11
| | | | | | | | The name clicked is missleading. Change-Id: I2782d1af5c0bd8a58c24729f043291b482cec6a8 Reviewed-by: Aleksei German <aleksei.german@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* fix formattingBrook Cronin2020-04-011-64/+64
| | | | | Change-Id: Iaf49d5fa3239209e68f30762cc565fe3833b571e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* add new icon font, update mapping in constantsBrook Cronin2020-04-012-48/+64
| | | | | Change-Id: Idbaa82a22ac317fc9089f76fc5de506e3f4bba5c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Describe managing Heob settings profilesLeena Miettinen2020-04-012-4/+10
| | | | | | | Task-number: QTCREATORBUG-23364 Change-Id: I2ebb9291f36c593074f58c701eee1e434710007b Reviewed-by: Hannes Domani <ssbssa@yahoo.de> Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Fix tooltipThomas Hartmann2020-03-311-1/+1
| | | | | | Task-number: QTCREATORBUG-23786 Change-Id: Ia87f6c711c8fb46dd8ac74802e224a5e7382aa46 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Exit puppet asynchronously in case of failed icon renderMiikka Heikkinen2020-03-311-2/+2
| | | | | | | | | The application event loop is not yet active at setup time, so just calling qGuiApp->quit() directly doesn't actually exit the application. Change-Id: Iccae4dd59d92b593205c2057b189774f827ffcda Fixes: QDS-1875 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* TreeScanner: Do not trigger signals in destructorTobias Hunger2020-03-311-0/+2
| | | | | | | | | | | | Do not trigger signals in the destructor of the treescanner. The object is not prepared to handle anyone reacting to that signal anymore. This fixes the crash described in QTCREATORBUG-23781. Task-number: QTCREATORBUG-23781 Change-Id: Ia00173f8734461f1d484fa6f7a86f3a45f970e3f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Colorize light gizmosMiikka Heikkinen2020-03-319-22/+135
| | | | | | | | | | | | Light gizmo icons and models are now colored based on the light color. Image provider is used instead of simpler ColorOverlay component, as ColorOverlay doesn't properly handle transparency when rendered offscreen in puppet. Change-Id: If6af915bca9bea2cb48ac23ac6c5ba46dc150e3b Fixes: QDS-1733 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Update the MCU options screenshotVenugopal Shivashankar2020-03-313-31/+35
| | | | | | | | | | In addition, replaced the explicit list of hardware platforms with a link to the Qt for MCUs documentation. Task-numger: QTCREATORBUG-23764 Change-Id: I11b7a35a8307e3dbe832a77b43213c5049b73793 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: fix some unused warningsTim Jenssen2020-03-303-0/+5
| | | | | Change-Id: I4d4cd211eaa90d2cde9135f2ca80d75ea1e30fca Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Docs: update Android docs to reflect the latest changesAssam Boudjelthia2020-03-3018-186/+321
| | | | | | | | | | | | Docs affected: * Connecting Android Devices * Deploying Applications to Android Devices * Specifying Run Settings for Android Devices Task-number: QTBUG-80390 Change-Id: I17fecd4d947644d8cc6071af68addbc2199ad82e Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update change log for 4.12Eike Ziller2020-03-301-0/+14
| | | | | Change-Id: I54a9e875c4b80bab4234bfb000cea15dc47b72e0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Update qbs submodule to HEAD of the 1.16 branchRichard Weickelt2020-03-301-0/+0
| | | | | Change-Id: I3a4fd475623790a1a34a15d530c5f4ea53603792 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* QmlDesigner: Show selection and gizmo for scene root light/cameraMiikka Heikkinen2020-03-301-13/+15
| | | | | | Change-Id: Ib650a5e331cf2936ef20a47abec5086bb08f06d2 Fixes: QDS-1857 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Doc: Warn about using emsdk --embeddedKai Koehne2020-03-301-0/+4
| | | | | | | | | | The Qt installation instructions for WebAssembly so far recommended using emsdk --embedded. Anyhow, this does mean that the .emscripten file will _not_ be put into the user's home directory, as Qt Creator expects. Change-Id: I0301d97e96baf0976b93ff7fc80e4f0cb058ea2e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Remove focus setting from EditView3DMiikka Heikkinen2020-03-301-1/+0
| | | | | | | | There is no keyboard handling on puppet side anymore, so no need to set focus, either. Change-Id: I00ebf7de1ac0b339c1323a62a61a1c086123d848 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Fix scene root finding logicqds/v1.5.0-beta1Miikka Heikkinen2020-03-301-1/+1
| | | | | | | | | If there's a single node child on View3D, detect that as scene root when another non-node direct child of View3D is selected. Change-Id: Ib538b0ae368e7b460700a99e4c450a15586c2f62 Fixes: QDS-1865 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Do not support rectangle gradient in Qt for MCUsThomas Hartmann2020-03-302-2/+3
| | | | | Change-Id: Ida324bf0647234a0ecff6689265767c0925d9115 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Qbs: Suppress spurious warnings about mismatching compiler pathsChristian Kandeler2020-03-301-1/+2
| | | | | | | | | Apparently, MSVC toolchains set their compiler paths asynchronously, so don't complain if it's empty initially. Fixes: QTCREATORBUG-23725 Change-Id: Id800fa01d6368d244ec879181d12f6f7c7f1bf0a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* QmlDesigner: Enable toggling the helper grid on/offMahmoud Badri2020-03-3013-213/+90
| | | | | | | | | | Also remove the toolbar buttons from the puppet side and few other clean-ups. Task-number: QDS-1849 Change-Id: I075753552043a9f1bc649f6baf54dc7b689e4f64 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Fix compile issue when there is no quick3dassetimport moduleMiikka Heikkinen2020-03-301-0/+2
| | | | | Change-Id: I769a977f8422e002ed5680c1788aa6d3948f0534 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* Doc: Fix MinGW linkKai Koehne2020-03-301-1/+1
| | | | | Change-Id: Iff955512f1a4032304f37391d27c6fd4d732cb19 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Do not suggest to put sed in PATHKai Koehne2020-03-301-1/+1
| | | | | | | Later on it is suggested to put it in the Kit's environment. Change-Id: I8268dac16bd03b9e7b1474cfece91f9e403d72bb Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QmlDesigner: Create thumbnail for imported 3D assetsMiikka Heikkinen2020-03-3014-59/+506
| | | | | | | | | | | | | | | | | | | | Qmlpuppet now allows creating icon from qml source code. Invoke qmlpuppet with following arguments to create icons: --rendericon <size> <icon file name> <icon qml source> E.g. --rendericon 24 ~/my_icon.png ~/my_icon.qml Two icons are created, one with size x size dimensions and one with double the dimensions and "@2x" injected into the file name. 3D asset import utilizes this icon rendering to produce item library icons for imported components. Change-Id: I92c62c80d961f5f61a0ce1c09b32bbcbf80ea56c Fixes: QDS-1052 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* ClangTools: Add "Analyze Current File" to Tools menu and context menuEike Ziller2020-03-306-12/+31
| | | | | | | | Add the action to "Tools > C++" and the C++ editor context menu. Task-number: QTCREATORBUG-23348 Change-Id: I650e4d10e07ba227c6f89ab660ce7fa81263172e Reviewed-by: David Schulz <david.schulz@qt.io>