Re: [Interest] Macro to identify desktop(Ubuntu-X86) and embedded Linux(ARM)

2018-09-16 Thread Ramakanth Kesireddy
It works well on target with embedded Linux using default font and setting font point size..But on Ubuntu, layout alignment is not proper after using the same font point size..It looks like it needs to be set different point size on Ubuntu for proper layout using macro as it is a dynamic layout bas

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Thiago Macieira
On Sunday, 16 September 2018 05:30:52 PDT maitai wrote: > I don't think the problem will be gone any time soon. I know plenty of > users who never update anything... They don't have security then. So failing to load OpenSSL is the least of their problems. -- Thiago Macieira - thiago.macieira (A

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Thiago Macieira
On Sunday, 16 September 2018 03:14:28 PDT Roland Winklmeier wrote: > Ideally Qt would load any version at runtime. So far it's a compile time > decision only. Would it be possible to built support for both? It's technically possible, but not something you should expect us to do. For two reasons:

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Thiago Macieira
On Saturday, 15 September 2018 21:52:49 PDT coroberti . wrote: > On Linux you can deliver openssl-1.0 just by yourself by linking it > statically. The cons of that are that from time-to-time you may wish to > deliver security updates. Where "from time to time" means on average once a month. And n

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Thiago Macieira
On Saturday, 15 September 2018 21:45:42 PDT maitai wrote: > Do you know if it is enough to change Qt5Network librarie, which I > distribute together with the app? Yes, the two libQt5Network.so.5 are otherwise identical and provide the same API and ABI. None of the OpenSSL internals are exposed in

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Thiago Macieira
On Sunday, 16 September 2018 18:24:50 PDT Roland Winklmeier wrote: > Oh I didn’t know that. I just checked on my Debian Stretch and it has a > libssl.so.1.0.2 but no symlink libssl.so.1.0. Going through the OpenSSL > load attempts in QtNetwork then I think it tries in the the following order: > 1.

Re: [Interest] QML int not big enough

2018-09-16 Thread Jason H
Thanks, Yes, that was exatctly my point. Looks like the only real solution is "real".   Sent: Sunday, September 16, 2018 at 4:09 AM From: "Stanislas RENAN" To: interest@qt-project.org Subject: Re: [Interest] QML int not big enough Hi,   Le 15/09/2018 à 22:30, Jason H a écrit : Item { pr

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Roland Winklmeier
Thiago Macieira schrieb am Mo. 17. Sep. 2018 um 00:27: > On Sunday, 16 September 2018 03:18:39 PDT Allan Sandfeld Jensen wrote: > > No, it is not possible to support both without a lot of work, and since > the > > problem will go away soon, it is not worth it. Loading libssl.so.1.0 > before > > t

Re: [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Sylvain Pointeau
On Sun, Sep 16, 2018 at 5:24 PM Artem Sidyakin wrote: > I would understand if local file loading was allowed and remote forbidden, > but not the other way around. So if remote works, so should local. > No, a local file can be a threat if you receive it by email etc. Especially on an iOS where th

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Thiago Macieira
On Sunday, 16 September 2018 03:18:39 PDT Allan Sandfeld Jensen wrote: > No, it is not possible to support both without a lot of work, and since the > problem will go away soon, it is not worth it. Loading libssl.so.1.0 before > trying libssl.so might work though, at least if any distros exist with

Re: [Interest] invalid Qt packaging heads up

2018-09-16 Thread Elvis Stansvik
Den sön 16 sep. 2018 kl 20:29 skrev Roland Hughes : > > > > On 09/16/2018 11:07 AM, Elvis Stansvik wrote: > > Den sön 16 sep. 2018 kl 15:31 skrev Roland Hughes > : > > On 09/14/2018 08:18 AM, Lisandro Damián Nicanor Pérez Meyer wrote: > > Hi! > > El jue., 13 de sep. de 2018 10:53, Roland Hughes >

Re: [Interest] invalid Qt packaging heads up

2018-09-16 Thread Roland Hughes
On 09/16/2018 11:07 AM, Elvis Stansvik wrote: Den sön 16 sep. 2018 kl 15:31 skrev Roland Hughes : On 09/14/2018 08:18 AM, Lisandro Damián Nicanor Pérez Meyer wrote: Hi! El jue., 13 de sep. de 2018 10:53, Roland Hughes escribió:

Re: [Interest] invalid Qt packaging heads up

2018-09-16 Thread Elvis Stansvik
Den sön 16 sep. 2018 kl 15:31 skrev Roland Hughes : > > > On 09/14/2018 08:18 AM, Lisandro Damián Nicanor Pérez Meyer wrote: > > Hi! > > El jue., 13 de sep. de 2018 10:53, Roland Hughes > escribió: >> >> All, >> >> Ran into this in PinguyOS, but, probably goes all the way back to current >> Ubun

Re: [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Artem Sidyakin
I would understand if local file loading was allowed and remote forbidden, but not the other way around. So if remote works, so should local. To confirm that, I simply copied files into the app bundle (Show Package Contents) and just to be sure checked if they are “accessible”: foreach(QString

Re: [Interest] invalid Qt packaging heads up

2018-09-16 Thread Roland Hughes
On 09/14/2018 08:18 AM, Lisandro Damián Nicanor Pérez Meyer wrote: Hi! El jue., 13 de sep. de 2018 10:53, Roland Hughes escribió:

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread maitai
Hello, I don't think the problem will be gone any time soon. I know plenty of users who never update anything... I noticed that qtCreator ships ssl and crypto libs (into Tools/QtCreator/lib/Qt/lib). I just put these 6 files into my own libs directory and hop, all good, no recompilation neede

Re: [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Sylvain Pointeau
Le dim. 16 sept. 2018 à 12:22, Artem Sidyakin a écrit : > Original question was about “communication between WebView and QML on > iOS”, which does work, as we can see. > Now there is an issue of loading HTML documents from file/resource system, > but that’s a different kind of issue, innit (which

Re: [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Artem Sidyakin
Original question was about “communication between WebView and QML on iOS”, which does work, as we can see. Now there is an issue of loading HTML documents from file/resource system, but that’s a different kind of issue, innit (which I also would like to get to the bottom of). > you confirm tha

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Allan Sandfeld Jensen
On Sonntag, 16. September 2018 12:14:28 CEST Roland Winklmeier wrote: > Christophe Thomas schrieb am So., 16. Sep. 2018, > > 10:41: > > Hello, > > > > From the comment of Giuseppe I understand that we could go with just a > > package installation. I've an ubuntu 18.04 (not installed from scratch

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Roland Winklmeier
Christophe Thomas schrieb am So., 16. Sep. 2018, 10:41: > Hello, > > From the comment of Giuseppe I understand that we could go with just a > package installation. I've an ubuntu 18.04 (not installed from scratch but > from an upgrade of 16.04). When I look in /usr/lib/x86_64-linux-gnu/, I > have

Re: [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Sylvain Pointeau
> > Are you sure the WebView can load from the resources (url: > “qrc:/index.html)? > > I knew it cannot (does qrc:/ work on iOS at all?), but I was silently > waiting for someone to provide the way it should be done on iOS :) > Unfortunately no-one did, so apparently it’s a bigger problem than I >

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Christophe Thomas
Hello, >From the comment of Giuseppe I understand that we could go with just a package installation. I've an ubuntu 18.04 (not installed from scratch but from an upgrade of 16.04). When I look in /usr/lib/x86_64-linux-gnu/, I have several libssl => libssl.so (symlink to libssl.so.1.1) => libssl.so

Re: [Interest] QML int not big enough

2018-09-16 Thread Stanislas RENAN
Hi, Le 15/09/2018 à 22:30, Jason H a écrit : Item { property int now: 0 // will be new Date().getTime() // milliseconds since epoch is 64 bit property var now: new Date().getTime() // this gives me a parning of "use int or real to improve performance (M311) } How can I use the righ

Re: [Interest] Qt installer from console

2018-09-16 Thread Ben Lau
Hi Roman, You may try my extract-qt-installer script at https://github.com/benlau/qtci Usage: #Fetch all avaialble packages extract-qt-installer --list-packages online_installer.run #Installation QT_CI_PACKAGES="qt.qt5.5110.gcc_64,qt.qt5.5110.android_armv7" extract-qt-installer online_installe