Qt Creator 2.3 beta released

We are happy to announce the release of the first beta of the new upcoming Qt Creator version 2.3. This time we got one big contribution again, namely lots of fixes to the support of the Bazaar version control system. A big Thank You to Hugues Delorme aka 'cerf' for that! Also many thanks to all the other contributors: all in all we integrated 47 external merge requests into 2.3.

This release adds lots of new features as well as a great amount of bug fixes. I'll mention some prominent ones here (as always, the list is not complete, there is no specific ordering):
  • Qt Creator coding style settingsExample and tutorial browsing with descriptive texts, and filtering for examples matching a keyword
  • Enhanced C++ coding style options, with indent settings and alignment settings split up for the different use cases depending on element, including preview and separation between global and project specific settings
  • Support for deployment and running to a more general "remote Linux" - just add your remote deploy and run configuration to your desktop target and define remote Linux "device" settings (you have to set up your cross-compiler on your own though)
  • Support for compiling projects with the Clang compiler
  • Code completion is now populated in a separate thread, no editor blocking any more
  • Profiling now has it's own "Analyze" mode. Added two more profiling options:
  • Symbian got CODA support, allowing for deployment via WiFi
  • Various Qt Quick support enhancements besides the QML profiling:
    • Support for models and delegates in the Qt Quick Designer - fully populated ListViews, GridViews and PathViews are now available from the item library
    • Support for editing inline components and delegates
    • Improved Live Preview (a.k.a. modifying QML while the app is running in the debugger)
    • Added 'Find usages' functionality for QML types

If you want a more complete list of what has changed you should take a look at the change log, or our bug tracker ('fix version' 2.3.0), or our code repository directly.


Blog Topics:

Comments

?
danny
0 points
166 months ago

Great stuff, particularly the the clang support and threading compilation!

I tried to use the Analyze mode with valgrand on OSX before but could never get it to work inside Creator. Valgrind is installed (and works when run from the command line), I added the binary tool to the Creator preferences. But when I choose Analyze, the app starts and quits. What am I missing? A tutorial for getting this working on OSX would be awesome.

?
Eike Ziller
0 points
166 months ago

@danny: Valgrind on Mac is a bit - flaky. I've added some comments to http://bugreports.qt.nokia.... for now with my experience (boiling down to Valgrind having problems with 64bit)

?
Eike Ziller
0 points
166 months ago

@danny: looks like there is another issue too: http://bugreports.qt.nokia....

?
rick
0 points
166 months ago

I take it we cannot upgrade using an installed 2.2.1, but if I install this 2.3Beta will it upgrade itself in time to 2.3Final? Also, I notice it talks about using 1.1QtQuick in the notes, do I have to install/build Qt 4.8 to use that or does the downloader pull that in?

Good work btw! (Not your fault but my only wish is accelerated Qemu to work so I can test my Meego app :)

?
multiHYP
0 points
166 months ago

Things that were possible on Qt Creator 2.2.1 are not doable on Qt Creator 2.3 beta, but since its beta I guess its alright. Could you please either keep the remote compiler settings for Symbian deployment under Mac OS X in tact or provide instructions on how to use them under the new Qt Creator 2.3 project settings?
Is is finally possible to deploy Symbian applications straight to the device with Mac OS X?

Thanks. :)

?
Per Arneng
0 points
166 months ago

What is the status of C++11 support?

?
Guido Seifert
0 points
166 months ago

Very nice. The welcome screen could easily 'enhanced'. There is enough space to make the 'Featured News' section larger and allow larger fonts. Perhaps even add a splitter to resize the areas. Would be nice for people with less than optimal eyes. :-)

?
Guido Seifert
0 points
166 months ago

Btw. welcome screen and 'Featured News' there should be an option to disable the news. A paranoid person could think of this feature as 'phoning home'. ;-)

?
thellvig
0 points
166 months ago

You guys rock! keep up the good work...

Thanks again

?
akse
0 points
166 months ago

When do we get new update for QtSDK and S^3 phones? Looking forward to QtMobility 1.2 especially.

?
diorahman
0 points
166 months ago
  1. I couldn't add 'Remote Compiler' at target setup on Mac OS X, 2.2.1 works fine. Any clue?
  2. About the CODA support for Symbian, anyone could help me to see it through?

Thanks! Keep up the great work!

Dio

?
Orgad
0 points
166 months ago

Congrats!

Great work, Thank you!

?
Yuriy
0 points
166 months ago

Highlighting of syntax the extremely poor. I can add some rules in cpp.xml, but they in any way do not work in QtCreator (though work in Kate). And I even cannot present some rules as to formulate in style katepart-syntax. For example: definition of method/function.
There is no history of files. It is impossible to look, as the file looked before the last saving or two hours back or the day before yesterday. Can there there was a thought which to me it was necessary.
Not used variables are underlined, but ignored not declared.

main()
{
s=25; // underlined - expected a declaration
char *d=bign; // bign undefined and not underlined
}

?
Orgad
0 points
166 months ago

@Yuriy: You're invited to use the bug tracking system for your reports. This blog is not the right place for it...

?
Eike Ziller
0 points
166 months ago

@5multiHYP: @diorahman: The remote compiler target is a feature solely part of the Qt SDK, it's not included in the Qt Creator standalone package.

?
Bojan
0 points
166 months ago

Thanks everyone working on Qt Creator!

Just one warning for everyone downloading beta: It does not detect indent setting (like "spaces instead of tabs") from previous installations of the Creator, so you'll want to open new (awesome :) ) indent options as soon as you install it.

?
Pau Garcia i Quiles
0 points
166 months ago

Any chance we get better CMake support?

Also, on Windows, QtCreator has serious problems when it finds more than one MinGW "installation". For instance, I have msysgit in path, Strawberry Perl in path, and QtSDK, and that drivers QtCreator crazy. Debugging does not work at all, QtCreator chokes with a rather cryptic message of "C:/QtSDK was not in path" (yeah, I know, I should report this as a bug :-) )

?
Andre'
0 points
166 months ago

Yuriy: For history of files there are version control systems (and there are quite a few supported, git, subversion, bazaar, perforce, mercurial). For highlighting C++, the kate syntax files are not used.

?
diorahman
0 points
166 months ago

@Eike Ziller yes I know, but how to let the Qt Creator to detect the target setup? (given my system has Qt SDK installed)

?
Eike Ziller
0 points
166 months ago

@diorahman: The standalone Qt Creator doesn't have support for the remote compiler target, so it also can't detect its setup. There-is-no-remote-compiler as far as the standalone Qt Creator is concerned. The Qt Creator that is shipped with the SDK has a specific remote compiler plugin installed that works exactly for this SDK installation of Qt Creator.

?
Konstantin Tokarev
0 points
166 months ago

Eike Ziller: so there's no way to run remote compiler on platform unsupported by SDK, am I right?

This limitation seems strange to me because remote compiler runs on different system anyway

?
Eike Ziller
0 points
166 months ago

@konstantin: Yes. The remote compiler plugin is part of the SDK but not part of the Qt Creator standalone package, and is created/provided by developer.nokia.com which also provide the actual service.

?
Jonathas Costa
0 points
166 months ago

Hi Eike,

First of all congrats by your good work. Second, I'd like to ask, if possible, to include in Qt Creator the Emacs' behavior to control windows. I really would like to divide my main code window in 2, 3, 4 subwindows only typing something like ctrl+x+3. If you have a 30'' monitor, it seems like a waste of space to be with only one window code opened at time.
Thanks!

?
Mitko
0 points
166 months ago

I just had over 12 crashes.. on double clicks of variables to copy/paste and Ctrl+R when QtCreator is out of focus.

The stable version is too laggy... it hogs the CPU and took up to 1GB memory before i restarted it. Please, anyone have a link of 1.x QtCreator? Coding with it was a breeze.

?
aportale
0 points
166 months ago

@Mitko: Do you know if these crashes are already in http://bugreports.qt.nokia.... ? For older versions, here is the archive of creator binaries: http://get.qt.nokia.com/qtc...

?
Thiago Macieira
0 points
166 months ago

@Jonathas: that is possible and has been for several years. The only thing is that the prefix shortcut is Ctrl+E instead of Ctrl+X, since the latter is taken for "Cut".

?
Daniel
0 points
166 months ago

Great for the improvements particularly into the Qt/C++ area. I was getting afraid that future releases in QtCreator were going to left Qt/C++ behind or without proper maintenance.
Great job guys and thanks on behalf of the C++ community.

?
Jonathas Costa
0 points
166 months ago

@Thiago Thank you!!
You've saved tons of work! It's really nice to enjoy multiples windows now!

Best!

?
Ralph Zhang
0 points
166 months ago

I'd always want to promote Qt Creator in my team. It's the only IDE that satisfy all our requirements: cross platform, good VIM key bindings, support for cmake...
The only problem is the parser eats up all my 4G memory and halts the whole machine. Our code has some very complex macro, I guess that's one of the reason.
Despite of that, I still think Qt Creator is the best IDE I've seen.

?
Mitko
0 points
166 months ago

@aportale Thank you, very much.

I didnt have time to check the bugtracker but im not sure why it crashes either. I have loads of #DEFINE SOMETHING 111 and almost every time i double clicked on SOMETHING in the code... crash. You can imagine how the working process went with coding editor crashing every 5-10 minutes :) a nightmare. Also when i rename variables or select a variable.. or write a new function name in the .h files... it hogs the cpu to color and highlight the thing... and it is VERY, VERY slow... sometimes it lags 2-3 variables behind. I will definately have to use an older versions... they were lightning fast. I can`t go back to Visual Studio lol

?
Jubei
0 points
166 months ago

We need cmake integration. It should be on the top of the list of qt creator developers imo.

?
Andre'
0 points
166 months ago

@Jubei: CMake is nowhere near the top of the list right now. If you need improvements on top of the cmake support that's already there, external contributions are needed.

?
Gabor
0 points
166 months ago

What's the plan to support c++0x ?

?
Nikolai
0 points
165 months ago

One very negative experience I've had with the new Creator is that there is no more quick access to examples from the welcome screen.
Yes, there is qt demo but it is far worse than what we had previously when examples were integrated into the creator IDE and could be loaded, along with the docs, into Creator with just a few clicks. GIVE THEM BACK ! :)

?
Eike Ziller
0 points
165 months ago

@nikolai: if you have a valid Qt version registered (Preferences->Qt4), and check the "show examples and demos" on the "getting started" part of the welcome page, you should get a list of examples that you can browse and filter.