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

2018-01-08 Thread Mark Gaiser
On Mon, Jan 8, 2018 at 4:18 AM, jack ma wrote: > 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 >>

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Luca Beldi
I would steer clear of any “simple C++ implementation” when it comes to encryption as it might implement vulnerabilities. Only use up to date, supported libraries. The most popular choices are libcrypto (OpenSSL) but it’s in C or CryptoC++ https://www.cryptopp.com/ I think the support needed to

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

2018-01-08 Thread Mark Gaiser
On Mon, Jan 8, 2018 at 5:25 PM, Konstantin Tokarev wrote: > > > 08.01.2018, 14:34, "Carel Combrink" : > > Hi Mark, > > > > How would one use QCollatorSortKey for this type of application? > > Note that you should use QCollatorSortKey if and only if

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Bob Hood
On 1/8/2018 8:39 AM, Jason H wrote: I've used CryptoCpp (as someone else mentioned) with Qt... The last release of that (5.6.5) was 15 months ago.  Might be a dead project. ___ Interest mailing list Interest@qt-project.org

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

2018-01-08 Thread Konstantin Tokarev
> On Mon, Jan 8, 2018 at 5:25 PM, Konstantin Tokarev wrote: > >> 08.01.2018, 14:34, "Carel Combrink" : >> >>> Hi Mark, >> >>> >> >>> How would one use QCollatorSortKey for this type of application? >> >> Note that you should use QCollatorSortKey if

Re: [Interest] Qt Charts questions

2018-01-08 Thread Mike Chinander
The Qt Charts module is licensed under GPL, not LGPL. See: http://doc.qt.io/qt-5/qtmodules.html#gpl-licensed-addons On Mon, Jan 8, 2018 at 1:13 PM, Murphy, Sean wrote: > > > I find that they work well if you're just trying to have one plot, but > I'm struggling to get > > >

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Marian Beermann
On 08.01.2018 19:14, Bob Hood wrote: > On 1/8/2018 8:39 AM, Jason H wrote: >> I've used CryptoCpp (as someone else mentioned) with Qt...  > > The last release of that (5.6.5) was 15 months ago.  Might be a dead > project. > Crypto++ is under active development.

Re: [Interest] Qt Charts questions

2018-01-08 Thread Murphy, Sean
> > I find that they work well if you're just trying to have one plot, but I'm > > struggling to get > > them to work the way I need them to for our requirements: > Are you looking for a library that you want to include into your application > or do you > simply want to visualize the data as

Re: [Interest] Qt Charts questions

2018-01-08 Thread Murphy, Sean
> The Qt Charts module is licensed under GPL, not LGPL. See:  > http://doc.qt.io/qt-5/qtmodules.html#gpl-licensed-addons We have a commercial Qt license, so I believe we aren't GPL-bound for Qt Charts (or the Data Visualization & Virtual Keyboard modules)? That link you sent says "Add-ons

Re: [Interest] Qt Charts questions

2018-01-08 Thread Konstantin Tokarev
>>> I find that they work well if you're just trying to have one plot, but I'm >>> struggling to get >>> them to work the way I need them to for our requirements: > >> Are you looking for a library that you want to include into your application >> or do you >> simply want to visualize the

Re: [Interest] Qt Charts questions

2018-01-08 Thread Mike Chinander
You are right; it's available for Commercial licensees too. I misinterpreted you saying QCustomPlot wasn't an option for you since it was GPL. On Mon, Jan 8, 2018 at 2:03 PM, Murphy, Sean wrote: > > The Qt Charts module is licensed under GPL, not LGPL. See: > >

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Jason H
> Sent: Monday, January 08, 2018 at 1:52 PM > From: "Marian Beermann" > To: interest@qt-project.org > Subject: Re: [Interest] Integrate crypto in Qt project > > On 08.01.2018 19:14, Bob Hood wrote: > > On 1/8/2018 8:39 AM, Jason H wrote: > >> I've used CryptoCpp (as someone

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Christophe Thomas
Thanks a lot for all your comments, I'm starting to investigate all these libs, one of my concern is to be able to use it on a wide range of plateforme. Curent code is running on linux, windows, macos, ios, android, rpi thanks to Qt. Christophe 2018-01-08 22:10 GMT+01:00 Jason H

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

2018-01-08 Thread Mark Gaiser
On Mon, Jan 8, 2018 at 8:29 PM, Konstantin Tokarev wrote: > > > > On Mon, Jan 8, 2018 at 5:25 PM, Konstantin Tokarev > wrote: > > > >> 08.01.2018, 14:34, "Carel Combrink" : > >> > >>> Hi Mark, > >> > >>> > >> > >>> How would one

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Jason H
  As I stated, Crypto++ worked on Android, iOS and OSX for me Android (more or less), rpi are android iOS and OSX worked, and it got its FIPS ceritification on Windows.     Sent: Monday, January 08, 2018 at 4:29 PM From: "Christophe Thomas" To: 

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Bob Hood
Ah, went to the wrong Google search result.  :) On 1/8/2018 2:10 PM, Jason H wrote: Sent: Monday, January 08, 2018 at 1:52 PM From: "Marian Beermann" To: interest@qt-project.org Subject: Re: [Interest] Integrate crypto in Qt project On 08.01.2018 19:14, Bob Hood wrote:

Re: [Interest] Qt Charts questions

2018-01-08 Thread Murphy, Sean
> As long as this isn't for printing... > Fix 1-3 by normailizing each sensor from min to max, and plot that. This is > C++ so you can > override at() in the QXYLineSeries. You should be able to dymically change > the Y legend > when you mouse over a > specific point. I’ll take a look at this

[Interest] FontLoader - Multiple variations of the same font family

2018-01-08 Thread Nuno Santos
Hi, I’m trying to use multiple FontLoader instances to load multiple variations of the same font family since we can only specify a file on the font loader source. FontLoader { id: mainFont source: "qrc:/fonts/OpenSans-Regular.ttf" } FontLoader { id: mainFontLight source:

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

2018-01-08 Thread Carel Combrink
Hi Mark, How would one use QCollatorSortKey for this type of application? Unfortunately I have to say that the Qt documentation on this class is not as descriptive compared to other classes. Regards, Carel On Mon, Jan 8, 2018 at 11:50 AM, Mark Gaiser wrote: > On Mon, Jan

Re: [Interest] FontLoader - Multiple variations of the same font family

2018-01-08 Thread Nuno Santos
Hey, I have found the answer on this Stackoverflow post: https://stackoverflow.com/questions/45242560/matching-a-font-style-exactly-with-qml I think Qt documentation should state this. It is hard to guess!

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Konrad Rosenbaum
Hi, DON'T RUN YOUR OWN CUSTOM CRYPTO! [sorry for shouting, but this is kind of important] If you followed any IT news for the last year or so you know that it is incredibly easy to mess up. Even if you are an expert. I'm sorry to say, you do not seem to be an expert, otherwise you'd know a lot

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Christophe Thomas
Thx for your feedback, Don't worry I won't even imagine using some unknown third party code for crypto in production code. Since yesterday I've continued studying my case and my problem is that I'm bounded to a specific format: I'm trying to implement some map (S63 format) decryption. This

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Konrad Rosenbaum
Hi, On Mon, January 8, 2018 12:05, Christophe Thomas wrote: > Thx for your feedback, you're welcome. > Don't worry I won't even imagine using some unknown third party code for > crypto in production code. > > Since yesterday I've continued studying my case and my problem is that I'm > bounded

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Jason H
I've used CryptoCpp (as someone else mentioned) with Qt. It was actually easier for me to get running than QCA on my project which has to support OSX, Android, iOS. It also was FIPS certified, though your configuration will not technically inherit it - though having obtained it in the past is

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

2018-01-08 Thread Mark Gaiser
Hi, That is tricky! Disclaimer: The example below is just for illustration purposes. It's not complete and will not work! It only gives you the general idea of a possible solution. This basically boils down to maintaining more lists. for instance: std::vector source; std::vector keyCache; You

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

2018-01-08 Thread Konstantin Tokarev
08.01.2018, 14:34, "Carel Combrink" : > Hi Mark, > > How would one use QCollatorSortKey for this type of application? Note that you should use QCollatorSortKey if and only if you are going to sort same values many times, or use binary search in the sorted vector.