aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Theme: add new dark and light design themesBrook Cronin2020-05-062-0/+711
| | | | | | Change-Id: Ibc65528694d5b8e55e17a80ecd82497c4ab98499 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Update designer theme to new color rolesThomas Hartmann2020-05-061-66/+41
| | | | | Change-Id: I39ece78e3961d6c2705abcdefcffc4b9cdd8e704 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Debugger: prevent calling functions on windows targetsDavid Schulz2020-05-061-1/+1
| | | | | | | | This will result in a crashing gdb. Fixes: QTCREATORBUG-23982 Change-Id: I59b65c5854bb4b7cbd59522a555388d1e833a560 Reviewed-by: hjk <hjk@qt.io>
* CppTools: Fix crash when loading pre 4.11 settingsEike Ziller2020-05-061-4/+4
| | | | | | | | | | | | | | If pre 4.11 settings are present, this might lead to updated settings being written at startup. The code that writes settings indirectly uses the CppToolsPluginPrivate instance via the "d" member of CppToolsPlugin. So this code path crashes if triggered in the constructor of CppToolsPluginPrivate, since at that point "d" cannot be assigned yet. Separate construction and initialization to avoid this. Fixes: QTCREATORBUG-23916 Change-Id: I0cb8a08bd9aa051679b71b06f569c44d2faab5a8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* CMake build: Fix copying of Clang headers to buildEike Ziller2020-05-061-4/+1
| | | | | | | | | | | | - "copy_directory dir target_dir" copies the contents of "dir" into "target_dir" so we need to specify "include" at the end of the target directory - copy_directory creates directories as needed Fixes code model and analyzer errors when running without previous deployment Fixes: QTCREATORBUG-23910 Change-Id: Id63dd790f89f720593cd0508241f79dfaddac794 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* McuSupport: If kits are missing, provide an InfoBar that opens settingsAlessandro Portale2020-05-062-0/+27
| | | | | | | | | | | | | | | | | | | | When installing Qt for MCUs via the SDK installer, the user (in many cases first-time evaluator) has to create the kits for Qt for MCUs. For those who see Qt Creator for the first time, it is difficult to find out where to search for the UI that generates those kits. Let's help the user with an InfoBar entry that in case of ... * McuSupport plugin being enabled (by SDK installer) * Settings key [McuSupport]/Package_QtForMCUsSdk set (by SDK installer) * Absence of valid Qt for MCUs Kits ... helps to directly open the right page and tab of the Options dialog. Task-number: QTCREATORBUG-23943 Change-Id: I7d4834633b1b94ef663d62cd395ee071bd123f1f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Fix crashThomas Hartmann2020-05-051-3/+3
| | | | | | | | | | | Calling m_rewriterView->clearErrorAndWarnings() has side effects that can call back to the model and meta info system. As a consequence meta info data based on the old document is created. This can lead to a crash when the new document is set and the old document is released. Change-Id: I47de904914c1daa8d4a76aa1889f90bd86a07af7 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Theme: fix file navigation breadcrumb bar to use theme colorBrook Cronin2020-05-051-1/+1
| | | | | Change-Id: Ice727823e6081c02e492c7469ed2f305e81bcb5a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Andriod: fix "always use this device" button not workingAssam Boudjelthia2020-05-051-3/+5
| | | | | | Fixes: QTCREATORBUG-23918 Change-Id: Ib9fa5bf0417f7fe028ec357b06d71577fa44c971 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* qbs build: Disable clang tooling plugins for llvm >= 10Christian Kandeler2020-05-052-1/+5
| | | | | | | They won't build with the new version. Change-Id: I77c94817290418b0a97222465f0f8a8660053fae Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Try stabilizing CLI outputRobert Loehning2020-05-051-1/+4
| | | | | Change-Id: I0ff6aaaa62b9596487a279cdf5e597a3b7c83679 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Theme: fix css to use theme colorsBrook Cronin2020-05-052-6/+6
| | | | | Change-Id: I82c278696e72d0a1ed08afef0e161fd83be0206f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMake build: Make translation function available to external pluginsEike Ziller2020-05-054-162/+174
| | | | | | | And fix that the "ts_all" target did not get the custom target prefix. Change-Id: Iff6a5e328456f3d949c31f2e41b48c400fad773c Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Theme: add design studio controls theming to theme color listBrook Cronin2020-05-051-1/+37
| | | | | | | | | | | | | | | | | | | I've chosen to add the controls themes colors to the main color list for couple of reasons. 1.) Adding the colors to the main color list allows them to be used from the QML constants file that defines the controls color theme, in turn allowing us to customize the look and feel of all controls on a per theme basis. 2.) I have added new colors instead of using the existing ones because of the ripple effects of modifying existing colors in the themes, i.e that often when you want to change one particular color in the UI modifying the value of existing colors in the theme has the unintended consequence of changing other parts of the UI. Thus adding a specific set for the controls allows us to have a fine grained approach to modifying the controls in any theme without disturbing the other elements of the existing UI theme. Change-Id: I16fb0458c870d01f68ed626676a665117628c917 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* build_plugin.py: Add option to pass additional arguments to CMakeEike Ziller2020-05-051-0/+4
| | | | | Change-Id: Ifab717fdca9b8c5d4585146e552a60fc66c08d74 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Remove outdated kits on KitManager::kitsLoadedAlessandro Portale2020-05-052-1/+5
| | | | | | | | ... instead while creating other kits. Task-number: QTCREATORBUG-23891 Change-Id: I7ef3a6c92d94d8e6dd7499490a694be1d91ed35e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Add a missing import to the PropertyEditor ThemeAlessandro Portale2020-05-051-0/+1
| | | | | | Change-Id: I4b6151b1e12311334a0c32e2fa6f7c30db150c92 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Android: Guard against kits without Qt versionhjk2020-05-051-9/+8
| | | | | | | | | | | ... in AndroidConfigurations::updateAutomaticKitList. Also, simplify code a bit. Task-number: QTCREATORBUG-23963 Change-Id: I6835721ec8b89dec57d668393178427ffa03ff6d Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Doc: Describe 3D Editor local and global orientation modeJohanna Vanhatapio2020-05-041-16/+24
| | | | | | | Change-Id: Ibe281ba6d06c68a9c5f36a743563b6fc40fe7e0a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Qbs build: Suppress excessive warnings from Qt with clang 10Christian Kandeler2020-05-041-0/+5
| | | | | | | | | | | | | | | We get these thousands of times: /usr/include/qt/QtCore/qbytearray.h:586: warning: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user- declared copy assignment operator [-Wdeprecated-copy] inline QByteRef &operator=(const QByteRef &c) ^ /usr/include/qt/QtCore/5.14.2/QtCore/private/qmetatype_p.h:111: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] Change-Id: I5f97f23d9b62ef1cd8d07495c46598d2a34a6d85 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* qbs build: Fix sdktool autotest on WindowsChristian Kandeler2020-05-041-2/+5
| | | | | | | | Make sure to fix the path separators for the macro that gets passed on the command line. Change-Id: I444883e6fc5a2b49d73a1fa52aa1ea26b207185c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CppCheck: Split QProcess::start command line manuallyhjk2020-05-041-1/+1
| | | | | | | Qt6 removed the convenience function taking the whole command line. Change-Id: I0b77eb15c6cd9cff25028dec4baf4a4a70eba83c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Describe downloading Qt Bridge from Qt MarketplaceLeena Miettinen2020-05-046-31/+39
| | | | | | | | | Adjust the info about exporting and importing assets. Change-Id: Ibc66fac68e14483fda050b7501fc7e091115ce89 Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Debugger: Fix crash after adjusting font sizeDavid Schulz2020-05-041-0/+4
| | | | | | Change-Id: Ic3b415a3791968f972d2f69ec71c8012c572995d Fixes: QTCREATORBUG-14385 Reviewed-by: hjk <hjk@qt.io>
* Fix compatibility with Qt 6 QMutex's non-recursiveThiago Macieira2020-04-301-1/+1
| | | | | | | | | QMutex in Qt 6 cannot be recursive. So don't call the constructor to pass the option that isn't needed. Change-Id: I9709abb1c3734e10a7defffd1607e76745b5cf0a Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Theme: add controls theme to creator themes and map to controls theme valuesBrook Cronin2020-04-306-47/+220
| | | | | Change-Id: Iec6f217e8d3ae6e7f72fdf86c282e1b11b225626 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMake build/Linux: Install desktop and appstream filesEike Ziller2020-04-304-2/+12
| | | | | | Fixes: QTCREATORBUG-23906 Change-Id: I9d796c8826dbb4beb980aa29b75526fe96093921 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Debugger: remove unused variableDavid Schulz2020-04-301-2/+0
| | | | | Change-Id: I7cddb9cd8ec3b058e04409e6a56490297660ed03 Reviewed-by: hjk <hjk@qt.io>
* QmlJS: Fix line number for string literalsChristian Stenger2020-04-291-1/+3
| | | | | | | | | | When a string value's first line ends with an EOL the line number for the next line got wrong which in turn confused the syntax highlighter. Fixes: QTCREATORBUG-23777 Change-Id: I37eed839a2e63cf470b9bc2ac0596ab8bc8d373c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Packaging: Install documentationEike Ziller2020-04-291-1/+13
| | | | | | Fixes: QTCREATORBUG-23912 Change-Id: I2e28c9f9000dca1216ec31bad307031937223e83 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* QmlJS: Fix lexer handling of escape sequences (again)Christian Stenger2020-04-291-11/+2
| | | | | | | | | | | The lexer handled escape sequences already, but not fully correct. This effectively reverts 63db0f271fd2f and fixes the wrong offset. Task-number: QTCREATORBUG-23830 Change-Id: I2cc1e9df5c0218cf9ee80998adce69bbc2eb4dab Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* AutoTest: Fix output handlingChristian Stenger2020-04-291-1/+1
| | | | | | | | | | | Connect to the correct signal to explicitly react on output coming on stdout. Necessary as we are changing the read channel while processing output. Fixes: QTCREATORBUG-23939 Change-Id: Ibf62de62fb64bd9c2395f93643e39d11d5b4e0d5 Reviewed-by: David Schulz <david.schulz@qt.io>
* Fix crash with sorting library itemsVikas Pachdha2020-04-294-28/+6
| | | | | | | | | | Strict weak ordering relation for the comparison was not followed. Using shared_ptr and removing QSharedData. The entry data is shared between instances Task-number: QDS-2011 Change-Id: Idfcd23b2d458f9c7cada47180cb6ab3b4b090416 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix bindings in metainfo fileThomas Hartmann2020-04-291-1/+17
| | | | | | | | | | | | | Since the parser update the string is not escaped anymore. Which to me is the more correct behavior. We have to remove the escape characters ourselves. Task-number: QDS-2019 Change-Id: I5d03e99ab87b27bfcb22170138b96e50f646e5e4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Doc: Fix the new project template's group nameVenugopal Shivashankar2020-04-291-1/+1
| | | | | | | Task-number: QTCREATORBUG-23858 Fixes: QTCREATORBUG-23858 Change-Id: If4493b9c5e3b017097c52797f14f3bc507275e61 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Fix deprecation against QProcess::start splitting overloadThiago Macieira2020-04-281-0/+6
| | | | | Change-Id: I9709abb1c3734e10a7defffd1607e6d198bbf964 Reviewed-by: hjk <hjk@qt.io>
* Add script for building external plugins for packagingEike Ziller2020-04-282-20/+155
| | | | | | | | Also turn off PCH for building Qt Creator and add some more options for local testing. Change-Id: Ic05099ef1dd8e8c78b174d7cd07a83b2f4a9cbb5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* DoxygenGenerator: Ignore attributes in declarationsLeander Schulten2020-04-281-3/+8
| | | | | | | Otherwise the doxygen generation will not work. Change-Id: I07889d84c179ec0ad931d9790f9270ebbd6d259d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Simplify 'long long int' to 'long long' in displayhjk2020-04-281-0/+1
| | | | | | | This also fixes the StdMap test case with LLDB 9.0.0 Change-Id: I0e4580b7e64d62664a81fd75a5e142717bf3563a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* McuSupport: Identify existing Kits for MCU Targets via meta dataAlessandro Portale2020-04-282-10/+21
| | | | | | | | | | | | | ... instead of just by kit name. Although the Kit name is quite verbose, it is missing some of the information needed to realiably identify Kits for MCU Targets. Use the Kit meta data for that, instead. This adds the color depth to the kit meta data. Change-Id: I39bc9a681a423a4309290b0f47298dbcb83b2e54 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake build: Fix copying & installation of resourcesEike Ziller2020-04-281-9/+26
| | | | | | | | | | | | - just copy & install whole directories, like the qmake build (basically) - copy & install scripts/ only on macOS - do not copy or install welcomescreen/ which is no longer used Fixes: QTCREATORBUG-23907 Fixes: QTCREATORBUG-23909 Fixes: QTCREATORBUG-23911 Change-Id: I0f9016848d15b214c40f454f39c5560d1faa4f32 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Debugger: Fix STL map size bug on WindowsJeremy Ephron2020-04-281-1/+2
| | | | | | | | | | Fixed a bug in obtaining the size of STL map with MinGW 32/64. Retrieved the size directly rather than unpacking the size from the data (which is not present in on Windows). Tested for compatibility with LLVM/LLDB on macOS. Change-Id: I4d836d6288465e82d694de0405965586683c1355 Reviewed-by: hjk <hjk@qt.io>
* CMake: build fix for unittestsCristian Adam2020-04-281-1/+1
| | | | | Change-Id: I1ead13e7b764a346ac49004ead2bf9ab6362ffb5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Bump versionEike Ziller2020-04-283-6/+6
| | | | | Change-Id: Ieb662d20d5bba2e410039bcdeb2459129601187a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Fix SelectionContext::hasSingleSelectedModelNodeThomas Hartmann2020-04-271-1/+2
| | | | | | | This one should use AbstractView::asSingleSelectedModelNode. Change-Id: I6bddd62866d50cbda087924bf55446b6cd087085 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix crashThomas Hartmann2020-04-271-0/+3
| | | | | | | | | Since we call updateItemSelection via a timer, there is no guarantee a model is attached. Task-number: QDS-1939 Change-Id: I37bf40cf3d6a057a8bc695d0d0ec73b6cf17fdb5 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* QmlJSEditor: Fix semantic highlightingChristian Stenger2020-04-271-2/+5
| | | | | | | | | Do not send empty ranges as they may mess up the highlighting of the file. Fixes: QTCREATORBUG-23729 Change-Id: I77adcccb3a3da890e87f0b2860b945819446a3a8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Fix QML designer item library crashVikas Pachdha2020-04-271-1/+2
| | | | | | Task-number: QDS-2011 Change-Id: Ibf0c6db47eb25b730bc31fc7b52b0ec93ab15a63 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* McuSupport: Make some functions in McuSupportOptions staticAlessandro Portale2020-04-273-29/+29
| | | | | | | | | | There is no good enough reason to have them non-static, and upcoming changes will have it a bit easier with static calls. Additionally, make McuTarget::m_toolChainPackage const. Change-Id: I002d5d56606d3b43c4c7a2f63c59e97a81342c69 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* McuSupport: Remove outdated Qt for MCUs kitsAlessandro Portale2020-04-274-0/+22
| | | | | | | | | | | | Add a version to the generated Qt for MCUs kits. That version will increase with every change to the way Qt for MCUs kits get generated. If there are auto-detected Qt for MCUs kits with a different version than the current, remove these kits when a "fresh" gets generated. Task-number: QTCREATORBUG-23891 Change-Id: Iafcd2342d458f9c77ada47180cb61b3b4b090598 Reviewed-by: Eike Ziller <eike.ziller@qt.io>