summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CMake build: disable some warnings for build against llvmqds/v1.4.0David Schulz2019-12-191-0/+6
| | | | | | | | Add the same ignore warning flags to the compiler as in clang_installation.pri Change-Id: Ieb3f6ac861cba60b6c7fb3c74e4c9b46a62d22b9 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Clang: Fix c++98-compat warnings for MSVC toolchainNikolai Kosjar2019-12-193-4/+14
| | | | | | | | | | | | | | | Clang invoked with --driver-mode=cl will map "-Wall" to "-Weverything", thus enabling -Wc++98-compat-pedantic and way more options. Fix this by escaping "-Wall" in the cl mode, effectively passing in "/clang:-Wall" instead of "-Wall". This fixes what 5675169e564a1af0d4b47d4f1ee872e404cc2d17 addressed also for ClangTools. Change-Id: Ideb7bab923d0359e8039b61e9d53c8765de79c29 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* AutoTest: Fix stopping test debug runChristian Stenger2019-12-192-0/+3
| | | | | | | | | | | If the Debugger gets into a corrupted state and is not stopable cleanly we do not get the stopped signal. This in turn leaves the test runner in an inconsistent state which cannot be reset except with a restart of Qt Creator. Fixes: QTCREATORBUG-23298 Change-Id: I9d7e7cbc847f8883d2e750f4436c5ef281106d3a Reviewed-by: David Schulz <david.schulz@qt.io>
* Doc: Describe aligning and distributing items in Qt Quick DesignerLeena Miettinen2019-12-198-2/+57
| | | | | | Task-number: QDS-1307 Change-Id: I62d7e127ced887fec9dbfddb1a8607e74e846108 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Core: Avoid accessing nullptrChristian Stenger2019-12-181-1/+2
| | | | | | | | | | | | | The output window does not own the formatter but in case of an erroenous ramp down of the run control it may miss the destruction of the run control. This had led to strange nullptr accesses to the formatter when clicking into the respective application output pane afterwards. Change-Id: I16fdf0e68f1f02537495436a82c9888c53c78345 Reviewed-by: hjk <hjk@qt.io>
* Squish: Don't change suffix .qrc when testing renamingRobert Loehning2019-12-181-2/+2
| | | | | | | | ...since it's not expected to work anyway. Task-number: QTCREATORBUG-23167 Change-Id: I165dbcbc206372475a8d9128b1888b38b9f82367 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Mention Qbs version 1.15.0 in 4.11 changelogRichard Weickelt2019-12-181-0/+1
| | | | | | | Change-Id: Iefe032f5e12f5a25f292ca93873703bfa8e42ba9 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Doc: Use HTTPS to access Qt WebAssemblyLeena Miettinen2019-12-181-1/+1
| | | | | | Fixes: QDS-1402 Change-Id: Id15771bb2dda8da81640f809b143a43388a7f661 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Add dependency to qtcmake for links to CMake docs to workLeena Miettinen2019-12-181-0/+1
| | | | | | | Fixes a QDoc warning. Change-Id: I7248cbc6471830039f6399696416de40ceacb595 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Fix broken links to Qt docsLeena Miettinen2019-12-183-4/+4
| | | | | | | The Qt for MCU docs are currently not available online Change-Id: I705f78b32c7723a29653b0407306406eee1a76a4 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* WinRT: Move some device detection output into a logging categoryDavid Schulz2019-12-181-4/+2
| | | | | | | | | | This hides the detection failing in the case when no winrtrunner.exe can be found, which is given as soon as you do not have a UWP Qt installed. So moving this output to logging category makes it still accessible, but it doesn't confuse non UWP developer. Change-Id: Ie1434f75086d435f8f033b58c010e35fe64658b0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Do not show line ending option in read-only editorsEike Ziller2019-12-181-0/+4
| | | | | | | | | | | | This avoids showing the option for example in git log or blame views. The user also should not be able to actually change the line ending style of read-only editors. Fixes: QTCREATORBUG-23276 Change-Id: Ifa5cc9f663539928b4d5422b020e348b439684fa Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Marius Sincovici <smaryus@gmail.com>
* fix missing comma in source include patternsTim Jenssen2019-12-171-2/+2
| | | | | | | Task-number: QDS-1403 Change-Id: I907462f0978c1610ba2e7af10f386380f8ea18c7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* CheckableMessageBox: Forbid focus for text and pixmapqds/v1.4.0-rc2Andre Hartmann2019-12-171-0/+2
| | | | | | | | | | | | | | | | | | | | That allows changing between the buttons with the cursor Left and Right keys, without loosing focus from one of the buttons. Before, that was impossible without intermediate tab key pressing. E.g. when pressing Ctrl+W to close the git commit editor, the focus was outside the buttons. To select one of them, Tab had to be pressed first, but after some Key Right presses, the focus got away from the buttons again and the game had to be repeated. That behavior was different from QMessageBox, where one of the buttons always has focus. Change-Id: I9b12f794e8ba4aef1a68aaf249ba6dd6789cae4d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* UpdateInfo: Do not show multiple update notficationsEike Ziller2019-12-171-0/+1
| | | | | | | | | | Remove existing notification before showing a new one. Otherwise checking for updates multiple times results in multiple stacked notifications. Change-Id: I1af07c005e88b297fbaebec7f5358fa46c09a84c Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: David Schulz <david.schulz@qt.io>
* Fix build with namespaced QtChristian Kandeler2019-12-171-6/+4
| | | | | | Fixes: QTCREATORBUG-23368 Change-Id: I3887b08587becd46bc203bb0bc4069521247498f Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Increase the puppet timeout to 30sThomas Hartmann2019-12-171-1/+1
| | | | | | | | | | | | | The puppet timeout creates issues with the 3D view. At the moment we do not know any case in which the puppet timeout is strictly required. Increasing the timeout to 30s should be safe. In the worst case users have to add the option to reduce the timeout again. Change-Id: I3a4b2b145f42b3fcabfdfaa97bc23ae10d6c1648 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Add workaround for QVector3DThomas Hartmann2019-12-172-2/+22
| | | | | | | | | | | | | | | For some reason the Qt meta system does not work reliable for QVector3D. It does work "rotation", but not for "pivot", despite the fact that both properties are defined in exactly the same way. This patch works around the main issue. There are still a few issues left, but at least the default is correct now. Task-number: QDS-1355 Change-Id: I75e2d3adff6967e89c6ce031d744baa12b5e8061 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Prevent the Edit View 3D restart upon closingMahmoud Badri2019-12-1716-1/+137
| | | | | | | | | Also the 2D/3D action updates correctly according to Edit View 3D state. Task-number: QDS-1385 Change-Id: I95d0994e9c56df25a2988eb9d27994268dd1903d Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmakeProjectManager: Extend Qt examples deployment hackChristian Kandeler2019-12-171-7/+13
| | | | | | | | E.g. for Qnx, QT_INSTALL_PREFIX is not a prefix of QT_INSTALL_EXAMPLES. Fixes: QTCREATORBUG-22592 Change-Id: I3092cd76af01519783e1162ab8e79caaf0836f00 Reviewed-by: hjk <hjk@qt.io>
* Add another QDS doc image file pathTim Jenssen2019-12-171-0/+1
| | | | | | Task-number: QDS-1403 Change-Id: I104480405033838a565f5a596ab43404db5f40dc Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Debugger: Fix std::string dumper for GCC 9hjk2019-12-171-0/+9
| | | | | | | | Fixes: QTCREATORBUG-22753 Fixes: QTCREATORBUG-22680 Change-Id: I75e2855d27bc2b83880379fee2364586b9d4a90e Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Avoid accessing nullptrChristian Stenger2019-12-171-12/+19
| | | | | | | | | | | If the context menu is spawned while stepping the user may be able to trigger some actions that try to access an item that had been present before, but after the stepping the items inside the tree view usually got completely re-created. Change-Id: I80029bc1272cfc8b78fe0ed5b1e0f36f29920631 Reviewed-by: hjk <hjk@qt.io>
* FancyLineEdit: Fix camel case navigation with shift modifierAndre Hartmann2019-12-161-8/+13
| | | | | | Fixes: QTCREATORBUG-23370 Change-Id: Ie96f642f0b964499ded830ae6eabfc86ef31fabd Reviewed-by: David Schulz <david.schulz@qt.io>
* Version bump to 4.11.1Eike Ziller2019-12-163-6/+6
| | | | | Change-Id: I31c53f92acd02c380e44ecea534b178a3fb5458c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* FakeVim: Fix goto next/previous splithjk2019-12-162-4/+2
| | | | | | Fixes: QTCREATORBUG-22397 Change-Id: Ibdae1d53d9d77dd982b871aa22585bdf0354d84f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner Connection View signals fixesAleksei German2019-12-168-4/+46
| | | | | | | Bug: QDS-1333 Change-Id: Ic0d4206888bd8c5bd3d5cef29225441f19efa59d Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlProject: use qobject_cast instead of static_castTim Jenssen2019-12-161-1/+1
| | | | | Change-Id: I0a75c18eec64404b8689ad27ad35a8d65d69711f Reviewed-by: hjk <hjk@qt.io>
* CppTools: Suppress the c++98-compatibility warningsCristian Adam2019-12-131-0/+1
| | | | | | Fixes: QTCREATORBUG-23118 Change-Id: I3c29faa05cb77841b22201dce01b341e565ca32d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Fix minor edit 3D view ui issues in macMiikka Heikkinen2019-12-133-29/+41
| | | | | | Change-Id: Ia86b5f828d147ca0c3593da7f7dcb77696fdeead Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Improve edit view 3D "on top" logicqds/v1.4.0-rc1Mahmoud Badri2019-12-1331-403/+307
| | | | | | | | | | | | | | | | | | | | | | - Proxy dialog removed - When the QDS window is minimized/maximized, the edit view 3D follows. The opposite is not true (edit view 3D can be minimized separately). - Edit view 3D is always on top of QDS window. Only exception is when a popup is shown (so that the user can handle the popup). - External apps go normally on top of the edit view 3D. Known (non critical) issues: - Activating the edit view 3D doesn't raise() the QDS window, so if an external app is on top of the edit view 3D then the view is clicked, the external app will be in between the view and the QDS window. - Closing the edit view 3D from the x button doesnt work (causes a restart). This is not in the scope of this commit. Task-number: QDS-1179 Change-Id: I1dd72590037be295b94735de96772307ba14c59c Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* WebAssembly: Ensure that the device is created after the kits are loadedChristian Kandeler2019-12-131-1/+4
| | | | | | | | | That way, the device of the WebAssembly Kit is correctly set if device type and device of the kit were previously wrong. Task-number: QTCREATORBUG-23360 Change-Id: I40b6650ede2e632fe5cc7cb27b576de8d1bfd066 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Fix rotation resulting in NaN angle sometimesMiikka Heikkinen2019-12-131-0/+5
| | | | | | | Change-Id: I88f866c6649f7ec25bc96a7393d0930685e5382b Fixes: QDS-1341 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Properly update 3D edit view cameras and lightsMiikka Heikkinen2019-12-135-26/+57
| | | | | | | | | | | Now edit view will create and remove cameras and light gizmos properly when cameras and lights are added or deleted. Change-Id: I858752c1410f3a40ea2adaf538c281aaee94ec58 Fixes: QDS-1267 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Qnx: Add QnxRunConfiguration::doAdditionalSetup()Christian Kandeler2019-12-122-16/+27
| | | | | | | Same principle as in b526d789cf. Change-Id: I79b69f709ab401b46d2edef3b5a6b0672e30eaff Reviewed-by: hjk <hjk@qt.io>
* Boot2Qt: Add QdbRunConfiguration::doAdditionalSetup()Christian Kandeler2019-12-122-1/+7
| | | | | | | | | This amends b526d789cf. I had forgotten that Boot2Qt no longer inherits from RemoteLinux. Fixes: QTCREATORBUG-23315 Change-Id: Ic0fa4d54df4b7957916be67ec515df57f2fb2ce1 Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Fix material managerHenning Gruendl2019-12-114-7/+18
| | | | | | Task-number: QDS-1332 Change-Id: I70828c3ce584ab72115f92dda4a27341e00085e2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix missing forward declareChristian Stenger2019-12-111-0/+1
| | | | | | | Amends f26d770322ca6b6b4575a7e2. Change-Id: I2ed208c54ec0f5d2e398870d9fede985d05c38b6 Reviewed-by: hjk <hjk@qt.io>
* Use separate MouseArea3D to calculate drag vectorMiikka Heikkinen2019-12-1112-20/+92
| | | | | | | | | | | | | Using the MouseArea3D linked to gizmo to manage the drag leads to slight unwanted drift on the drag plane, as it moves with the gizmo. Fixed by using a helper MouseArea3D to calculate drag vector. Helper area's transform is set at mouse press time and is not changed during the drag. Change-Id: I50d3f738277bd34005c977423d114abc8dbed520 Fixes: QDS-1312 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Update selection box on parent changeMiikka Heikkinen2019-12-111-0/+4
| | | | | | | | | | Selection box geometry update sets explicit global transform for selection box root. The transform depends on the target node parent, so if the parent changes, the box needs to be updated. Change-Id: Iccf8b7e863bcfe541bbb4f60a4094739a7513e8d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner Connection Delete Shortcut replacementAleksei German2019-12-112-0/+8
| | | | | | Task: QDS-1320 Change-Id: I1a94d30710d58dfbd8e90a45133700af20fc2980 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CppTools: Update clang-tidy documentation URLAlessandro Portale2019-12-111-1/+1
| | | | | | | 8.0.0 -> 8.0.1 Change-Id: Ic58777d2e97711e12e208c1b2a709bb0a9279e41 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix more warnings about unused parameters and functionsChristian Kandeler2019-12-103-28/+5
| | | | | Change-Id: I8b569fcf60a0a21c6828d612997bbba0f737c806 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* ProjectExplorer: Fix crashChristian Kandeler2019-12-101-1/+1
| | | | | | | One must not call std::next() on a non-dereferenceable iterator. Change-Id: Id40341f808a3781f91f8aef1930bb76a397e8053 Reviewed-by: hjk <hjk@qt.io>
* LanguageClient: Fix crash on closing qc while restarting a serverv4.11.0David Schulz2019-12-101-0/+2
| | | | | | | | Reset the assist providers when restarting a server, so the client can be safely shutdown while closing Qt Creator. Change-Id: I4d5f18582a8c67cbe02974d72fcef9703ed64dc4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* add python improvements to changes fileDavid Schulz2019-12-101-0/+2
| | | | | Change-Id: I07518d60b21770554d8fc944631b907411fd4ee9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Python: Reset editor info bars when closing documentDavid Schulz2019-12-101-1/+11
| | | | | | | | Fixes crash after reopening a python document and configuring the python language server in the reopend document. Change-Id: I42eb6c5d3ccb755a836fd9071b3147d65c8c0ab6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* RemoteLinux: Add RemoteLinuxRunConfiguration::doAdditionalSetup()Christian Kandeler2019-12-102-2/+7
| | | | | | | | | | | This became necessary after commit b1dbd7e358, because now run configurations are created after parsing has finished, so they will not initially receive the signals that cause them to update their target information. Fixes: QTCREATORBUG-23315 Change-Id: I761e5a5bd4ed6015037f562c10792fe16147739a Reviewed-by: hjk <hjk@qt.io>
* Android: Log Sdk manager callsAlessandro Portale2019-12-101-0/+4
| | | | | | | ... helps finding reason for logged parsing errors. Change-Id: Ia544d7d042e3eb8db04c122fe9f2f8e753e8ef4a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Update CMake target on DesktopRunConfiguration clonedAlexander Akulich2019-12-101-2/+1
| | | | | | | | Call updateTargetInformation() for all kinds of configuration to fix ExecutableAspect initialization. Change-Id: Ie568f589fd6a6570fe84353bf145f7f87d1f0448 Reviewed-by: hjk <hjk@qt.io>