changes-4.2.0.md 6.1 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 20 21 22 23 24
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

Welcome

* Added keyboard shortcuts for opening recent sessions and projects
* Improved performance when many sessions are shown
Eike Ziller's avatar
Eike Ziller committed
25 26
* Fixed dropping files on Qt Creator when Welcome screen was visible
  (QTCREATORBUG-14194)
Eike Ziller's avatar
Eike Ziller committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

Editing

* Added action for selecting word under cursor (QTCREATORBUG-641)
* Fixed highlighting of Markdown files
  (QTCREATORBUG-16304)

Help

* Added option to open link and current page in window (QTCREATORBUG-16842)

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
47 48
* Fixed that run button could spuriously stay disabled
  (QTCREATORBUG-16172, QTCREATORBUG-15583)
Eike Ziller's avatar
Eike Ziller committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
* 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)

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)

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
72
* Fixed random crash in LookupContext (QTCREATORBUG-14911)
Eike Ziller's avatar
Eike Ziller committed
73 74 75 76 77
* 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
Nikolai Kosjar's avatar
Nikolai Kosjar committed
78
    * Added notification for parsing errors in headers
Eike Ziller's avatar
Eike Ziller committed
79 80 81 82
    * Improved responsiveness of completion and highlighting

Debugging

Eike Ziller's avatar
Eike Ziller committed
83 84
* Added pretty printing of `QRegExp` captures, `QStaticStringData`, and
  `std::pair`
Eike Ziller's avatar
Eike Ziller committed
85 86 87 88 89
* Improved pretty printing of QV4 types
* Made display of maps more compact
* Fixed pretty printing of `QFixed`
* LLDB
    * Added support for Qt Creator variables `%{...}` in startup commands
Eike Ziller's avatar
Eike Ziller committed
90 91
* QML
    * Fixed `Load QML Stack` with Qt 5.7 and later (QTCREATORBUG-17097)
Eike Ziller's avatar
Eike Ziller committed
92 93 94 95 96 97 98 99 100

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)

Qt Quick Designer

101
* Added completion to expression editor
Eike Ziller's avatar
Eike Ziller committed
102 103 104 105 106 107 108 109 110 111 112 113
* 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
114 115 116 117 118
Qt Designer

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

Eike Ziller's avatar
Eike Ziller committed
119 120
Diff Viewer

121 122
* 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
123
  (QTCREATORBUG-9732)
124 125
* Added option to diff files when they changed on disk
  (QTCREATORBUG-1531)
Eike Ziller's avatar
Eike Ziller committed
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
* 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

Platform Specific

Eike Ziller's avatar
Eike Ziller committed
147 148 149 150 151 152
Windows

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

Eike Ziller's avatar
Eike Ziller committed
153 154 155 156 157 158 159 160 161
Android

* Improved stability of determination if application is running
* 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
162 163 164 165
iOS

* Fixed that Qt Creator was blocked until simulator finished starting

Eike Ziller's avatar
Eike Ziller committed
166
Credits for these changes go to:  
Orgad Shaneh's avatar
Orgad Shaneh committed
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
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