QT 5.13 beta

Post Reply
Chris De Rock
Posts: 103
Joined: Tue Apr 14, 2015 6:54 am
Real Name:

the first beta of QT 5.13 is out so i tried to build QLC+ with this version. i found some problems based on deprecated function calls in QT 5.13. The first one is "qSort" which hast to be replaced with "std::sort" (and "qSort(container)" with "std::sort(container.begin(),container.end()") and the use of "QFontMetrics::width" which has to be replaced with "QFontMetrics::horizontalAdvance". After these changes the build works.
janosvitok
Posts: 1274
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

Hi Chris,

can you post the patch somewhere? I tried today the same thing, but didn't have time to finish it...

Thanks!

Jano
Chris De Rock
Posts: 103
Joined: Tue Apr 14, 2015 6:54 am
Real Name:

a pull request is on the way...
Post Reply