[Interest] Notes on porting exercise to Qt 5

Joshua Grauman jnfo-c at grauman.com
Thu Jan 24 07:28:47 CET 2013


I'll add one more odd note about porting to Qt 5. I found that Qt::UniteClip 
is no longer an option in Qt5 as used in:
painter.setClipRect(rect, Qt::UniteClip);

I find this is a weird option to get rid of as Qt::IntersectClip is still 
there. Why one and not the other...

Josh

> On sexta-feira, 11 de janeiro de 2013 08.31.08, Jaco Naude wrote:
>> Hi
>>
>> Some notes of my experience porting to the final release of Qt 5. I already
>> ported to the beta a while back, but the following are new issues
>> experienced with the final release. Maybe someone else also finds it useful.
>>
>> 1) QString::toAscii() depreciated.
>>
>> The Qt5 documentation says that QString::toAscii() is depreciated, and
>> indeed calls to this functions against Qt 5 gives errors. However this is
>> not listed on http://qt-project.org/doc/qt-5.0/qtdoc/sourcebreaks.html.
>
> I'll update the docs.
>
>> 2) The documentation for
>> QDesktopServices<http://qt-project.org/doc/qt-5.0/qtgui/qdesktopservices.htm
>> l> still
>> contains documentation for the StandardLocation enum which was moved to
>> QStandardPaths in Qt5.
>
> The enum still exists there. It's just deprecated.
>
>
> Thanks for the report!
>



More information about the Interest mailing list