changes-4.2.0.md 8.07 KB
Newer Older
Eike Ziller's avatar
Eike Ziller committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Qt Creator version 4.2 contains bug fixes and new features.

The most important changes are listed in this document. For a complete
list of changes, see the Git log for the Qt Creator sources that
you can check out from the public Git repository. For example:

    git clone git://code.qt.io/qt-creator/qt-creator.git
    git log --cherry-pick --pretty=oneline origin/4.1..v4.2.0

General

* Added experimental editor for Qt SCXML
* Added pattern substitution for variable expansion
  `%{variable/pattern/replacement}` (and `%{variable//pattern/replacement}`
  for replacing multiple matches)
* Added default values for variable expansion (`%{variable:-default}`)
* Added Help > System Information for bug reporting purposes
  (QTCREATORBUG-16135)
* Added option to hide the central widget in Debug mode
20 21
* Fixed issues with output pane height
  (QTCREATORBUG-15986, QTCREATORBUG-16829)
Eike Ziller's avatar
Eike Ziller committed
22 23 24 25 26

Welcome

* Added keyboard shortcuts for opening recent sessions and projects
* Improved performance when many sessions are shown
Eike Ziller's avatar
Eike Ziller committed
27 28
* Fixed dropping files on Qt Creator when Welcome screen was visible
  (QTCREATORBUG-14194)
Eike Ziller's avatar
Eike Ziller committed
29 30 31 32 33 34

Editing

* Added action for selecting word under cursor (QTCREATORBUG-641)
* Fixed highlighting of Markdown files
  (QTCREATORBUG-16304)
35 36
* Fixed performance of cleaning whitespace (QTCREATORBUG-16420)
* Fixed selection color in help viewer for dark theme (QTCREATORBUG-16375)
Eike Ziller's avatar
Eike Ziller committed
37 38 39 40

Help

* Added option to open link and current page in window (QTCREATORBUG-16842)
41
* Fixed that no results could be shown in Locator (QTCREATORBUG-16753)
Eike Ziller's avatar
Eike Ziller committed
42 43 44 45 46 47 48 49 50 51

All Projects

* Reworked Projects mode UI
* Grouped all device options into one options category
* Added support for toolchains for different languages (currently C and C++)

QMake Projects

* Removed Qt Labs Controls wizard which is superseded by Qt Quick Controls 2
Eike Ziller's avatar
Eike Ziller committed
52 53
* Fixed that run button could spuriously stay disabled
  (QTCREATORBUG-16172, QTCREATORBUG-15583)
Eike Ziller's avatar
Eike Ziller committed
54 55 56 57
* Fixed `Open with Designer` and `Open with Linguist` for mobile and embedded Qt
  (QTCREATORBUG-16558)
* Fixed Add Library wizard when selecting library from absolute path or
  different drive (QTCREATORBUG-8413, QTCREATORBUG-15732, QTCREATORBUG-16688)
58
* Fixed issue with make steps in deploy configurations (QTCREATORBUG-16795)
Eike Ziller's avatar
Eike Ziller committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72

CMake Projects

* Added support for CMake specific snippets
* Added support for platforms and toolsets
* Added warning for unsupported CMake versions
* Added drop down for selecting predefined values for properties
* Improved performance of opening project (QTCREATORBUG-16930)
* Made it possible to select CMake application on macOS
* Fixed that all unknown build target types were mapped to `ExecutableType`

Qbs Projects

* Made generated files available in project tree (QTCREATORBUG-15978)
73
* Fixed handling of generated files (QTCREATORBUG-16976)
Eike Ziller's avatar
Eike Ziller committed
74 75 76 77 78

C++ Support

* Added preview of images to tool tip on Qt resource URLs
* Added option to skip big files when indexing (QTCREATORBUG-16712)
Eike Ziller's avatar
Eike Ziller committed
79
* Fixed random crash in LookupContext (QTCREATORBUG-14911)
Eike Ziller's avatar
Eike Ziller committed
80 81 82 83 84
* Fixed `Move Definition to Class` for functions in template class and
  template member functions (QTCREATORBUG-14354)
* Fixed issues with `Add Declaration`, `Add Definition`, and
  `Move Definition Outside Class` for template functions
* Clang Code Model
85
    * Added notification for parsing errors in headers
Eike Ziller's avatar
Eike Ziller committed
86 87
    * Improved responsiveness of completion and highlighting

88 89 90 91
QML Support

* Fixed handling of circular dependencies (QTCREATORBUG-16585)

Eike Ziller's avatar
Eike Ziller committed
92 93
Debugging

Eike Ziller's avatar
Eike Ziller committed
94
* Added pretty printing of `QRegExp` captures, `QStaticStringData`,
95 96 97
  `QStandardItem`, `std::weak_ptr`, `std::__1::multiset`,
  and `std::pair`
* Added display of QObject hierarchy and properties in release builds
98
* Added support to pretty-print custom types without debug info
99
* Enhanced display of function pointers
Eike Ziller's avatar
Eike Ziller committed
100
* Improved pretty printing of QV4 types
101 102 103
* Made display of associative containers, pairs, and various smart
  pointers more compact
* Made creation of custom pretty printers easier
104 105 106 107 108 109 110 111
* Fixed pretty printing of `QFixed`
* Fixed scrolling in memory editor (QTCREATORBUG-16751)
* Fixed expansion of items in tool tip (QTCREATORBUG-16947)
* GDB
    * Fixed handling of built-in pretty printers from new versions of GDB
      (QTCREATORBUG-16758)
    * Fixed that remote working directory was used for local process
      (QTCREATORBUG-16211)
Eike Ziller's avatar
Eike Ziller committed
112 113
* LLDB
    * Added support for Qt Creator variables `%{...}` in startup commands
114 115 116
* CDB
    * Fixed display order of vectors in vectors (QTCREATORBUG-16813)
    * Fixed display of QList contents (QTCREATORBUG-16750)
Eike Ziller's avatar
Eike Ziller committed
117
* QML
118
    * Fixed that expansion state was reset when stepping
Eike Ziller's avatar
Eike Ziller committed
119
    * Fixed `Load QML Stack` with Qt 5.7 and later (QTCREATORBUG-17097)
Eike Ziller's avatar
Eike Ziller committed
120 121 122 123 124 125

QML Profiler

* Added option to show memory usage and allocations as flame graph
* Added option to show vertical orientation lines in timeline
  (click the time ruler)
126 127
* Separated compile events from other QML/JS events in statistics and
  flamegraph, since compilation can happen asynchronously
Eike Ziller's avatar
Eike Ziller committed
128 129 130

Qt Quick Designer

131
* Added completion to expression editor
Eike Ziller's avatar
Eike Ziller committed
132 133 134 135 136 137 138 139 140 141 142 143
* Added menu for editing `when` condition of states
* Added editor for managing C++ backend objects
* Added reformatting of `.ui.qml` files on save
* Added support for exporting single properties
* Added support for padding (Qt Quick 2.6)
* Added support for elide and various font properties to text items
* Fixed that it was not possible to give extracted components
  the file extension `.ui.qml`
* Fixed that switching from Qt Quick Designer failed to commit pending changes
  (QTCREATORBUG-14830)
* Fixed issues with pressing escape

Eike Ziller's avatar
Eike Ziller committed
144 145 146 147 148
Qt Designer

* Fixed that resources could not be selected in new form
  (QTCREATORBUG-15560)

Eike Ziller's avatar
Eike Ziller committed
149 150
Diff Viewer

151 152
* Added local diff for modified files in Qt Creator (`Tools` > `Diff` >
  `Diff Current File`, `Tools` > `Diff` > `Diff Open Files`)
Eike Ziller's avatar
Eike Ziller committed
153
  (QTCREATORBUG-9732)
154 155
* Added option to diff files when they changed on disk
  (QTCREATORBUG-1531)
Eike Ziller's avatar
Eike Ziller committed
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
* Fixed that reload prompt was shown when reverting change

Version Control Systems

* Gerrit
    * Fixed pushing to Gerrit when remote repository is empty
      (QTCREATORBUG-16780)

Test Integration

* Added option to disable crash handler when debugging
* Fixed that results were not shown when debugging (QTCREATORBUG-16693)
* Fixed that progress indicator sometimes did not stop

Model Editor

* Added zooming
* Added synchronization of selected diagram in diagram browser

175 176 177 178 179
Beautifier

* Fixed that beautifier was not enabled for Objective-C/C++ files
  (QTCREATORBUG-16806)

Eike Ziller's avatar
Eike Ziller committed
180 181
Platform Specific

Eike Ziller's avatar
Eike Ziller committed
182 183 184 185 186 187
Windows

* Added support for MSVC 2017
* Fixed that environment variables containing special characters were not
  passed correctly to user applications (QTCREATORBUG-17219)

188 189 190 191
macOS

* Fixed issue with detecting LLDB through `xcrun`

Eike Ziller's avatar
Eike Ziller committed
192 193
Android

194
* Added API level 24 for Android 7
Eike Ziller's avatar
Eike Ziller committed
195
* Improved stability of determination if application is running
196
* Fixed debugging on Android 6+ with NDK r11+ (QTCREATORBUG-16721)
Eike Ziller's avatar
Eike Ziller committed
197 198 199 200 201 202
* Fixed that running without deployment did not start emulator
  (QTCREATORBUG-10237)
* Fixed that permission model downgrade was not detected as error
  (QTCREATORBUG-16630)
* Fixed handling of minimum required API level (QTCREATORBUG-16740)

Eike Ziller's avatar
Eike Ziller committed
203 204
iOS

205 206 207 208
* Fixed simulator support with Xcode 8 (QTCREATORBUG-16942)
* Fixed that standard paths reported by QStandardPaths were wrong when
  running on simulator (QTCREATORBUG-13655)
* Fixed QML debugging on device (QTCREATORBUG-15812)
Eike Ziller's avatar
Eike Ziller committed
209

Eike Ziller's avatar
Eike Ziller committed
210 211 212 213
Remote Linux

* Fixed crash when creating SSH key pair (QTCREATORBUG-17349)

214 215 216 217
QNX

* Fixed QML debugging (QTCREATORBUG-17208)

Eike Ziller's avatar
Eike Ziller committed
218
Credits for these changes go to:  
Orgad Shaneh's avatar
Orgad Shaneh committed
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
Aaron Barany  
Alessandro Portale  
Alexander Drozdov  
Andre Hartmann  
André Pönitz  
Arnold Dumas  
Christian Kandeler  
Christian Stenger  
Daniel Langner  
Daniel Trevitz  
David Schulz  
Eike Ziller  
Florian Apolloner  
Francois Ferrand  
Friedemann Kleint  
Giuseppe D'Angelo  
Jake Petroules  
Jaroslaw Kobus  
Jochen Becher  
Konstantin Shtepa  
Kudryavtsev Alexander  
Leena Miettinen  
Louai Al-Khanji  
Marc Reilly  
Marco Benelli  
Marco Bubke  
Mitch Curtis  
Nazar Gerasymchuk  
Nikita Baryshnikov  
Nikolai Kosjar  
Orgad Shaneh  
Oswald Buddenhagen  
Øystein Walle  
Robert Löhning  
Serhii Moroz  
Takumi ASAKI  
Tasuku Suzuki  
Thomas Hartmann  
Tim Jenssen  
Tobias Hunger  
Ulf Hermann  
Vikas Pachdha