• 20114阅读
  • 6回复

[新闻]Qt Creator 2.2 released [复制链接]

上一主题 下一主题
离线XChinux
 

只看楼主 倒序阅读 楼主  发表于: 2011-05-06
原文见:http://labs.qt.nokia.com/2011/05/06/qt-creator-2-2-released/


We are happy to announce the release of Qt Creator 2.2.
Even if this release is following the previous release after not even ten weeks it contains a whole lot of new features as well as bug fixes and enhancements making an update worthwhile.
Let’s have a look at some highlights:
  • New Bazaar VCS support by Hugues Delorme.
  • Completely rewritten debugging support for the MSVC toolchain, resulting in significant speed improvements and allowing to debug 32 bit and 64 bit applications independent of the build of Qt Creator itself.
  • New configurable MIME type definitions to map editors to files as you wish (look in Environment->MIME Types).
  • New support recording and playing text editing macros by Nicolas Arnaud-Cormos.
  • New configurable snippets to the editors, already including a range of predefined C++ and QML snippets (see  Preferences->Text Editor->Snippets). Snippets support placeholders.
  • New configurable access to external tools, also used, but not restricted to, access to the native Qt translation tool lupdate and lrelease.
  • New pinnable debugger tool tips.
  • New support for the CODA Symbian on-device debugging agent.
  • New Valgrind/memcheck based memory debugger integration added (Debug->Analyzer) for Linux and Mac.
  • New specialized editor for the GL shader language.
Improvements to already existing features include
  • Better QML support, such as completion for urls, file imports and attached properties.
  • Better JSlint-style warnings
  • Better locator filter for QML functions.
  • Improved Qt Quick Designer.
  • Better support for manually configured tool chains.
  • Better support for mixed QML/C++ debugging, like mixed stepping from QML into C++ plugin code.
  • Better customization of build steps through variables like the file path of the current document.
  • Proper quoting and use of native shell syntax when specifying a program’s command line arguments.
…and many more, as listed in the changes file.
Source packages, as well as binaries for Linux, Windows and Mac, are available from The Qt Developer Network. The sources are also directly available from the git repository.
As usual,  please don’t hesitate to post suggestions through the usual means, i.e. the Bug tracker, the Mailing list, or the #qt-creator IRC channel on Freenode.
To give some optical impression of Qt Creator, some random screenshots follow:
                                                                    A memory leak was found                                                            Code completion with snippets                                                            QML editing                
                                            Quick toolbar                                                            QML tutorial                                                            QML visual editor                
                                            Adding a library                                                            Project specific editor settings                                                            Accessing external tools                
                                            The Target Selector                                                            The Locator                                                            Maemo packaging                
                                            The Simulator                                                            Publishing for Symbian                                                            Project run settings                
                                            Project build settings                                                            Debugger, locals and watchers view                                                            Finally, the Welcome Screen ;-)                
            
        
Qt Creator 2.2 not yet contained in the Qt SDK 1.1, but the plan is, of course, to make it available as update.

二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线XChinux

只看该作者 1楼 发表于: 2011-05-06
Qt Creator 2.2 Changes
1Qt Creator version 2.2 contains bug fixes and new features.
2
3The most important changes are listed in this document. For a complete
4list of changes, see the Git log for the Qt Creator sources that
5you can check out from the public Git repository. For example:
6
7git clone git://gitorious.org/qt-creator/qt-creator.git
8git log --cherry-pick --pretty=oneline origin/2.1...origin/2.2
9
10General
11   * Add support for running user defined external tools (Tools > External)
12   * Move tool chain definitions out of Qt versions:
13      * You can now define tool chains in Tools > Options > Tool Chains
14      * Qt Creator now supports more than one instance of a tool chain
15   * Add support for customizing MIME types by editing patterns and
16     magic headers
17   * Integrate the memcheck tool from Valgrind for Linux and Mac OS X
18   * Create the infrastructure to set up "soft dependencies" between plugins
19   * Add the qtpromaker tool that has the same functionality as
20     "qmake -project", but is much faster. It provides a way to easily set up
21     dummy .pro files that you need to quickly inspect and navigate "alien"
22     codebases with Qt Creator
23   * Document Qt Creator coding style
24
25Editing
26   * Add an Inkpot color scheme
27   * Add UTF-8 BOM support
28   * Move the Open in External Editor item to Tools > External > Text
29   * Add the Expand/Collapse All context menu item to the Outline pane
30   * Add support for user-defined macros (contributed by Nicolas Arnaud-Cormos)
31   * Add a snippet editor with syntax highlighting, indentation, and basic
32     auto-completion for C++ and QML
33   * Add GLSL support with:
34     - Syntax checking
35     - Highlighting
36     - Code completion
37   * Binary editor:
38     - Visualize data differences after updates
39     - Fix selection if cursor is left of anchor
40     - Allow copying also if selection is "backwards"
41     - Do not draw blinking cursor when there is a selection
42     FakeVim:
43     - Implement Ctrl-N/Ctrl-P
44     - Implement 's' in visual block mode
45     - Fix Alt-Gr handling on Windows
46     - Handle more Ctrl-W + <x> commands
47
48Managing Projects
49   * Improve the robustness of qmake project support against syntax errors
50   * Change the handling of command line arguments of processes that are
51     started from build and run configurations:
52     - Argument lists use native shell syntax; this affects quoting and
53       environment variable expansion most
54     - The SOURCEDIR and BUILDDIR environment variables were replaced
55       with %{sourceDir} and %{buildDir} variables
56     - This affects working directories and executable paths as well
57   * Support syntax highlighting and completion for qmake project files
58   * CMake: Add UI completion, changes in .ui files are picked up without
59     a rebuild
60   * Specify text editor behavior settings per project
61   * New project and file wizards:
62     - Support new keywords %MONTH% and %DAY% for C++ template file
63     - Add wizards for creating OpenGL fragment and vertex shaders
64     - Add a wizard for creating HTML5 based applications
65     - Add a wizard for creating JavaScript files, QTCREATORBUG-3070
66
67Debugging
68   * Rewrite debugging engine using the Microsoft Console Debugger (CDB)
69     for debugging executables built with Microsoft Visual Studio,
70     resulting in significant speed-up and better display of data
71     types, supporting both 32-bit and 64-bit versions of the
72     Debugging Tools for Windows
73   * Make it possible to pin debugger tooltips
74   * Rework global architecture to allow multiple debugging sessions (for
75     different projects, combined QML/C++ debugging, project snapshots,
76     and so on)
77   * Rework breakpoint handling: add special breakpoint types for break
78     on throw and break on main, as well as data breakpoints
79   * Introduce combined QML/C++ debugging (combined stack, cross-step) (GDB only)
80   * Rework per-type and per-item selection of display formats
81   * Add dumpers for QTextCursor, QTextDocument, __m128, QScriptValue
82     QBasicAtomicPointer, bit fields, boost::shared_ptr (GDB only)
83   * Improve dumpers for QRegion, QVariant (custom types), QSharedPointer,
84     QMultiMap (QTCREATORBUG-3122), QObject, QWeakPointer
85   * Make alphabetic structure member sorting optional
86   * Make dumpers robust in case of missing debug information
87   * Improve Python dumper profiling support
88   * Improve stepping performance
89   * Enable breakpoint setting from a disassembler view, QTCREATORBUG-3667
90   * Fix display of shadowed variables
91   * Fix display of data containing quote characters, QTCREATORBUG-3084
92   * Fix display of C-style typedef struct X { ... } X;
93   * Fix stack/break view updates after manual module loading, QTCREATORBUG-3427
94   * Fix Jump To/Run To when in instruction-wise mode
95   * Fix the watcher handling
96   * Allow re-running debugger engines, QTCREATORBUG-3073
97   * Robust process control after -exec-interrupt errors, QTCREATORBUG-2850
98   * Robust detection of Qt-in-namespace builds
99   * Handle "live updates" in the memory view
100   * Make memory view writable (GDB only)
101   * Improve starting debugger session directly from the command line
102   * Improve Debugging Helpers dialog
103
104Debugging QML/JS
105   * Compile qmljsdebugger code as static library, and link it according to the
106     setting in the qmake step (replaces QMLJSDEBUGGER_PATH / QMLJSDEBUGGER define)
107   * Qt Quick Application: Allow debugging also in release builds, improve error
108     diagnostics
109   * GUI cosmetics in JS debugger: Show stack frame level, only valid
110     line numbers in stack view, do not show function code, show dummy
111     child entry for empty arrays
112   * Added QML tooltips for property inspection at debug time
113   * Extend QML Observer for inspection and tweaking of item properties
114   * Add navigation of the object tree in the QML Observer through a crumble path
115   * Add the Show Application on Top option
116   * Move the toolbar from the Observer tab to the main toolbar
117   * Support setting of breakpoints in .qml files embedded as qrc resources
118   * Improve linking of QML errors in Application Output pane
119
120C++ Support
121   * Add a refactoring action for implementing setters and getters for
122     a Q_PROPERTY
123   * Add documentation for refactoring actions
124   * Fix switch statement indentation for GNU and Whitesmiths
125     style, QTCREATORBUG-2994
126   * Fix indentation of labels
127   * Support highlighting for virtual functions
128   * Navigate to correct overloaded function or method
129
130QML/JS Support
131   * Add local-file completion for URL properties, QTCREATORBUG-2619
132   * Add warning about invalid files in URL properties
133   * Add file name completion in imports, QTCREATORBUG-3067
134   * Add a locator filter for JS functions, QTCREATORBUG-2607
135   * Add JSlint-style warnings about common JS pitfalls, QTCREATORBUG-3071
136   * Add completion for attached properties like Component.onCompleted
137   * Allow QML modules to ship predumped type description files
138   * Reenable instantiating component scope detection, QTCREATORBUG-2835
139   * Improve error reporting of failed plugin dumps
140   * Complete a trailing '{' for 'A on b' object bindings, QTCREATORBUG-2642
141   * Highlight capitalized types, QTCREATORBUG-2658
142   * Re-dump a plugin if the shared library/DLL changes, QTCREATORBUG-3047
143   * Build qmldump in debug and release version on Windows, QTCREATORBUG-3549
144   * Change qmldump to output QML instead of XML
145   * Fix automatic '.' import to also pick up QML modules, QTCREATORBUG-3768
146   * Fix code model update when files are renamed, QTCREATORBUG-2986
147   * Fix incorrect completion when brace is on a separate line, QTCREATORBUG-2658
148   * Fix quote autoinsertion in string literals, QTCREATORBUG-2155, QTCREATORBUG-3244
149   * Fix '{' not being an electric character, QTCREATORBUG-3405
150   * Fix indentation of 'foo: Namesp.Type {', QTCREATORBUG-3371
151   * .qmlproject format: Allow specifying the 'mainFile' qml file, bump version to 1.1
152   * Qt Quick UI project: allow user to change run environment
153
154Help
155
156Platform Specific
157
158Mac
159
160Linux (GNOME and KDE)
161
162Windows
163
164Symbian Target
165   * Add support for the new on-device debugging agent (CODA)
166
167Maemo Target
168   * Add MeeGo support
169   * Add a wizard for configuring connections to Maemo and MeeGo devices
170   * Add a wizard for publishing applications to Fremantle/extras-devel
171   * Create desktop files on demand
172   * Allow disabling packaging for Fremantle
173
174Qt Designer
175
176Version control plugins
177   * Support Bazaar (contributed by Hugues Delorme)
178
179Additional credits go to:
180   * The Inkpot color scheme was based on the Vim color scheme by
181     Ciaran McCreesh, adapted for Qt Creator by Jan Kundrát and
182     subsequently updated by Campbell Barton
183   * Hugues Delorme for the Bazaar plugin which he continues to improve
184   * Nicolas Arnaud-Cormos for the Macro plugin
[ 此帖被XChinux在2011-05-07 10:12重新编辑 ]
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线comfanter
只看该作者 2楼 发表于: 2011-05-06
很快啊,只比Qt SDK 1.1晚了两天
离线wxj120bw

只看该作者 3楼 发表于: 2011-05-07
谢谢斑竹 提供这么详细的qt信息
离线XChinux

只看该作者 4楼 发表于: 2011-05-07
QML大幅增强,还发现了两点感兴趣的,一是qtpromaker工具,等于qmake -project,辅助快速生成工程文件的,还有增加了meego的支持,不知道什么时候可以Qt SDK和MeeGo SDK可以二合一。
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线zzjin

只看该作者 5楼 发表于: 2011-05-07
..很期待QML的继续发展啊~
离线axlrose

只看该作者 6楼 发表于: 2011-05-07
更新的可真多,越来越好,不错
枪炮与玫瑰
快速回复
限100 字节
 
上一个 下一个