Qt 5 Alpha
The Qt Project is proud to announce the first Qt 5 release, tagged as Alpha. All features of Qt 5.0 are in place, and we welcome testing and feedback from advanced users of the Qt libraries. This is a source-only release - see the Installation section below to build binaries and find binaries published by the community.
All the attention is put now in stabilization, performance and documentation. We hope to celebrate the final release around the Qt Contributors Summit (June 21-23, Berlin). All your help is welcome!
The alpha release can be downloaded in various formats in the release archive
In a nutshell
Qt 4 was released almost seven years ago and today is still fresh and competitive in its 4.8 stable branch. Our 5th big iteration deepens four essential aspects of the Qt offering:
- Amazing graphic capabilities and performance, especially manifested in constrained environments like mobile devices. Qt Quick 2 offers a GL-based scene graph, a particle system and a collection of shader effects. Qt Multimedia, Qt 3D and Qt Graphical Effects bring these features even further.
- Cross-platform portability is now simpler for OS developers thanks to the new structure of Essentials and Add-ons modules, plus the consolidation of Qt Platform Abstraction. We look forward to seeing Qt running in all kinds of environments!
- Open development and open governance is assuring wider development and testing of Qt 5 by a growing community including developers from Nokia, the KDE project, Digia, Collabora, Accenture, KDAB and many more companies and individuals. Today we all celebrate!
The Qt 5 Alpha release includes the following modules:
- Essentials : Qt 3D, Qt Core, Qt GUI, Qt JS Backend, Qt Location, Qt Multimedia, Qt Network, Qt Qml, Qt Quick, Qt SQL, Qt Test and Qt WebKit.
- Add-ons : Qt D-Bus, Qt Graphical Effects, Qt Image Formats, Qt OpenGL, Qt Print Support, Qt Publish and Subscribe, Qt Quick 1, Qt Script, Qt Script Tools, Qt Service Framework, Qt SVG, Qt System Info, Qt Tools, Qt Wayland, Qt WebKit Widgets, Qt Widgets, Qt XML and Qt XML Patterns.
Demos and examples
Some visual and illustrative links for those of you in a rush:
- Livecoding video effects with Qt 5 - Shows Big Buck Bunny as you never saw it before with Qt Quick 2 code in action.
- Pimp my video: shader effects and multimedia - See the Qt 5 potential in video effects in this interesting blog post with impressive video.
- Qt Graphical Effects in Qt Labs - Same as above but applied to static images.
- Raspberry Pi, Qt 5, QML, Shaders - A creative video showing off GL effects and live coding on top of a $35 little sweet board.
- Qt 3D new features - Not so recent video but still useful to see what 3D designers can get from Qt.
- Qt MediaHub - A showcase of the power and convenience of Qt Quick. Functional and open source demo for you to learn best practices when using Qt / QML.
- Building Qt 5 for the Playbook and Blackberry - Instructions to test Qt 5 and run your applications in BlackBerry's tablet.
- QtonPi - Cutting edge project building a minimal OS and an App SDK, both optimized for Qt 5 on the Raspberry Pi board.
- Snowshoe - Qt 5 based browser usable right now in the Nokia N9.
- Quasi Engine - A Qt 5 based framework to ease 2D game development providing QML elements representing entities needed by most of games.
Here is a summary. The full list of features can be found at Qt 5 Features.
Deeper details are available at : http://code.qt.io/cgit/qt/qtbase.git/tree/dist
- Qt Quick is now an essential module containing the OpenGL based Scenegraph and all the usual items.
- New support for GL based shader effects and particles.
- Qt Quick as in Qt 4.x is available in a fully compatible Qt Quick 1 add-on module.
Qt JS Backend
- New classes QJSEngine and QJSValue.
- New module containing the QML engine.
- It has got lots of performance improvements and some enhancements to the language.
- Mostly source compatible, but when writing QML items in C++ some changes are needed to adjust to the new scene graph.
- Now is a module in Essentials.
- Qt WebKit essential module now is based on WebKit2. The C++ APIs have not changed.
- Many performance improvements and better HTML5 compliance.
- The module based on WebKit1 as in Qt 4.x is now called Qt WebKit Widget and available as add-on.
- QStandardPaths class giving standard locations for files.
- JSON parser and speed optimized binary format for JSON.
- MIME type recognition.
- New compile-time check of signal/slot connection syntax.
- New Perl-compatible regular expression engine.
- Many data structures have been rewritten and optimized for better performance.
- C+11 support where it makes sense (but Qt continues to compile and work with C+98 compilers).
- Support for top-level surfaces through the QWindow class.
- Built-in OpenGL support.
- Support for DNS lookups.
- QHttp and QFtp classes removed (they are available stand-alone for those that need them).
- Maps and geolocation-related classes formerly part of Qt Mobility are now contained in an own essential module.
- All former QWidget based classes in Qt Gui have been separated out into the new Qt Widgets library.
- Ported over to the new Qt Platform Abstraction architecture.
- Should work as in Qt 4.x.
- Qt WebKit compilation is disabled on Windows, as building it right now is rather complex. We're working on having this re-enabled and fully working for the beta release.
- Translations do not work yet; Qt applications will appear in English.
This release includes only source packages, with no official binaries. Developers are expected to build their own binaries - see Qt 5 Alpha building instructions.
You might find it useful to check unofficial binaries published by the community.
See also Building Qt 5 from Git .
Porting existing code
API documentation for the alpha is available here .
- https://bugreports.qt.io/ is the preferred channel form reporting issues.
- Check also the Qt 5 Alpha "announcement thread at the Qt Developer Network forum":/forums/viewthread/16017/.