News for hackers. Stuff that matters.
Re:Qt 5.10 released by pjmlp on Thursday December 07, 2017 @01:40PM (#15872720)
How does it help, when displaying a tiny file selection dialog on an Android device?

https://bugreports.qt.io/browse/QTBUG-42491

Re:Qt 5.10 released by eql5 on Friday December 08, 2017 @03:41AM (#15877510)
These file dialogs are not for mobile! But it's easy to make your own ones, please see: https://gitlab.com/eql/EQL5-Android/blob/master/screenshots/...

The above is on an android tablet; but it displays perfectly fine on phones, too. Just see the sources of the above project for implementing such a dialog:

https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/...

https://gitlab.com/eql/EQL5-Android/blob/master/examples/my/...

Re:Qt 5.10 released by pjmlp on Friday December 08, 2017 @04:31AM (#15877643)
Which proves you failed to understand my point, C++ Widgets don't work everywhere, only QML.
Re:Qt 5.10 released by eql5 on Friday December 08, 2017 @05:05AM (#15877747)
That depends on your screen size! But of course I would never use QWidgets on mobile, with the only exception of direct painting (using a QPainter on a plain QWidget).

QML is easier anyway, and gets better with every version...

Re:Qt 5.10 released by pjmlp on Friday December 08, 2017 @05:25AM (#15877813)
Not all Qt developers are happy to be forced to use QML, which again, was my point to start with.

C++ Widgets should be able to offer a mobile friendly version of themselves.

Which was actually a point that was discussed for the Qt roadmap at Qt World Summit 2017.

Re:Qt 5.10 released by eql5 on Friday December 08, 2017 @10:32AM (#15879331)
OK, I understand your point. Good luck, then!
Re:Qt 5.10 released by pjmlp on Saturday December 09, 2017 @02:22AM (#15884703)
Thanks, but actually I don't use Qt anymore, that bug and a few other ones in 5.4 lead me to use Java and C++/CX for the UI, with common business logic in C++, in a MVVM approach.

The approach of re-doing in QML standard UI components is not appealing.