Re: [Interest] Change in open-source licensing of Qt Wayland Compositor, Qt Application Manager and Qt PDF

2019-10-17 Thread Thiago Macieira
On Thursday, 17 October 2019 06:42:27 PDT d3fault wrote:
> This is excellent news. I hope those contributors continue to resist
> the change to GPLv3. As a developer who releases his code under an
> LGPLv3-like license, all of Qt's GPLv3/Commercial modules are useless
> to me.

Please note that there's no such thing as "resist change from LGPLv3 to 
GPLv3". The licence allows that. Anyone can take the content, drop the "L" 
part and re-publish. The only requirement is to indicate that it's a modified 
version, not identical to upstream's.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] iOS preferredScreenEdgesDeferringSystemGestures

2019-10-17 Thread Nuno Santos
+1

--
Nuno Santos

No dia 18/10/2019, às 00:29, Jason H  escreveu:

> I am trying to use this function but don't know how to integrate it with Qt. 
> I want my user to be able to do a full vertical stroke on the display without 
> bring the notification center down.
> 
> https://developer.apple.com/documentation/uikit/uiviewcontroller/2887512-preferredscreenedgesdeferringsys?language=objc
> Example:
> https://stackoverflow.com/a/52875222/8259820
> 
> I need to somehow get the main UIView and modify it to have that function?
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] iOS preferredScreenEdgesDeferringSystemGestures

2019-10-17 Thread Jason H
I am trying to use this function but don't know how to integrate it with Qt. I 
want my user to be able to do a full vertical stroke on the display without 
bring the notification center down.

https://developer.apple.com/documentation/uikit/uiviewcontroller/2887512-preferredscreenedgesdeferringsys?language=objc
Example:
https://stackoverflow.com/a/52875222/8259820

I need to somehow get the main UIView and modify it to have that function?
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] TLS/SSL XML encryption security

2019-10-17 Thread Matthew Woehlke
On 17/10/2019 09.56, Roland Hughes wrote:
> This presents the perfect challenge. Once "The Mother Road" it is now
> difficult to navigate having many turns, stops and 30 MPH stretches.
> Most importantly there are huge sections without cellular/wireless
> coverage. Some sections satellite coverage doesn't work. The vehicle
> will have to retain all of the knowledge it needs for the trip because
> updates will be sparse.

I think you overestimate the difficulty of doing this. My ten year old
car has maps of the entire US in onboard memory. IIRC it fits on a
single DVD. Yes, this is now 10 years out of date, and doesn't include
things like speed limits, but I doubt we're talking about an amount of
data that can't fit on a single SSD. The car knows where it is from a
combination of GPS, inertial guidance, and the assumption that it is on
a road. Combine this with the car *knowing* what it is trying to do and
being able to actually "see" the road and street signs, and you have a
system that should be able to navigate at least as well as a human under
most conditions. This isn't guessing, it's experience... based on
technology that was close to mainstream *ten years ago*.

BTW, I believe Google Navigation has already solved the "retain the data
you need for the whole trip" problem. Combine this with some form of
version control system so that the vehicle can frequently download
updates for its entire operational area, and I just don't see how
"spotty network coverage" is going to be an issue. (Maybe for someone
who *lives* in an area with no coverage. Well, such people may just not
be able to use autonomous vehicles. I doubt that is going to deter the
folks working on AV's.)

Yes, situations will come up that it can't handle, at which point it
will have to get the human involved. Until we have something approaching
"real AI", that will be the case.

That said, I like your viability test :-).

-- 
Matthew
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Change in open-source licensing of Qt Wayland Compositor, Qt Application Manager and Qt PDF

2019-10-17 Thread David M. Cotter
+1

> On Oct 17, 2019, at 6:42 AM, d3fault  wrote:
> 
> On 10/16/19, Lars Knoll  wrote:
>> Hi,
>> 
>> As it turned out, there was some miscommunication that happened regarding
>> the re-licensing of Qt PDF, and not all contributors were on board regarding
>> the license change. That means we’re not changing the modules license and
>> won’t be adding it to become a supported part of Qt until this has been
>> sorted out.
>> 
>> Cheers,
>> Lars
>> 
> 
> This is excellent news. I hope those contributors continue to resist
> the change to GPLv3. As a developer who releases his code under an
> LGPLv3-like license, all of Qt's GPLv3/Commercial modules are useless
> to me.
> 
> d3fault
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] TLS/SSL XML encryption security

2019-10-17 Thread Christian Kandeler
On Thu, 17 Oct 2019 08:56:41 -0500
Roland Hughes  wrote:

> On this particular topic I won't respond again. 

Thank you.


Christian
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] TLS/SSL XML encryption security

2019-10-17 Thread Roland Hughes


On 10/9/19 5:00 AM, Thiago Macieira wrote:

On Tuesday, 8 October 2019 09:26:19 PDT Roland Hughes wrote:


A non-broken random generator will produce 2^128   possibilities in 128
bits. You CANNOT compare fast enough

Does not matter because has nothing to do with how this works. Not the
best, not the worst, just a set it and forget it automated kind of
thing. It's taking roughly 8 bytes out of the packet and doing a keyed
hit on the database. If found great! If not, it slides the window down
one byte and performs a new 8 byte keyed hit.

First of all, you don't understand how modern cryptography works. AES, for
example, is usually encrypted in blocks of 16 bytes. You can't slide down one
byte. You can only slide down by block granularity.


I understand plenty Thiago. While I may not barn dance anymore, this is 
a long way from my first rodeo. This isn't a lark either. It came 
through proper channels. I will work on it. The last request of this 
type coming through those channels turned out to be the IP Ghoster 
project where Bill Gates' next door neighbor happily paid $250/hr for as 
many hours as I could give him June through October of 2012. Bill Gates 
told them the part I was working on couldn't be done just like you are 
telling me this cannot be done. Guess what? It got done and became the 
foundation for multiple products.


On this particular topic I won't respond again. Those who issue such 
requests also lurk here and while I can write a couple more blog posts 
on it, no further open discussion about what we are exploring. Sounds 
like they found something and want me to independently confirm.




That doesn't mean you can decode it. The chance of a random match is still
infinitesimal.


It's a long way from infinitesimal.




56TB - ~9lbs
https://www.bhphotovideo.com/c/product/1466481-REG/owc_other_world_computing
_owctb2sre56_0s_56tb_thunderbay_4_raid.html/specs

4 kg / 56 TB  = 71.4 picograms/byte. That's actually pretty good.


I hate Wikipedia. You can never find the same thing twice. Somewhere on 
there is a page about all of the current drive storage technologies an 
they discuss the 4-bit stacking used by some drive manufacturers for the 
mega drives. This drive didn't do that. I was also was looking for the 
synthetic molecule with 9 electrons article someone sent me. It was 
something which I believe fell out of the synthetic motor oil research. 
They could read and write the electrons just fine but were having 
difficulty keeping it stuck to a spinning platter.


On your road to becoming an architect you have to learn one thing. Don't 
focus on the minutia.


We have hundreds, possibly thousands of Qt consultants and developers 
taking low paying contracts in Michigan, California and a few other 
states working on "autonomous vehicles." None of these vehicles can be 
truly viable until the storage problem is solved. Oh sure, that fleet of 
tractor trailers which runs 10 miles down an Interstate from factory to 
warehouse is doable. Shouldn't need more than 4TB total storage for 
everything it needs to know. You can even forcibly put 
antenna/transmitters down the length of it to ensure 100% wireless 
coverage so the trucks can remain relatively simple applications themselves.


https://www.nytimes.com/2018/03/19/technology/uber-driverless-fatality.html

Uber will keep using AGILE and mowing people down because they refuse to 
create the 4 Holy Documents up front, but others are doing the 
development correctly. Really smart people have been working on this 
storage problem since 2013 or before.


First off, definition of VIABLE:

The vehicle must be able to make 3 round trips within a year the full 
length of Route 66.


https://www.historic66.com/

The first must be during the peak of summer storm/tornado season.

The second must be during deer season.

The third must be during the winter after snow has begun falling in both 
Chicago and the mountains.


This presents the perfect challenge. Once "The Mother Road" it is now 
difficult to navigate having many turns, stops and 30 MPH stretches. 
Most importantly there are huge sections without cellular/wireless 
coverage. Some sections satellite coverage doesn't work. The vehicle 
will have to retain all of the knowledge it needs for the trip because 
updates will be sparse.


The smart people working on such things know this is the test. They have 
architected for it. Deer season also provides the perfect randomization. 
That's when deer are running scared and most likely to total out a ride.


Really smart people been working on this for a long time. We are less 
than 5 (most likely 3) years from having seemingly limitless data storage.


IBM single atom data storage - 2017

https://techcrunch.com/2017/03/08/storing-data-in-a-single-atom-proved-possible-by-ibm-researchers/

If it dampens your enthusiasm somewhat that they’re thinking of looking 
into molecules rather than single atoms for more practical setups of 
this idea, 

Re: [Interest] Change in open-source licensing of Qt Wayland Compositor, Qt Application Manager and Qt PDF

2019-10-17 Thread d3fault
On 10/16/19, Lars Knoll  wrote:
> Hi,
>
> As it turned out, there was some miscommunication that happened regarding
> the re-licensing of Qt PDF, and not all contributors were on board regarding
> the license change. That means we’re not changing the modules license and
> won’t be adding it to become a supported part of Qt until this has been
> sorted out.
>
> Cheers,
> Lars
>

This is excellent news. I hope those contributors continue to resist
the change to GPLv3. As a developer who releases his code under an
LGPLv3-like license, all of Qt's GPLv3/Commercial modules are useless
to me.

d3fault
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Interest Digest, Vol 97, Issue 10

2019-10-17 Thread Roland Hughes


On 10/9/19 5:00 AM, alexander golks wrote:

Am Wed, 9 Oct 2019 11:05:08 +0200
schrieb Uwe Rathmann:


But I have a strong opinion about using FUD as sales strategy:

- intimidation paragraphs
- blacklisting projects that follow the rules of the LGPL properly
- giving wrong information ( check the video ) about the LGPL

Uwe

+1


+1

It's the viciously bitter ex-wife's view of alimony.

They want to be paid a hideous amount of money for the time spent with 
you. Then they want to be paid for all of the time you were "dating" 
including the times between dating sessions when you were broken up, and 
finally they ransom the children in the form of royalties.


No business which will still be viable in 3-5 years would ever agree to 
this.


I love everyone telling people to "ask their sales rep" because when you 
ask a sales rep EVERYBODY needs a license, the biggest most expensive 
license they have because the spousal unit is pricing out a new 'Cedes 
and they need the commission to pay for it.


Personally I'm morally and professionally offended at the 
commercialization/licensing of OpenSource products. It always has a bait 
& switch feel to it, especially when the commercial side keeps trying to 
shrink the scope of OpenSource usage.



--
Roland Hughes, President
Logikal Solutions
(630)-205-1593

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Binding based on typeof doesn't work any more

2019-10-17 Thread Fabrice Mousset | GEOCEPT GmbH
Hi Sebastian,

Can you try this (I preferred using !! to verify if a variable is defined and 
not null):
@
text: !!Controller ?  Controller.triedSteps : “”
@

BR

Fabrice

Von: Interest  Im Auftrag von m...@herrdiel.de
Gesendet: Donnerstag, 17. Oktober 2019 12:41
An: interest@qt-project.org
Betreff: Re: [Interest] Binding based on typeof doesn't work any more


Hi again,

I've found a better (JavaScript-) workaround without a dummy property:

@

text: { return ((Controller === "undefined" || !Controller) ? "" : 
Controller.triedSteps) }

@
But still: Why has the behavior been (apparently) changed at all in the first 
place? Or is it a bug after all?

BR
Sebastian

Am 17.10.2019 um 09:20 schrieb m...@herrdiel.de:

Hi,



I have a simple Label that has to show a property of a rootProperty, the latter 
not yet being created when the qml is loaded/created. Quite frequently I use 
this construct and it did work perfectly in older Qt versions (something before 
12.1 - that's the earliest I have installed now):

@

//[main.qml, inside a Label]

text: typeof Controller === "undefined" ? "" : Controller.successfulSteps

@

Now this doesn't show anything anymore. The following workaround does show the 
desired result:

@

property string dummy: ""

text: dummy+(typeof Controller === "undefined" ? "" : 
Controller.successfulSteps)

@

This seems very hackish. Is there a better way to achieve this? Why has the 
behavior been (apparently) changed at all in the first place?

The Controller has been set as a root property after loading the QML page:

@

//[main.cpp]

QQmlApplicationEngine engine;

engine.load(QUrl(QStringLiteral("qrc:/main.qml")));

Controller controller();

engine.rootContext()->setContextProperty("Controller", 
QVariant::fromValue());

@



I've asked this in forum.qt.io before 
(https://forum.qt.io/topic/107828/binding-based-on-typeof-doesn-t-work-any-more)



BR

Sebastian

--

http://www.classintouch.de - Tablet-Software für Lehrer



___

Interest mailing list

Interest@qt-project.org

https://lists.qt-project.org/listinfo/interest

--

http://www.classintouch.de - Tablet-Software für Lehrer
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Binding based on typeof doesn't work any more

2019-10-17 Thread Ulf Hermann
> But still: Why has the behavior been (apparently) changed at all in the 
> first place? Or is it a bug after all?

It does sound like a bug. Can you please open a bug report at 
https://bugreports.qt.io ? I would like to know

* What is the last version of Qt your example worked correctly with?

* What version of Qt broke it?

* What is the value of "typeof Controller" in the case where it should 
show the empty string and in the case where it should show the actual 
value for the good and for the bad version of Qt.

* What type is Controller.successfulSteps

* If Controller.successfulSteps is an integer, does the following work?
text: typeof Controller === "undefined" ? 0 : Controller.successfulSteps

br,
Ulf
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Binding based on typeof doesn't work any more

2019-10-17 Thread mail
Hi again,

I've found a better (JavaScript-) workaround without a dummy property:

@

text: { return ((Controller === "undefined" || !Controller) ? "" :
Controller.triedSteps) }

@

But still: Why has the behavior been (apparently) changed at all in the
first place? Or is it a bug after all?

BR
Sebastian

Am 17.10.2019 um 09:20 schrieb m...@herrdiel.de:
> Hi,
>
> I have a simple Label that has to show a property of a rootProperty, the 
> latter not yet being created when the qml is loaded/created. Quite frequently 
> I use this construct and it did work perfectly in older Qt versions 
> (something before 12.1 - that's the earliest I have installed now):
> @
> //[main.qml, inside a Label]
> text: typeof Controller === "undefined" ? "" : Controller.successfulSteps
> @
> Now this doesn't show anything anymore. The following workaround does show 
> the desired result:
> @
> property string dummy: ""
> text: dummy+(typeof Controller === "undefined" ? "" : 
> Controller.successfulSteps)
> @
> This seems very hackish. Is there a better way to achieve this? Why has the 
> behavior been (apparently) changed at all in the first place?
> The Controller has been set as a root property after loading the QML page:
> @
> //[main.cpp]
> QQmlApplicationEngine engine;
> engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
> Controller controller();
> engine.rootContext()->setContextProperty("Controller", 
> QVariant::fromValue());
> @
>
> I've asked this in forum.qt.io before 
> (https://forum.qt.io/topic/107828/binding-based-on-typeof-doesn-t-work-any-more)
>
> BR
> Sebastian
> -- 
> http://www.classintouch.de - Tablet-Software für Lehrer
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

-- 
http://www.classintouch.de - Tablet-Software für Lehrer

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Dark mode for other platforms

2019-10-17 Thread Oliver Wolff
On 16/10/2019 14:14, Allan Sandfeld Jensen wrote:
> On Wednesday, 16 October 2019 13:59:54 CEST Nikos Chantziaras wrote:
>> On 15/10/2019 13:46, Allan Sandfeld Jensen wrote:
>>> On Tuesday, 15 October 2019 11:58:42 CEST Vadim Peretokin wrote:
 Hello!

 I've noticed that Qt on macOS now automatically uses dark mode, and it
 looks amazing
 . My
 question is: how can I enable this for Windows and Linux as well?
>>>
>>> Linux and Window have had such modes forever.
>>
>> Well, I wouldn't say "forever" in the case of Windows. It only got a
>> dark mode theme exactly 1 year ago (October 2018.) Which is one month
>> *after* macOS 10.14 was released (September 2018.)
> 
> Windows have had color schemes since at least Window95. It recently added a
> single button to switch the default white color scheme to a dark one, instead
> of selecting a dark on from a list of schemes, but the ability to change them
> has existed for 25 years if not more.

Please note that triggering "dark mode" is not the same as changing the 
color scheme in Windows 10. The dark mode switch did not replace color 
scheme support and behaves differently.

Olli

> 
> 'Allan
> 
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
> 
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] DXD12.dll missing - DirectX 12 and Windows 7

2019-10-17 Thread Nuno Santos
Hi,

Does anyone if it is possible to have a Qt Quick application that was compiled 
with the latest MSVC2019 and consequently the latest DirectX 12 to run on 
Windows 7? 

Is there any lib we can provide along so this is possible or is it a lost case? 

Thanks!

Regards,

Nuno
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Binding based on typeof doesn't work any more

2019-10-17 Thread mail
Hi,

I have a simple Label that has to show a property of a rootProperty, the latter 
not yet being created when the qml is loaded/created. Quite frequently I use 
this construct and it did work perfectly in older Qt versions (something before 
12.1 - that's the earliest I have installed now):
@
//[main.qml, inside a Label]
text: typeof Controller === "undefined" ? "" : Controller.successfulSteps
@
Now this doesn't show anything anymore. The following workaround does show the 
desired result:
property string dummy: ""
@
text: dummy+(typeof Controller === "undefined" ? "" : 
Controller.successfulSteps)
@
This seems very hackish. Is there a better way to achieve this? Why has the 
behavior been (apparently) changed at all in the first place?
The Controller has been set as a root property after loading the QML page:
@
//[main.cpp]
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
Controller controller();
engine.rootContext()->setContextProperty("Controller", 
QVariant::fromValue());
@

I've asked this in forum.qt.io before 
(https://forum.qt.io/topic/107828/binding-based-on-typeof-doesn-t-work-any-more)

BR
Sebastian

-- 
http://www.classintouch.de - Tablet-Software für Lehrer

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest