Qt 5.0.2 Released

Published Wednesday April 10th, 2013 | by

Today we are releasing Qt 5.0.2 – the second patch release of Qt 5.0 series. I am extremely happy about the interest towards Qt 5 as well as the amount of improvements we have been able to add into the Qt 5.0.2 release. 

Qt 5.0.2 brings over 600 improvements compared to Qt 5.0.1, most of these in order to address the issues Qt users have noted when bringing their applications to Qt 5. As a patch release Qt 5.0.2 does not introduce new functionality, but we have again been able to add some new binary installers, as well as enable some use cases that have been problematic in the earlier Qt 5 releases.

Highlights of Qt 5.0.2 include:

  • New binary installers for VS2012 with ANGLE and for VS2010 with OpenGL (for those who do not wish to use ANGLE)
  • Creator 2.7.0 included in the release package (Qt 5.0.1 was shipped with Creator 2.6.2)
  • Possibility to easily skip modules in configure when building Qt yourself
  • Static linking now works correctly for the Qt libraries
  • Overall more than 600 improvements in 17 different modules of Qt

For detailed list of changes in Qt 5.0.2, please have a look into the changes file included to each module – or check the most important ones: qtbaseqtdeclarative, qtwebkit and qtmultimedia, as well as Creator 2.7.0 release announcement.

As always, Qt 5.0.2 maintains both forward and backward source compatibility with Qt 5.0. We are continuously ironing out the glitches and improving quality with every new release. If you encounter a problem, please check the known issues page first, where you can find solutions and workarounds for common problems. If you find a previously unknown bug in Qt 5, please help us to improve the product in future releases by reporting it to bugreports.qt-project.org, or contact us via our Customer Portal if you have a commercial license.

Qt 5.0.2 is now tagged in the Qt Project repository. The source packages and installers for Qt 5.0.2 are available for download at qt-project.org/downloads for open-source users, as well as via the Customer Portal for commercial licensees.

Did you like this? Share it:

Posted in Announcements, Releases

49 comments to Qt 5.0.2 Released

7 says:

A MSVC2012 OpenGL build would have been a good idea. Why wasn’t it included?

7 says:

In general, the vast majority of users out there do have sufficient OpenGL hardware capabilities and do not require ANGLE. I don’t see why ANGLE is being enforced in such a way when OpenGL is widely available and offers better performance.

Nikita Krupenko says:

Integrated video not always support OpenGL >= 2.0 (I have Intel one). IIRC Qt 5.0 before beta1, was built without ANGLE and I have QtQuick 2.0 application not working (they just crashed on start).

DRFrederik says:

It appears OpenGL 1.1 deprecated functions are no longer available when including qgl.h.
This wasn’t the case with Qt 4.8 but has been so since Qt5.
This also is true for 5.0.2.
Is this a bug of has the deprecated functionality been removed from the headers?

Where is the full changelog?

Tuukka Turunen says:

@Matthew Smith: There is changelog with each module. But you are right, it would be convenient to have it in one file as well.

Sorry, I found the QtBase changelog, but have the platform-specific features (like being able to set the dock icon menu on the Mac) been restored? An earlier bug report was resolved as “fixed in 5.0.2″ but I can’t see it on the changelog.

sahumada says:

Matthew, it is part of 5.0.2 and you are right, is not part of the changelog.

I got an email from the bug tracker earlier today that said the issue had been fixed in the 5.0.2 release. Haven’t installed it yet as I’ve been out, though. Is the API the same as in Qt4?

Actually, the functionality has not been restored, at least, it’s not as it is in the documentation, which reads the same as it did in Qt 4, namely that it was an exported function. It still doesn’t work (I just compiled my project with the same extern declaration, and it still fails at link stage as it did in Qt 5.0.1). Where on earth is the function? And why does your documentation refer to functions that are not there?

Setting the dock menu will be implemented (well, IS implemented, but the module is not officially released yet) in QtMacExtras.

You can find that here: https://qt.gitorious.org/qt/qtmacextras

danny says:

I cloned QtMacExtras and compiled it with Qt 5.0.1 and while it built fine, none of the example projects work (they produce warnings in the output) and the unified toolbar example just segfaults right away.

What is the correct way to build and use this module?

[...] La lista completa de cambios está disponible en el anuncio oficial. [...]

@7: We decided not to change the package roster for 5.0.2. The Desktop OpenGL (non-ANGLE) builds are coming in Qt 5.1, where we are still working to restore the functionality in WebKit that isn’t working without ANGLE. We couldn’t do that for 5.0.2, which is why ANGLE is the only option.

@DRFrederik: please do not depend on indirect includes. If you need the function declarations from , please include it.

Ariel says:

Is the qml2puppet included now in QtC?

Kai Koehne says:

It is.

Daniel H says:

Great! I just installed. I love Qt Creator 2.7, really nice. Lots of improvements too. What does it mean when you say “static linking now works correctly for the Qt libraries”?

sahumada says:

you should be able to compile Qt from sources using “./configure -static …”

Mathäus Mendel says:

A VS 2012 build for 32-bit would be great. Being stuck with VS 2010 and not being able to use VS 2012 with it made me avoid Qt5 for now.

Michael says:

Me too. Compiling by myself takes usually two weeks to figure out. (I am use Qt for yeras now). Right now i have error “stddef.h” not found. ??? Could you please include VS 2012 32bit?

[...] details on the Qt 5.0.2 release can be found in the official announcement. Share this:Share on Tumblr Pin [...]

7 says:

For the installers of 5.0.2 I keep getting the same errors and subsequent failure to produce a running executable. I have the same problem with 5.0.1 and 5.0. There are two errors during installation:

1 – “Error during installation process (qt.tools.vcredist): Execution failed (unexpected exit code: 1601)”
2 – “Error during installation process(qt.502.patcher): Qt patch error: Can not open ……. (access is denied)

Any ideas? MSVC runtimes are installed, UAC is disabled, the installer has full access and installation still fails. Ignoring those errors results in a Qt installation that produces executable that do not run.

7 says:

Ops, found the culprit, for some reason comodo internet security interfered with the installation process, even if disabled or shut down. I had to uninstall it completely and after the reboot it is all fine.

Danny says:

Offline installer fails on Mac with:

“Error during installation process (qt.502.clang_64.essentials):
Error while extracting
installer://qt.502.clang_64.essentials/5.0.2clang_64_mac_qt5_essentials.7z:
Extraction failed…”

Tuukka Turunen says:

@Danny: Please check that the installation package is correctly received, and then file a bug report to http://bugreports.qt-project.org with all details of your environment. The packages have been tested in all supported environments and work without issues.

M.S. Babaei says:

Thanks for the VS2012 installer.
But, why there isn’t any 32-bit binary for VS2012?

Boctopr says:

This is FAIL!

Dean says:

Or the 64 bit mingw for that matter. It would be nice for the qt project to provide more builds to save the need to build it ourselves, which is slow and often prone to failing. Not to mention you have to build it for every machine.

Chiu says:

QT5.0.2 supports winrt?

Alex says:

Thank you for the great work!

VS2012 installer is nice to see, but QTVSADDINBUG-141 makes them usable only usable with VS2012 w/o updates, whereas there were two VS Updates afterwards.
Any plans to release AddIn update any time soon?

Tuukka Turunen says:

@Alex: We have just released new VS Add-In: http://blog.qt.digia.com/blog/2013/04/11/visual-studio-add-in-1-2-1-for-qt-5-released It should work better with VS2012 (update 2 recommended).

lolo says:

Same error than 5.0.1 compiling with VS2012u1 x64

..\..\..\include\QtXml\qdom.h(1) : fatal error C1083: Cannot open include file:
‘../../../../../d:/Qt502_x64/qtbase/src/xml/dom/qdom.h’: Invalid argument
NMAKE : fatal error U1077: ‘D:\vs2012\VC\BIN\amd64\cl.EXE’ : return code ’0×2′
Stop.
NMAKE : fatal error U1077: ‘D:\vs2012\VC\BIN\amd64\nmake.exe’ : return code ’0×2

Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ’0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ’0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ’0×2′
Stop.

Pls, fix it !

lolo says:

that’s on configure phase, ofc

lolo says:

Also, seems examples are missing bulding with VS2012u1 ?

WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/group
box\groupbox.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/icons
\icons.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/image
viewer\imageviewer.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/linee
dits\lineedits.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/movie
\movie.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/mouse
buttons\buttontester.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/orien
tation\orientation.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/scrib
ble\scribble.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/shape
dclock\shapedclock.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/slide
rs\sliders.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/spinb
oxes\spinboxes.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/style
sheet\stylesheet.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/table
t\tablet.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/tetri
x\tetrix.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/toolt
ips\tooltips.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/valid
ators\validators.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/wiggl
y\wiggly.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/windo
wflags\windowflags.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/widgets/widgets/style
s\styles.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/xml/htmlinfo\htmlinfo
.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/xml/xmlstreamlint\xml
streamlint.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/xml/dombookmarks\domb
ookmarks.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/xml/rsslisting\rsslis
ting.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/xml/saxbookmarks\saxb
ookmarks.vcxproj’
WARNING: Ignored (not found) ‘D:/Qt502_x64/qtbase/examples/xml/streambookmarks\s
treambookmarks.vcxproj’
Generating Makefiles…

lolo says:

that’s con configure phase, ofc

[...] ogłosiła wydanie Qt 5.0.2, zestawu przenośnych bibliotek i narzędzi programistycznych dedykowanych językowi C++. Ich [...]

Kyle says:

Thanks so much for the 64 bit builds for MSVC 2012! Such a huge savings in time when I want to upgrade Qt.

Tuukka Turunen says:

@Kyle: Thank you for the positive feedback. You are welcome.

[...] desenvolvedores da empresa Digia anunciaram o Qt 5.0.2, o segundo patch para a versão do Qt lançado em dezembro de 2012, que trata de [...]

Basudev Chaudhuri says:

I noticed that for the gcc 4.7 build you are using gcc with sjlj exception handling. On QtCreator, with this, the debugger seems incredibly slow. Are you planning to move to gcc with dw2 exception handling at any point?
Thanks

HGH says:

No OpenGL version for MinGW?

terry says:

No any plan to provide a module of opencl?GPGPU is getting more and more useful

Robert says:

unpacked the mac source code, ran
/configure -prefix $PWD/qtbase -opensource -nomake tests
make -j 8

per the readme
configure seems to work, but almost right away I get the following: ( any ideas? )

cd bootstrap/ && ( test -e Makefile || /Users/rorr/dev/3rdparty/qt/5.0.2/local.osx/qtbase/bin/qmake /Users/rorr/dev/3rdparty/qt/5.0.2/local.osx/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && /usr/bin/make -f Makefile
Project WARNING: You should probably load(qt_build_config) first in bootstrap.pro for QtBootstrap, as the latter also load()s qt_module.
Project MESSAGE: Not doing so may lead to qt_module.prf overriding compiler/linker options in your .pro file.
Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if you know what you are doing.
Project ERROR: Module does not define version.
make[3]: *** [sub-tools-bootstrap-make_first] Error 3
make[2]: *** [sub-tools-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtbase-make_first] Error 2

Robert says:

actually, that was running ./configure
the dot got cut off

Robert says:

this is qt 5.0.2

[...] wydano aktualizacje Pythona 3.3.1, 3.2.4 i 2.7.4, Qt 5.0.2, LibreOffice 3.6.6 i VLC 2.0.6, w których dodano głównie poprawki i drobne [...]

[...] these problems are [...]

Zyama says:

Configuration: Win7, MSVS 2012, QT5.0.2
Trouble: a some problems with linking.


Generating Code...
Compiling...
moc_qwt_analog_clock.cpp
moc_qwt_compass.cpp
moc_qwt_counter.cpp
moc_qwt_dial.cpp
moc_qwt_knob.cpp
moc_qwt_slider.cpp
moc_qwt_thermo.cpp
moc_qwt_wheel.cpp
Generating Code...
linking ..\lib\qwt.dll
Qt5OpenGL.lib(Qt5OpenGL.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
NMAKE : fatal error U1077: 'echo' : return code '0x458'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Commenting closed.