changes-4.0.0.md 6.73 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
Qt Creator version 4.0 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/3.6..origin/4.0

General

* Changed licensing to GPLv3 with exception
* Made commercial-only features available as opensource:
    * Test integration
    * Clang static analyzer integration
    * QML Profiler extensions
* Merged Debug and Analyze modes
* Added support for using `git grep` for file system search
  (QTCREATORBUG-3556)
* Fixed issues with HiDPI (QTCREATORBUG-15222)
* Fixed that switching theme did not switch editor color scheme
  (QTCREATORBUG-15229)
Eike Ziller's avatar
Eike Ziller committed
23
* Fixed crash when double clicking wizard (QTCREATORBUG-15968)
Eike Ziller's avatar
Eike Ziller committed
24 25 26 27 28 29 30 31

Editing

* Added support for `(<linenumber>)` after file names when opening files
  (QTCREATORBUG-14724)
* Added `Go to Previous Split or Window`
* Fixed whitespace cleaning for mixed tabs and spaces configurations
  (QTCREATORBUG-7994)
Eike Ziller's avatar
Eike Ziller committed
32 33
* Fixed download of highlighting files (QTCREATORBUG-15997)
* Fixed crash when cutting text from multiple splits (QTCREATORBUG-16046)
Eike Ziller's avatar
Eike Ziller committed
34 35 36 37

Help

* Fixed issues with scrolling to right position (QTCREATORBUG-15548)
Eike Ziller's avatar
Eike Ziller committed
38 39
* Fixed images overlapping text with older Qt documentation (QTCREATORBUG-15887)
* Fixed fallback font (QTCREATORBUG-15887)
Eike Ziller's avatar
Eike Ziller committed
40 41 42 43 44

QMake Projects

* Added wizard for creating `Qt Labs Controls Application`
* Added support for `STATECHARTS`
Eike Ziller's avatar
Eike Ziller committed
45
* Fixed crash when switching session while project is read (QTCREATORBUG-15993)
Eike Ziller's avatar
Eike Ziller committed
46 47 48

CMake Projects

49
* Increased minimum CMake version to 3.0
Eike Ziller's avatar
Eike Ziller committed
50 51 52 53 54 55 56 57 58 59 60
* Changed CMake to run automatically in the background
* Added CMake generator setting per kit
* Added CMake configuration setting per kit and build configuration
* Added reading of existing `CMakeCache.txt`
* Added parsing of CMake errors
* Changed building to use `cmake --build`
* Fixed that `clean` target could be missing
* Fixed issue with mapping source files to targets (QTCREATORBUG-15825)

Qbs Projects

Orgad Shaneh's avatar
Orgad Shaneh committed
61
* Improved performance when opening large projects
Eike Ziller's avatar
Eike Ziller committed
62 63 64 65 66 67 68 69 70 71
* Added support for SCXML files

Qt Support

* Added C++ and QML code model support for `SCXML` files via `qscxmlc`
* Fixed that moc notes were reported as errors

C++ Support

* Fixed issue with negative enum values
Eike Ziller's avatar
Eike Ziller committed
72
* Fixed completion of Doxygen tags (QTCREATORBUG-9373, QTCREATORBUG-15143)
Eike Ziller's avatar
Eike Ziller committed
73 74 75 76 77 78 79 80 81
* Clang code model
    * Simplified activation (it is now active if the plugin is enabled)
    * Added customizable configurations for warnings (global and per project)
    * Added light bulb for Clang's Fix-its
    * Fixed that child diagnostics were not shown in tool tip

QML Support

* Fixed various issues with QML/JS Console (QTCREATORBUG-14931)
Eike Ziller's avatar
Eike Ziller committed
82
* Fixed resolution of `alias` directives in `.qrc` files
Eike Ziller's avatar
Eike Ziller committed
83 84 85

Debugging

Eike Ziller's avatar
Eike Ziller committed
86 87
* Added pretty printers for `std::set`, `std::map`, `std::multimap`
  (for simple types of keys and values), `std::valarray` and `QBitArray`
Eike Ziller's avatar
Eike Ziller committed
88 89 90 91 92
* Improved performance for watches
* Improved visualization of `QByteArray` and `char[]` with non-printable
  values (QTCREATORBUG-15549)
* CDB
    * Fixed showing value of `std::[w]string` (QTCREATORBUG-15016)
Eike Ziller's avatar
Eike Ziller committed
93 94 95 96 97 98
* GDB
    * Fixed import of system pretty printer (QTCREATORBUG-15923)
    * Fixed changing display format for `float` (QTCREATORBUG-12800)
* LLDB
    * Fixed issues with Xcode 7.3
      (QTCREATORBUG-15965, QTCREATORBUG-15945, QTCREATORBUG-15949)
Eike Ziller's avatar
Eike Ziller committed
99
    * Fixed breakpoint commands (QTCREATORBUG-15585)
Eike Ziller's avatar
Eike Ziller committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113

QML Profiler

* Added visualizing statistics as flame graphs
* Added support for additional input event attributes
* Added zooming timeline with `Ctrl + mouse wheel`
* Added `self time` to events
* Renamed `Events View` to `Statistics View`
* Fixed that zooming time line moved it to different location
  (QTCREATORBUG-15440)

Clang Static Analyzer

* Fixed analyzing with MinGW tool chain settings
Eike Ziller's avatar
Eike Ziller committed
114
* Fixed that Clang was run with default target instead of project target
Eike Ziller's avatar
Eike Ziller committed
115 116 117 118 119 120 121

Test Integration

* Added searching through test results
* Fixed resolution of source file of failed test on Windows (QTCREATORBUG-15667)
* Fixed that additional output of passing tests was ignored
* Fixed test detection with CMake projects (QTCREATORBUG-15813)
Eike Ziller's avatar
Eike Ziller committed
122
* Fixed crash while editing test (QTCREATORBUG-16062)
Eike Ziller's avatar
Eike Ziller committed
123
* Google Test
Eike Ziller's avatar
Eike Ziller committed
124 125
    * Added support for typed tests
    * Fixed parsing of file and line information
Eike Ziller's avatar
Eike Ziller committed
126 127 128 129 130 131 132 133 134 135 136 137 138

Qt Quick Designer

* Added `Space + mouse drag` for dragging design area (QTCREATORBUG-11321)
* Added dialog for adding signal handlers
* Fixed `Always save when leaving subcomponent in bread crumb`

Version Control Systems

* Git
    * Increased minimum Git version to 1.8.0
    * Fixed missing update of file list in commit editor after merging files
      (QTCREATORBUG-15569)
Orgad Shaneh's avatar
Orgad Shaneh committed
139 140
    * Added optional hiding of branches without activity for 90 days to Branches
      dialog (QTCREATORBUG-15544)
Eike Ziller's avatar
Eike Ziller committed
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185

Diff Viewer

* Added scrolling to file when showing a change from file log

Custom Wizards

* Added that directories are allowed as file generator source

FakeVim

* Fixed replacing with special characters (QTCREATORBUG-15512)
* Fixed issue with `Ctrl+[` (QTCREATORBUG-15261)

TODO

* Added searching through TODO entries

Model Editor

* Added exporting diagrams as PNG, PDF, or SVG
  (Tools > Model Editor > Export Diagram)
* Added support for model specific configuration
* Added automatic showing of class members
* Added in-place editing of item names
* Fixed issue with special characters in class member declarations
* Fixed support for static members

Platform Specific

Windows

* Added auto-detection of Clang tool chain (QTCREATORBUG-15641)

Linux

* Changed default terminal to `x-terminal-emulator`
* Fixed notification for externally modified files while modal dialog is open
  (QTCREATORBUG-15687)

Android

* Fixed issues with `Select Android Device`
  (QTCREATORBUG-15338, QTCREATORBUG-15422)

Eike Ziller's avatar
Eike Ziller committed
186 187 188 189 190
iOS

* Fixed building for device with Qt 5.7 (QTCREATORBUG-16102)
* Fixed brief freezes while handling build output (QTCREATORBUG-15613)

Eike Ziller's avatar
Eike Ziller committed
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
Credits for these changes go to:  
Alessandro Portale  
Alexandru Croitor  
Andre Hartmann  
André Pönitz  
Artem Chystikov  
Aurindam Jana  
BogDan Vatra  
Caspar Schutijser  
Christiaan Janssen  
Christian Kandeler  
Christian Stenger  
Daniel Teske  
David Schulz  
Denis Shienkov  
Dmytro Poplavskiy  
Eike Ziller  
Fathi Boudra  
Francois Ferrand  
Friedemann Kleint  
Jake Petroules  
Jesus Fernandez  
Jochen Becher  
Kai Köhne  
Leena Miettinen  
Lorenz Haas  
Lukas Holecek  
Marco Benelli  
Marco Bubke  
Marc Reilly  
Martin Kampas  
Mitch Curtis  
Niels Weber  
Nikita Baryshnikov  
Nikolai Kosjar  
Orgad Shaneh  
Oswald Buddenhagen  
Robert Löhning  
Svenn-Arne Dragly  
Takumi ASAKI  
Thomas Hartmann  
Tim Jenssen  
Tobias Hunger  
Tom Deblauwe  
Topi Reinio  
Ulf Hermann  
Yuchen Deng