Re: [Interest] [Android] Qt machine unique id

2018-11-19 Thread Thiago Macieira
On Monday, 19 November 2018 10:19:12 PST rol...@logikalsolutions.com wrote:
> At one point Intel had the "Big Brother" ID.
> 
> https://www.zdnet.com/article/intel-piii-is-big-brother-inside/

See also https://en.wikipedia.org/wiki/Ship_of_Theseus.

Any HW ID you can use in a computer is wrong. If you used the processor's 
serial number and someone replaced the processor, is it the same computer? If 
you used the MAC address on the wired Ethernet, but that got replaced with a 
faster card, is it the same computer? And so on.

That is, if you can take all the parts from the old computer, replacing them 
one at a time with new parts, is it the same computer? And if you do that, and 
then build a computer out of all the parts you've removed, is the other 
computer a new one or the old one? Hence the Wikipedia link.

This also applies to software: if you use the UUID of the filesystem but 
reformat, is it the same computer? If you use /etc/machine-id but erase that 
file (so it gets regenerated on the next boot), is it the same computer?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



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


Re: [Interest] [Android] Qt machine unique id

2018-11-19 Thread roland



At one point Intel had the "Big Brother" ID.

https://www.zdnet.com/article/intel-piii-is-big-brother-inside/

Which is pretty much why what you are looking for doesn't exist  
(publicly) anymore. Lots of theories and stories in the dark corners  
of the world though.


TRADITIONALLY, what you want to do has always been accomplished via a  
dongle for work/business machines. During the VAX 11 days this was a  
25-pin RS-232 dongle with burnt in software that would see a special  
escape sequence sent to the console and respond with a burnt in value.  
There are still companies providing such solutions.


https://www.keylok.com/products

If ALL of your systems have EFI instead of BIOS you could read up on the specs

http://wiki.phoenix.com/wiki/index.php/EFI_FILE_PROTOCOL

and figure out how to park a hidden one line text file out there. If  
the file exists, have the software refuse to install. Don't  
automatically remove the file as part of the un-install either.


Quoting interest-requ...@qt-project.org:



On Wednesday, 10 October 2018 13:18:59 PDT J?r?me Godbout wrote:

I was hoping some device id was existing, but I will go with android id and
make a platform function, with a TODO for the iOS one and trying to figure
out to cross the bridge when I get there.




--
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
http://lesedi.us

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


Re: [Interest] Drawing a path in QML through animation

2018-11-19 Thread Jason H
I don't know for sure, but I would probably try to use a custom QEasingCurve 
for both X, Y, and angle. http://doc.qt.io/qt-5/qeasingcurve.html
This way you can still use property bindings.


> Sent: Friday, November 16, 2018 at 5:41 PM
> From: "Jeffrey Brendecke" 
> To: interest@qt-project.org
> Subject: [Interest] Drawing a path in QML through animation
>
> Is there a way to animate the drawing of a path as an item moves along it?
> 
> * Initial condition: Only the item (e.g., an arrowhead) is visible
> * End condition: The stroked path along which the item travelled is visible 
> from the initial point to the item's final location
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] How to enable chrome:// urls in qtwebengine?

2018-11-19 Thread Alexandru Croitor
Hi,

Not all Chrome URLs are disabled. Some of them are still available, for example 
chrome://gpu/
Here's a list I found https://github.com/qutebrowser/qutebrowser/issues/2292

I don't think we have a documented list of supported urls because:
1) Not all the plumbing code is there to make them work
2) Not all of them make sense in WebEngine context (because some Chromium 
components are stripped).
3) The available urls change from release to release afaik.

You could also try entering chrome://chrome-urls/ in Chrome, and then testing 
each URL in WebEngine.


On 16. Nov 2018, at 13:53, Szymon 
mailto:szymon.s...@gmail.com>> wrote:

Hello,
I would like to access chrome:// urls in qt webengine, but I am
getting an ERR_UNKNOWN_URL_SCHEME error. It works both on Chrome and
Chromium. In the sources of Chromium inside qt webengine I see the
appropriate sources which are used by the chrome:// special pages, for
example:

qtwebengine$ find . -name gpu_internals.html
./src/3rdparty/chromium/content/browser/resources/gpu/gpu_internals.html

but it can't be accessed, because the chrome:// url scheme is
disabled. Is there any way to enable this?
Best regards,
Simon
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

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


Re: [Interest] [ANN] UniqLogger a Qt-based logging library

2018-11-19 Thread Francesco Lamonica
Hello Jean-Michael,
thanks for the link, i didn't know you could provide the object file.

regards

On Sun, Nov 18, 2018 at 7:48 PM Jean-Michaël Celerier <
jeanmichael.celer...@gmail.com> wrote:

> > That sentence you mention is for some specific needs like static
> compiling in a commercial product that, iirc, is not permitted by lgpl.
>
> that's false.
> https://www.gnu.org/licenses/gpl-faq.en.html#LGPLStaticVsDynamic
>
>
>
>
> On Sat, Nov 17, 2018 at 6:52 PM Francesco Lamonica 
> wrote:
>
>> Hello René,
>> license is indeed LGPL-2 and you can use the library in your commercial
>> product.
>> That sentence you mention is for some specific needs like static
>> compiling in a commercial product that, iirc, is not permitted by lgpl.
>>
>> regards
>>
>> On Sat, Nov 17, 2018 at 6:01 PM René Hansen  wrote:
>>
>>> Thank you for sharing Francesco!
>>>
>>> This seems confusing though, as LGPL is indeed free for commercial use:
>>>
>>> "License is LGPL-2, if you need a commercial license, feel free to
>>> contact us."
>>>
>>>
>>> /René
>>>
>>> On Sat, 17 Nov 2018 at 00:23 Francesco Lamonica 
>>> wrote:
>>>
 Hi all,
 I'd just want to announce the availability of the UniqLogger library,
 it's an open-source Qt-based logging library with multiple backends (
 file, colored console, network, db) that runs on many platforms (linux,
 win, macOS, iOS, android)

 You can grab a copy at http://github.com/netresultsit/uniqlogger
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest

>>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest