Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 26/10/2017 5:51 PM, Thiago Macieira wrote: On Wednesday, 25 October 2017 21:47:07 PDT Christian Gagneraud wrote: results: https://github.com/apple/darwin-xnu/search?utf8=%E2%9C%93=read_random+ e= Answer is item 6: osfmk/prng/random.c See, it works! ;) Hmmm... This also works *now*:

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 21:47:07 PDT Christian Gagneraud wrote: > results: > https://github.com/apple/darwin-xnu/search?utf8=%E2%9C%93=read_random+ > e= > > Answer is item 6: osfmk/prng/random.c > > See, it works! ;) Hmmm... This also works *now*:

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 26/10/2017 4:55 PM, Thiago Macieira wrote: On Wednesday, 25 October 2017 20:03:43 PDT Christian Gagneraud wrote: Even "read_random xnu site:github.com" returns the result that point to bsd/sys/random.h in the apple/darwin-xnu repo (ranked 4 for me) By the way, I was looking for the

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 20:03:43 PDT Christian Gagneraud wrote: > Even "read_random xnu site:github.com" returns the result that point to > bsd/sys/random.h in the apple/darwin-xnu repo (ranked 4 for me) By the way, I was looking for the implementation of this function, not the header

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 26/10/2017 12:05 PM, Thiago Macieira wrote: On Wednesday, 25 October 2017 15:41:48 PDT Christian Gagneraud wrote: Interesting "read_random site:github.com/apple/darwin-xnu" returns 6 results. One of them points to bsd/sys/random.h, is this your missing include? ;P Yes, is what we are

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 16:15:43 PDT ekke wrote: > source: Qt.resolvedUrl("file://"+currentFile.path) You're still forming a URL by concatenation. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread ekke
thanks for your detailed explanation changed to source: Qt.resolvedUrl("file://"+currentFile.path) getting QML Image: Cannot open: file://assets-library/asset/asset.PNG hopefully someone knows the correct URL format for iOS assets-library ekke Am 26.10.17 um 00:27 schrieb Thiago Macieira:

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 15:41:48 PDT Christian Gagneraud wrote: > Interesting "read_random site:github.com/apple/darwin-xnu" returns 6 > results. One of them points to bsd/sys/random.h, is this your missing > include? ;P Yes, is what we are missing. The Linux and OpenBSD getentropy()

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 26/10/2017 11:21 AM, Thiago Macieira wrote: On Wednesday, 25 October 2017 14:47:43 PDT Christian Gagneraud wrote: Considering the contents of that website change very frequently, I'd assume that the reason is either that there's no point indexing something that becomes stale quickly or that

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 14:14:50 PDT ekke wrote: > You're right - must be blind - Got the QFileInfo and of course then > QFile also can open and read the file > > now only one problem left: HowTo display this file as Image in QML ? I think there's a proper URL format for them. I don't

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 14:47:43 PDT Christian Gagneraud wrote: > > Considering the contents of that website change very frequently, I'd > > assume > > that the reason is either that there's no point indexing something that > > becomes stale quickly or that they want to reduce the workload

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 26/10/2017 9:55 AM, Thiago Macieira wrote: On Wednesday, 25 October 2017 13:32:29 PDT Christian Gagneraud wrote: On 25/10/2017 11:12 PM, Maurice Kalinowski wrote: The reason is that code.qt.io is never meant as a public searchable tool, but its purpose has always been to reduce the load on

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread ekke
Am 25.10.17 um 21:56 schrieb Thiago Macieira: > On Wednesday, 25 October 2017 10:42:51 PDT ekke wrote: >> QFileInfo then gives me this as filename: >> "asset.PNG?id=E8CE839A-29EA-42B2-A8FD-89B57ABEC765=PNG" >> and this as path: >>

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 13:32:29 PDT Christian Gagneraud wrote: > On 25/10/2017 11:12 PM, Maurice Kalinowski wrote: > > The reason is that code.qt.io is never meant as a public searchable > > tool, but its purpose has always been to reduce the load on gerrit > > when doing initial clones. >

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 25/10/2017 11:12 PM, Maurice Kalinowski wrote: The reason is that code.qt.io is never meant as a public searchable tool, but its purpose has always been to reduce the load on gerrit when doing initial clones. Come on people, it's not that everything is meant to be purely evil, but as

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 10:42:51 PDT ekke wrote: > QFileInfo then gives me this as filename: > "asset.PNG?id=E8CE839A-29EA-42B2-A8FD-89B57ABEC765=PNG" > and this as path: > "assets-library://asset/asset.PNG?id=E8CE839A-29EA-42B2-A8FD-89B57ABEC765 > t=PNG" I'm also getting the correct size of

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread Michael R Nelson
Hi, Here's how I make use of path passed as QString from QML context: void MyClass::saveImage(const QString ) { QFileInfo fi(QUrl(path).toLocalFile()); if (fi.exists()) // refer to file as fi.filePath(); } Hope this helps. Mike -Original Message- From: Interest

[Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-25 Thread ekke
I need access to Images stored at iPhone to display as QML Image and upload them to REST Service. Qt 5.9.x, iOS 10+ So I added this to Info.plist: NSPhotoLibraryUsageDescription last entry of QStandardPath::PicturesLocation gives me access to assets-library:// and all Images from PhotoLibrary

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Giuseppe D'Angelo
Il 25/10/2017 11:36, Shawn Rutledge ha scritto: renderType: Text.NativeRendering This comes up quite often. Distance field text rendering will always be a bit blurry like that. ... except that you can't / really want to do it for the Text elements inside 3rd party components (including Qt

[Interest] (no subject)

2017-10-25 Thread Giuseppe D'Angelo
-- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908 KDAB - Qt, C++ and OpenGL Experts smime.p7s Description: Firma crittografica S/MIME ___ Interest mailing list

Re: [Interest] lupdate : Compilation Error

2017-10-25 Thread Thiago Macieira
On Wednesday, 25 October 2017 02:45:20 PDT Sudhir Sharma wrote: > Getting following error when compiling .ts file in QT 5.9.2. > > --- (lupdate) > --- WARNING: Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to > setup the environment? > > It worked fine in QT 4.8. > > Any additional

Re: [Interest] What's happening w/Qt3D?

2017-10-25 Thread Roland Hughes
A forking we will go, a forking we will go. Hi ho the dairy oh a forking we will go. On 10/25/2017 03:14 AM, interest-requ...@qt-project.org wrote: I just noticed that all of the Gerrit changes from KDAB contributors to qt/qt3d have been abandoned. What's going on? KDAB is continuing to

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Nuno Santos
Shawn,I have tested the code you sent me and it looks awesome using the default method. Maybe the font I’m using is not the best?What other parameters can influence this? pixelSize can influence results? The font I’m using to draw those labels is GoBold.ttf (follows attached)Thx,Nuno gobold.ttf

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Nuno Santos
Shawn, Sorry, I should have sent you the output of my test. On the Image below, the knobs labels are using NativeRendering (OCTAVE & FINE) If you compare them agains WAVEFORM and SEMITONE, you will notice them more crisp. I will try the code you sent me! Thx! Regards, Nuno > On 25

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
2017-10-25 16:16 GMT+02:00 Konstantin Tokarev : > > > 25.10.2017, 12:55, "Christian Gagneraud" : >> Google returns no result because the Qt company refuses to publish its >> open source tools in an open manner: code.qt.io explicitly expresses >> that it does

[Interest] How to know the caller of a function on Qml Javascript?

2017-10-25 Thread Nuno Santos
Hi, Let’s suppose I have something like this: item.propertyChanged.connect(handlePropertyChanged) function handlePropertyChanged() { // invoke something on the caller object } How can I get the caller object? Is there something similar to sender() on the Javascript side? Regards,

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Konstantin Tokarev
25.10.2017, 12:55, "Christian Gagneraud" : > On 25/10/17 22:25, Benjamin TERRIER wrote: >>  Hi, >> >>  To get an idea of how patching Qt5 works, one can look at the function >>  patchQtCore() used in windeployqt. >>  It will give you an idea of how its done on windows. >> >>  

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Shawn Rutledge
> On 25 Oct 2017, at 11:54, Nuno Santos wrote: > > Shawn, > > Thanks for your reply. > > It actually got worst with this setting. In what way? The downside of native text is that it’s a bit less efficient, and is rendered exactly at the declared font size, so

Re: [Interest] Set transparent fill on map using mapboxgl plugin

2017-10-25 Thread Paolo Angelelli
Hi, in this case i'm not 100% sure what you mean. I just tried to create a Map using mapboxgl plugin, with a polyline on it, and set the opacity to 0.5, and it seems to behave as expected. So yes, i would say that it might be a bug worth to report with a sample :-) On Tue, 24 Oct 2017 14:13:16

Re: [Interest] lupdate : Compilation Error

2017-10-25 Thread Daniel Engelke
Hi, you probably need newer MSVC build tools / MSVC build tools in your environment. Br Daniel On 10/25/2017 11:45 AM, Sudhir Sharma wrote: Getting following error when compiling .ts file in QT 5.9.2. --- (lupdate) --- WARNING: Project ERROR: Cannot run compiler 'cl'. Maybe you forgot

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
2017-10-25 12:12 GMT+02:00 Maurice Kalinowski : > The reason is that code.qt.io is never meant as a public searchable tool, but > its purpose has always been to reduce the load on gerrit when doing initial > clones. > > Come on people, it's not that everything is meant

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Maurice Kalinowski
The reason is that code.qt.io is never meant as a public searchable tool, but its purpose has always been to reduce the load on gerrit when doing initial clones. Come on people, it's not that everything is meant to be purely evil, but as code.qt.io is there since a while, its main use-case

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
That explains why I always end up on clones when I use a search engine... sad. Sometimes I feel like The Qt Company doesn't totally appreciate the open source side of Qt. Anyway it is easier to use Woboq clone, they have nice code browsing functionalities:

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Christian Gagneraud
On 25/10/17 22:25, Benjamin TERRIER wrote: Hi, To get an idea of how patching Qt5 works, one can look at the function patchQtCore() used in windeployqt. It will give you an idea of how its done on windows. http://code.qt.io/cgit/qt/qttools.git/tree/src/windeployqt/utils.cpp#n948 Thank you

[Interest] lupdate : Compilation Error

2017-10-25 Thread Sudhir Sharma
Getting following error when compiling .ts file in QT 5.9.2. --- (lupdate) --- WARNING: Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment? It worked fine in QT 4.8. Any additional configuration required in 5.9? Regards, Sudhir

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Shawn Rutledge
> On 25 Oct 2017, at 10:08, Nuno Santos wrote: > > Hi, > > Which variables affect the sharpness of the Qml Text item rendering? renderType: Text.NativeRendering This comes up quite often. Distance field text rendering will always be a bit blurry like that.

Re: [Interest] [Development] Qt installation prefix path issue

2017-10-25 Thread Benjamin TERRIER
Hi, To get an idea of how patching Qt5 works, one can look at the function patchQtCore() used in windeployqt. It will give you an idea of how its done on windows. http://code.qt.io/cgit/qt/qttools.git/tree/src/windeployqt/utils.cpp#n948 BR, Benjamin 2017-10-18 9:17 GMT+02:00 Christian

[Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Nuno Santos
Hi, Which variables affect the sharpness of the Qml Text item rendering? I’m looking for ways of improving the text readability as it seems a bit blurry and I have many users referring that aspect. This is not a problem on Mac devices with Retina support. This is specially relevant on plain