Re: [Interest] QtWayland Compositor cannot start from tty

2020-05-08 Thread Selastin George
Thanks, I will check it out. On Sat, May 9, 2020, 12:55 AM Shawn Rutledge wrote: > > On 2020 May 8, at 19:55, Selastin George wrote: > > I built a qtWayland compositor and I was able to run it from my desktop > session. > > Is there any way to start my compositor from tty (like just after

Re: [Interest] QtWayland Compositor cannot start from tty

2020-05-08 Thread Shawn Rutledge
> On 2020 May 8, at 19:55, Selastin George wrote: > > I built a qtWayland compositor and I was able to run it from my desktop > session. > > Is there any way to start my compositor from tty (like just after boot)?. > > When I tried to run it with --platform eglfs it gives error like > >

[Interest] QtWayland Compositor cannot start from tty

2020-05-08 Thread Selastin George
I built a qtWayland compositor and I was able to run it from my desktop session. Is there any way to start my compositor from tty (like just after boot)?. When I tried to run it with --platform eglfs it gives error like Unable to initialize egl display. All I want is to launch my compositor

Re: [Interest] unexpected result from QString::compare

2020-05-08 Thread Thiago Macieira
On Friday, 8 May 2020 05:05:43 PDT Hamish Moffatt wrote: > On 8/5/20 6:54 pm, Florian Bruhin wrote: > > On Fri, May 08, 2020 at 08:51:19AM +, Hamish Moffatt wrote: > >> On 8/5/20 5:13 pm, Fabrice Mousset | GEOCEPT GmbH wrote: > >>> Perhaps you should use QString::localeAwareCompare() ? > >> >

Re: [Interest] unexpected result from QString::compare

2020-05-08 Thread Hamish Moffatt
On 8/5/20 6:54 pm, Florian Bruhin wrote: On Fri, May 08, 2020 at 08:51:19AM +, Hamish Moffatt wrote: On 8/5/20 5:13 pm, Fabrice Mousset | GEOCEPT GmbH wrote: Perhaps you should use QString::localeAwareCompare() ? Thanks, I didn't know about that. Maybe the QString::compare()

Re: [Interest] unexpected result from QString::compare

2020-05-08 Thread Florian Bruhin
On Fri, May 08, 2020 at 08:51:19AM +, Hamish Moffatt wrote: > On 8/5/20 5:13 pm, Fabrice Mousset | GEOCEPT GmbH wrote: > > Perhaps you should use QString::localeAwareCompare() ? > > > Thanks, I didn't know about that. Maybe the QString::compare() documentation > could mention it... From

Re: [Interest] unexpected result from QString::compare

2020-05-08 Thread Hamish Moffatt
On 8/5/20 5:13 pm, Fabrice Mousset | GEOCEPT GmbH wrote: Perhaps you should use QString::localeAwareCompare() ? Thanks, I didn't know about that. Maybe the QString::compare() documentation could mention it... Hamish ___ Interest mailing list

Re: [Interest] unexpected result from QString::compare

2020-05-08 Thread Fabrice Mousset | GEOCEPT GmbH
Perhaps you should use QString::localeAwareCompare() ? BR Fabrice > -Ursprüngliche Nachricht- > Von: Interest Im Auftrag von Hamish > Moffatt > Gesendet: Freitag, 8. Mai 2020 08:27 > An: Qt Interest > Betreff: [Interest] unexpected result from QString::compare > > I'm trying to sort

[Interest] unexpected result from QString::compare

2020-05-08 Thread Hamish Moffatt
I'm trying to sort a list of strings where umlauts are involved, and not getting the answer I expect from QString::compare(). My sample code is:         auto a = QStringLiteral("Äbc");         auto b = QStringLiteral("BCD");         auto c = a.compare(b);         qDebug() << a << b << c; This