Re: [Interest] Tricky to download Qt online installer for 64-bit Linux

2018-01-07 Thread Tero Kojo
> -Original Message- > From: Interest [mailto:interest-bounces+tero.kojo=qt...@qt-project.org] On > Behalf Of Sze Howe Koh > Sent: 07 January 2018 08:27 > To: interest@qt-project.org > Subject: Re: [Interest] Tricky to download Qt online installer for 64-bit > Linux > > On 7 January 2018

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-07 Thread jack ma
Thanks all of you, seems that std::sort + QCollator is a good way 2018-01-07 18:47 GMT+08:00 Konstantin Tokarev : > > > > Hi, > > > > you need a "lessThan"-function, tailored for your needs. An > > example from me is this: > > > > bool Person::lessThanFamilyFirst(QSharedPointer > > p1, QSharedPoi

Re: [Interest] Qt Charts questions

2018-01-07 Thread Alexander Semke
On 04.01.2018 22:59, Murphy, Sean wrote: > I noticed that too, but unlike a lot of Qt mailing list topics, they more or less > "just work" and are "as-is" due to the clear and limited scope. I find that they work well if you're just trying to have one plot, but I'm struggling to get them

[Interest] Integrate crypto in Qt project

2018-01-07 Thread Christophe Thomas
Hello, I'm working on a projects that needs to integrate following crypto functions: - validate signature - compute hash ==> I found QCryptographiqueHash - manage certificate ==> I found QSslCertificate - do some decryption/encryption using blowfish ==> I found some simple C++ implementation that

Re: [Interest] [5.6] 32bits build of qtwebengine and pkg-config issues on Ubuntu-16.04-x86_64

2018-01-07 Thread Thiago Macieira
On Sunday, 7 January 2018 07:05:54 CST Konstantin Tokarev wrote: > > Ah, that's an interesting situation. The difference between those two pkg- > > config is where they find their .pc files: one searches the 32-bit > > /usr/lib > > and the other the 64-bit one. You can use the 64-bit pkgconfig, but

Re: [Interest] [5.6] 32bits build of qtwebengine and pkg-config issues on Ubuntu-16.04-x86_64

2018-01-07 Thread Konstantin Tokarev
> On Saturday, 6 January 2018 18:17:05 CST Christian Gagneraud wrote: > >> Is it a bug in Qt/webengine source? Why QtWebengine doesn't see the >> i386 -dev packages unless i install pkg-config:i386 (which breaks >> things)? >> Or is it a problem with Ubuntu? > > Ah, that's an interesting situat

Re: [Interest] [5.6] 32bits build of qtwebengine and pkg-config issues on Ubuntu-16.04-x86_64

2018-01-07 Thread Thiago Macieira
On Saturday, 6 January 2018 18:17:05 CST Christian Gagneraud wrote: > Is it a bug in Qt/webengine source? Why QtWebengine doesn't see the > i386 -dev packages unless i install pkg-config:i386 (which breaks > things)? > Or is it a problem with Ubuntu? Ah, that's an interesting situation. The differ

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-07 Thread Konstantin Tokarev
> Hi, > > you need a "lessThan"-function, tailored for your needs. An > example from me is this: > > bool Person::lessThanFamilyFirst(QSharedPointer > p1, QSharedPointer > p2) > > { > > return (QString::localeAwareCompare(p1->familyName(),p2->familyName())<0) > > || (( p1->familyName() == p2

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-07 Thread mail
Hi, you need a "lessThan"-function, tailored for your needs. An example from me is this: boolPerson::lessThanFamilyFirst(QSharedPointerp1,QSharedPointerp2) { return(QString::localeAwareCompare(p1->familyName(),p2->familyName())<0) ||((p1->familyName()==p2->familyName()) &&(QString::loca

[Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-07 Thread jack ma
Hi, there is a QMap type, then insert values with: type.insert("U1",nullptr), type.insert("U2",nullptr), type.insert("U9",nullptr), type.insert("U10",nullptr), I want get the values follow the order of U1, U2 ... U10, but the default order is U1, U10 ,……U9 I know this is a common string so