summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Describe previewing localized apps4.10Leena Miettinen2019-11-252-5/+4
| | | | | | Fixes: QDS-1216 Change-Id: I222e24151ccf66eb137f355a3a05e60077b80b90 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* clangformat: Fix building with MSVC for unmodified clangKai Koehne2019-11-041-1/+5
| | | | | | | Amends 1ff337089a579cf698df0ddb6bf8a68ea9e5de2d Change-Id: Ia830f8799f29a1ae87bb3dd77e8ab48278eb9a7e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Add changes file for 4.10.2v4.10.2Eike Ziller2019-10-281-0/+68
| | | | | Change-Id: Iff349ba25a757f4791457a51a19d171d03e8a234 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Describe the serial terminal pluginAndre Hartmann2019-10-287-5/+99
| | | | | | | For connecting devices by serial ports. Change-Id: Ie391a98c2964a48e42a74148130f691a661e39e3 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* macOS: Remove workaround for bug that was fixed in Qt 5.9.2Eike Ziller2019-10-211-7/+0
| | | | | | | | | Removing the dummy OpenGL widget gets rid of flicker and scaling issues when moving between monitors with different DPI. Fixes: QTCREATORBUG-23064 Change-Id: I2373862244353b545e8756afe294f9beeefda422 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* MsvcToolchain: Fix "detection" of supported ABIs for msvc2010Alexis Murzeau2019-10-182-36/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always ensure that supportedAbis includes targetAbi so toolchains that don't have any vcvars32.bat or the like (like msvc2010) are restored correctly at startup. The cache-miss case is just shifted inside a else clause so the added code is executed both in case of cache hit or miss. The targetAbi is added to m_supportedAbis but is not cached in abiCache as the abiCache has only vcVarsBat as the key, which is the same for all toolchains of the same compiler but different architecture. This way, even if the common supportedAbis is retrieved from the cache, the presence of targetAbi is always checked and added if needed. With this modification to detectInstalledAbis(), setSupportedAbi is not needed anymore as it is redundant. Now msvc2015 build tools case is handled the same way as msvc2010 in detectInstalledAbis(). This effectively reverts 2896e5f5e289a30928ab679c99d7de68d4a903ac. Also, the existing QTC_ASSERT(m_supportedAbis.isEmpty(), return); in detectInstalledAbis() is removed as when vcVars is changed, it can have a new uncached vcVarsBase while having supportedAbis set already (via a call to changeVcVarsCall). This happens for clang-cl toolchains that inherit MsvcToolchain but change vcVarsBat in ClangClToolChain::resetMsvcToolChain later (in ClangClToolChain::detectClangClToolChainInPath). Task-number: QTCREATORBUG-22960 Change-Id: Iaad5ea1dc649393037a3d32faa9075153974b5cb Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Clang: Build against LLVM/Clang 9Nikolai Kosjar2019-10-181-0/+4
| | | | | | | | | Task-numer: QTCREATORBUG-23038 Change-Id: I3608bca6541614bb55e67d35c87334957cd02761 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> (cherry picked from commit 6ec8017bc675692f3d325c0cd95c9c4c7a79db7d) Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Debugger: Avoid recreation of breakpoint markersDavid Schulz2019-10-181-5/+13
| | | | | Change-Id: Ie3b160a7b7137257b2028d03878700675142102f Reviewed-by: hjk <hjk@qt.io>
* Remove extra setMargin(..) Some lines after we can see aLaurent Montel2019-10-175-5/+0
| | | | | | | setContentsMargins Change-Id: I376129566c7df466a3413f001b42c670ee7c7022 Reviewed-by: hjk <hjk@qt.io>
* Debugger: further untangle of breakpoint item and markerDavid Schulz2019-10-172-7/+15
| | | | | Change-Id: I9331912c1b53a0110479f46ef1e576676441ab75 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Fix crash after breakpoint marker drag&dropDavid Schulz2019-10-171-7/+3
| | | | | | | | | The updateMarker function deletes the marker of the global breakpoint so don't call that function from the marker. Fixes: QTCREATORBUG-23107 Change-Id: I377608f1a08b61451be1fc0be5bc15252252a4a7 Reviewed-by: hjk <hjk@qt.io>
* AutoTest: Fix handling of parameterized boost testsChristian Stenger2019-10-172-2/+7
| | | | | | | | | | | | | | Setting the parameterized flag after the test case may have been added to the found tests is useless. Do it as early as possible to take it into account when gathering information for location and type. Beside this the filter for parameterized boost tests had been wrong which in turn led to not executing them at all. Change-Id: I1a4345b2a751c79cc4fc6df8e201e9606c961aaf Reviewed-by: David Schulz <david.schulz@qt.io>
* Update qbs submoduleChristian Kandeler2019-10-161-0/+0
| | | | | | | To HEAD of 1.14 branch. Change-Id: I3106078a808ddddc0211d46e871c66383746aec3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* GDB: Handle 'pretty_printer.to_string()' returning NoneMichael Weghorn2019-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The documentation for the GDB pretty printer function 'pretty_printer.to_string' says [1]: > [...] > Finally, if this method returns None then no further > operations are peformed in this method and nothing is printed. > [...] Therefore, skip this part if the printer's 'to_string' method returns 'None' and only fall back to assuming LazyString otherwise. This e.g. fixes the std::pair pretty printer (for gcc-9 libstdc++6) for which "<not accessible>" was shown previously in the debugger's locals/expression view. Now it shows the object's address and allows expansion to see the values for the 'first' and 'second' members. [1] https://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing-API.html Change-Id: I33b1af82f731c347314af76c533b096b8a5afe21 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* AbiWidget: Fix custom abi comboboxes' enabled state when mainComboBox is changedAlexis Murzeau2019-10-151-1/+4
| | | | | | | | | | | | | | | | | | | When the mainComboBox is updated and its current selection changed via setAbis, the custom ABI comboboxes weren't updated accordingly. This is because in setAbis when doing d->m_abi->setCurrentIndex(), the m_ignoreChanges guard is held which inhibit mainComboBoxChanged function from doing anything for performance reasons. But the effect of this is that custom ABI comboboxes were left in their previous state (enabled or disabled). This commit ensures the custom ABI comboboxes are updated according to the new selected item in the mainComboBox at the end of setAbis function. Change-Id: Iedabde412a42985697d2cba33ddb6c154f10a68f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* iOS: Fix failure to run an app on iOS version 13 onwardsVikas Pachdha2019-10-141-51/+26
| | | | | | | | | | Use secure API to start the gdbserver service Task-number: QTCREATORBUG-22950 Change-Id: I685162b7ec90d738c5f42e094f5046367936530f Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* QbsPM: Fix look-up of executable on DesktopChristian Kandeler2019-10-111-0/+10
| | | | | | | | | ... if installation at build time is disabled and a dedicated install step exists. Fixes: QTCREATORBUG-23039 Change-Id: I7115368bb1993ebdb48200d2a9c55c34a7bdceec Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* AutoTest: Fix Run Under Cursor for GTestChristian Stenger2019-10-101-1/+2
| | | | | | | | | | | Broke while introducing TestSuite and following the official terms. Amends 6189745a3b8d3a24627193f9ad8fb18fa84099ed. Fixes: QTCREATORBUG-23068 Change-Id: I02a8c72debface1e15b2e1901ec6115e210a0312 Reviewed-by: pawelrutka <prutka13@gmail.com> Reviewed-by: David Schulz <david.schulz@qt.io>
* Debugger: Prevent crash on shutdownChristian Stenger2019-10-101-1/+3
| | | | | | | | | | | | It may happen that the global log window gets destroyed before the log windows of a running engine when QC is closed after an unsuccessful attempt to debug. Avoid accessing it when trying to write output that has not been processed so far. Change-Id: I41296cc37bab1e4f1272b05dda1979d813981aa7 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Corrects the project type supportedMariana Meireles2019-10-101-1/+1
| | | | | | Change-Id: I9434ed86d4d20e44abbe2cd07f9a7d838a53761a Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* RemoteLinux: Fix look-up of remote file path in deployment dataChristian Kandeler2019-10-103-2/+9
| | | | | | | | | | | | If the deployment configuration contains an "install into temp dir" step, then the local file paths of the binaries built by the build tool will not be in the list of deployable files, because all deployables come from the temporary install dir. Therefore, look for just a file name match as a fallback. Fixes: QTCREATORBUG-21235 Change-Id: Ie3fad515515b4f28cc6bdef1254f4c05a0557569 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* MSVC support: Fix "detection" of supported ABIs for the 2015 build toolsChristian Kandeler2019-10-092-0/+12
| | | | | | | | | The VS 2015 Build Tools are unlike any other VS or Build Tools installation and thus need their own hack. Fixes: QTCREATORBUG-22960 Change-Id: Icdbc2ad641e544a9a9d58887fde30b6ad3c28d26 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Version bump -> 4.10.2Eike Ziller2019-10-083-6/+6
| | | | | Change-Id: I7ce0fbc735df662485f86dca8e148d1aee5b3657 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Fix link to free Qt appsLeena Miettinen2019-10-081-2/+2
| | | | | | | Fixes: QTCREATORBUG-23059 Change-Id: Iaf0b181223f88aa6f9513a29825f8aa98f9baf62 Reviewed-by: Tino Pyssysalo <tino.pyssysalo@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Fix missing watch highlight when the value changesAntonio Di Monaco2019-10-081-2/+2
| | | | | | | | This patch fixes a regression introduced by e95fd876aa62614fa991ab42c343adbb81acec73 Change-Id: I8cb277858ef6c63cd26c03417f9dfeb99d96cb45 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Fix out of memory crash when receiving regular outputDavid Schulz2019-10-081-2/+8
| | | | | | Change-Id: Icda28ec56c191e62812a4e5219a1df902c5e60a1 Fixes: QTCREATORBUG-22733 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Workaround bad focus issue when using Squishv4.10.1Christian Stenger2019-10-021-2/+8
| | | | | | | | | | | | When interacting with the file dialog QC seems to lose its focus and never gets it completely back. This in turn makes lots of short cuts useless and (context) menu entries disappear or being disabled. Avoid this by explicitly closing the popup of the line edit if there is one. Change-Id: I79f86b3133d2d0780d73d75e15416d59f35dfa1e Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Revert "Designer: Fix look-up of resources for UI files"Christian Kandeler2019-10-025-45/+17
| | | | | | | | This reverts commit 736eef24ca9263339f4c576cba5d4b20fe188045, which breaks binary compatibility. Change-Id: I696ad3e6efc6f02f595356c9864d69629eeef8bf Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Do not crash when displaying uninitialized QImageshjk2019-10-011-9/+14
| | | | | | | Fixes: QTCREATORBUG-23031 Change-Id: I074cdaf509edac6e5659d2e976ed7188e8944d81 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake Build: Fix LLVM lookup for cases when many versions availableAlexander Akulich2019-10-011-1/+1
| | | | | | | | | | | | If calling both find_package(Clang) and find_package(LLVM), call find_package(Clang) first to get the currently active Clang version by default with a consistent version of LLVM. (Similar to the FindPythonInterp/PythonLibs ordering) Change-Id: Ib6da04e0fb0ffc1fe67a8eafb0c5f04abbb36b6c Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Designer: Fix look-up of resources for UI filesChristian Kandeler2019-10-015-17/+45
| | | | | | | | | | | | | | | | Commit 81a643ec99, fixing QTCREATORBUG-22412, was too restrictive: UI files in applications have access to resources of library dependencies, so we must consider those. We now only exclude resources from other applications. Note that this will potentially list non-applicable resources, e.g. those from libraries to which our product does not have access. This cannot be reasonably prevented, because not all build systems provide this information. It's also not as bad as missing resources. Fixes: QTCREATORBUG-22909 Fixes: QTCREATORBUG-22962 Change-Id: I51a87402b43c156618982813c408060f300e4e58 Reviewed-by: hjk <hjk@qt.io>
* Show application icon in Plasma Wayland sessionsElvis Angelaccio2019-10-011-0/+2
| | | | | | | | | kwin_wayland fetches application icons from .desktop files, so we need to set the desktop filename on the QGuiApplication instance (otherwise kwin will set a generic wayland icon as fallback). Change-Id: I89921ace4a5a4ff2a2387111e51a8914f58e44a8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Squish: Stabilize tests that rely on a parsed projectChristian Stenger2019-10-0110-10/+19
| | | | | | | | | | | | As more and more progress bars might be present for different purposes and we are not able to easily distinguish them we need to use a more reliable way to wait for the end of parsing a project. Add a respective function and use the new approach where this appears to be appropriate or necessary. Change-Id: I20e2b9b0efd4785f8f0b1ddbc8496be111628669 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Output windows: Skip filter function if no filter is setChristian Kandeler2019-09-301-1/+4
| | | | | | | | | Running the filter function is (too?) expensive, so make sure that's only done when there actually is a filter. Task-number: QTCREATORBUG-22914 Change-Id: Ie96a4e20ebb10c08d83e75641e70b42b13377b22 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submoduleJoerg Bornemann2019-09-301-0/+0
| | | | | | | To HEAD of 1.14 branch. Change-Id: I16a799316afe1d1be3410ef3084c0724de931c42 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* More change log for 4.10.1Eike Ziller2019-09-301-2/+14
| | | | | Change-Id: Iae2927d24e021ef8b2e2f4849963fde4c22f55c0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Debugger: Fix automatic raising of ExpressionsChristian Stenger2019-09-301-2/+2
| | | | | | | | When adding a new expression automatically raise the Expressions widget if it is not shown already. Change-Id: If89e4e4fbf8cbe57e0f08478cd2d3b9f4797f5ad Reviewed-by: hjk <hjk@qt.io>
* BareMetal: Fix auto detection of SDCC toolchain on WindowsDenis Shienkov2019-09-271-17/+31
| | | | | | | | | | | | The SDCC toolchain package can be provided as 32-bit or as 64-bit installer. If the SDCC 64-bit package will be installed on the 32-bit Windows, then it will not be found in the system registry, because we use the QSettings::NativeFormat. So, we need to check the data for the 32-bit and 64-bit registry sequentially. Change-Id: I1e7711bdde173eff21a7ba84f221d505a21709ca Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* macOS: Fix window state after going out of fullscreenEike Ziller2019-09-272-1/+4
| | | | | | | | | | | | | | | | If you went out of fullscreen with the shortcut or menu item, it would not restore a previous maximized state, but instead resized the window to the smaller non-maximized state. So, 1. open Qt Creator and resize to some non-maximized size 2. double-click window title to maximize 3. Window > Enter Full Screen 4. Window > Exit Full Screen now returns correctly to state 2, not 1. Change-Id: I076321070d011d73bfe888c0a4a5ade24c1057d6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Fix Russian translationSergey Belyashov2019-09-261-47/+118
| | | | | | | | | | Fixes: QTCREATORBUG-22978 Fixes: QTCREATORBUG-22996 Change-Id: I93e8426c6efc46b8c749f12d729070052fb4af88 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Viacheslav Tertychnyi Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* QNX: Add C compiler in the compiler selection dialogCristian Adam2019-09-261-1/+2
| | | | | | | | QNX compiler can also do C, and it's needed for properly configuring a CMake project. Change-Id: I68edf35d7e288400f48b59c258065e6f82d17fc4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Update qbs submoduleChristian Kandeler2019-09-261-0/+0
| | | | | | | To HEAD of 1.14 branch. Change-Id: I2549c89428490c2588f06003496296c54c6ededf Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Debugger: Try harder to restore dock widget sizeshjk2019-09-261-6/+11
| | | | | | | | | | | | This is bit of a hack: The dock widget sizes were actually restored but when previously non-existing docks were affected, a re-layout was triggered, resulting in different sizes. This can be avoided by instantiating all dock first. Fixes: QTCREATORBUG-22415 Change-Id: I4c0b27f5bab5864e93e303db758d8b909a51a425 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Improve assignment to simple expressions with LLDBhjk2019-09-261-1/+1
| | | | | | Task-number: QTCREATORBUG-22696 Change-Id: Ifa084046ff83ba071c9e96a4221d7b4a09bfc22f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Mark docks as default-visible when resetting a perspectivehjk2019-09-251-0/+1
| | | | | Change-Id: I562a71de04335e8b4d34f90e7df3127fbb01ac5b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Use Python 3 prints also in pure LLDB bridge codehjk2019-09-251-5/+5
| | | | | | | | Task-number: QTCREATORBUG-22955 Change-Id: I762acd289c50fe5817b3e6e915f35c2388c74d44 Reviewed-by: Christian Stenger <christian.stenger@qt.io> (cherry picked from commit 7f29fa2030d62c6110f3869332e62672759b58e2) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Fix debugging with LLDB 1100.xChristian Stenger2019-09-251-8/+14
| | | | | | | | | | | Tweak handling for LLDB provided by Xcode 11 slightly, as the state handling of the process went astray when using the debugger Python 3 based. Task-number: QTCREATORBUG-22955 Change-Id: Ie070049d210a570993507ed940d141237aab89ce Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Wizards: Fix JSON file template for Qt Creator pluginChristian Kandeler2019-09-251-8/+8
| | | | | | | | | | As of commit aaa8beab88, template files for XML wizards go through Utils::TemplateEngine::processText and thus need to have their backlashes escaped. Fixes: QTCREATORBUG-22945 Change-Id: I33aaa73b66be065f0ba3ed9b45cb8c9558f70d31 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add changes file for 4.10.1Eike Ziller2019-09-251-0/+57
| | | | | Change-Id: I61cbaf241834c9e023c578e4ddb3dd46006ae4d1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Help/textbrowser: Keep text at the top visible when resizing and zoomingEike Ziller2019-09-242-38/+73
| | | | | | | | | | After resizing/zooming scroll to the position of the top element before the resize. This allows us to remove the hack that delays jumping to the anchor of an URL as well. Fixes: QTCREATORBUG-4756 Change-Id: Ife29ba1cd0ad60448052b4d06a5dce7cc6bdf4ed Reviewed-by: hjk <hjk@qt.io>