[Interest] QImage::Format_Grayscale8 work working

2018-03-15 Thread Jason H
Given the following functions, I should be able to create a non-all black image (assuming input is good)? The only success I have is using Indexed8 QHash colorFuncs { { Qt::red, qRed}, { Qt::green, qGreen}, { Qt::blue, qBlue}, {

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Uwe Rathmann
On Thu, 15 Mar 2018 14:17:00 +, Shawn Rutledge wrote: > That sounds interesting. What format do you want to precompile them to? Well, as all we need is to restore the members of a class exactly, like they have been in memory, before we wrote them to disk, there should be a way to do this

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Uwe Rathmann
On Thu, 15 Mar 2018 14:26:41 +, Shawn Rutledge wrote: >> I see that Uwe has pointed out a performance issue which can happen >> because of multiple renderings due to size changes. Is that it? Or are >> there other reasons behind preferring PNG icons over SVG? > > I think it’s mainly that SVG

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Mitch Curtis
> -Original Message- > From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] > On Behalf Of Shawn Rutledge > Sent: Thursday, 15 March 2018 3:27 PM > To: Shantanu Tushar > Cc: Qt Project MailingList > Subject: Re:

[Interest] Qt for WinRT and openssl

2018-03-15 Thread Rogerio Nicolau
Hi The WinRT platform version of ssl seems to be very limited and doesn't work when accessing web services with certain ssl certificates. On Android I am using the openssl library successfully so I wanted to use this on WinRT as well. I have built the openssl libraries and included them in

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shawn Rutledge
> On 15 Mar 2018, at 15:58, Nikolai Tasev wrote: > > On 3/15/2018 4:26 PM, Shawn Rutledge wrote: >> In the future I think it will make sense to use PDF for vector icons too (in >> color, even). (Some frameworks already can do this.) Then instead of an icon >> font, you could

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Nikolai Tasev
On 3/15/2018 4:26 PM, Shawn Rutledge wrote: In the future I think it will make sense to use PDF for vector icons too (in color, even). (Some frameworks already can do this.) Then instead of an icon font, you could have one PDF file with all the icons for your app, one icon per “page”. I hope

[Interest] QtQuick Controls 2 and Designer: Should I use Styles or Customize?

2018-03-15 Thread Shantanu Tushar
Hi, I work on a desktop application thats written with QtQuick/QML with a custom non-native look'n'feel (screenshots at [1]). Recently we've started using QtQuick Designer for all new UI code to make it easier for the dev and the design guy to work together. Now, the biggest issue I've faced

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shawn Rutledge
> On 15 Mar 2018, at 14:20, Shantanu Tushar wrote: > > On 6 March 2018 at 22:15, Xavier Bigand wrote: > Hi, > > If your sample picture is relevant I can suggest you to convert it as SVG > (vectoring it) or using distance field technique. > > I

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shawn Rutledge
> On 8 Mar 2018, at 07:18, Uwe Rathmann wrote: > > On Wed, 07 Mar 2018 20:55:03 +0100, Jason H wrote: > >> How is QPicture not appropriate for SVG? > > At the time, when Qt changed its APIs from integers to doubles ( Qt 4 ) > QPicture::boundingRect() was forgotten,

Re: [Interest] About Qt and WebEngine/Chromium

2018-03-15 Thread Thiago Macieira
On Thursday, 15 March 2018 05:56:06 PDT René J.V. Bertin wrote: > If so, with Chromium becoming a kind of de-facto "system" library, wouldn't > it be possible to install a shared version of that big thing, and build > QtWebEngine against it? Whom would we share it with? -- Thiago Macieira -

Re: [Interest] Maximum URL length

2018-03-15 Thread Thiago Macieira
On Thursday, 15 March 2018 06:15:42 PDT Konrad Rosenbaum wrote: > Just in case: both HTTP and HTML recommend a maximum of 1024 (ASCII) > characters for a URL. Servers are free to ignore header lines with longer > URLs in them and browsers are free to cut them as well. Note that this is > a

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shantanu Tushar
On 6 March 2018 at 22:15, Xavier Bigand wrote: > Hi, > > If your sample picture is relevant I can suggest you to convert it as SVG > (vectoring it) or using distance field technique. > I had this question for a while now - if we can use SVGs for showing application

Re: [Interest] Maximum URL length

2018-03-15 Thread Konrad Rosenbaum
hi, On Thu, March 15, 2018 13:02, Jason H wrote: > Someone is going to use a Get request to Post data... > > From: "Tom Isaacson via Interest" >> Is there a maxiumum URL length, either in QUrl or Qt WebEngine? There >> doesn't seem to be a standard for maximum URL

[Interest] About Qt and WebEngine/Chromium

2018-03-15 Thread René J . V . Bertin
Hi, A bit of a wild idea, inspired by the fact that more and more applications (not just web browsers) are depending on Chromium and so often shipping their own copy. Someone once explained to me that QtWebEngine was/is a much loser wrapper around Chromium than QtWebKit ever was around

Re: [Interest] Maximum URL length

2018-03-15 Thread Jason H
Someone is going to use a Get request to Post data... > Sent: Wednesday, March 14, 2018 at 11:42 PM > From: "Tom Isaacson via Interest" > To: "Interest@qt-project.org" > Subject: [Interest] Maximum URL length > > Is there a maxiumum URL length,

Re: [Interest] Maximum URL length

2018-03-15 Thread Viktor Engelmann
Chromium (and thus also WebEngine) has a limit of 2 MiB, because the URLs are sometimes copied in a blocking way, which causes instability when the limit is larger. see https://bugs.chromium.org/p/chromium/issues/detail?id=69227 On 15.03.2018 01:35, Thiago Macieira wrote: > On Wednesday, 14