Re: [Interest] Replacement for Qt Script

2016-04-21 Thread Ian Geiser
On Thu, 21 Apr 2016 05:21:43 -0400 Ben Lau wrote > > > On 18 April 2016 at 23:38, Ian Geiser wrote: >   On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote >  > > ttps://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 >  > > >  > > I saw

Re: [Interest] Convert IPv6 to IPv4 ?

2016-04-21 Thread Thiago Macieira
On quinta-feira, 21 de abril de 2016 14:05:52 PDT Alexander Carôt wrote: > Hello, > > I noticed that retrieving a sender's IP address of a QWebSocket via > ->peerAddress() returns an IPv6 socket address. > > For certain reasons I need an IPv4 address so I wonder how it is possible to > either let

Re: [Interest] How add an Android package to qmake project file?

2016-04-21 Thread Nuno Santos
Eduard, Open projects tab in Qt Creator. Click the create templates button. Check the use grade checkbox. You can then use the maven repositories as follow: allprojects { repositories { jcenter() mavenCentral() maven { url 'http://maven.localytics.com/public' }

Re: [Interest] How add an Android package to qmake project file?

2016-04-21 Thread Edward Sutton
>It's not done in the pro, it's done android-side in your grade or ant. Just do >it as if it were an proper SDK Android app. I do not know how that is done. I build all platforms Android, iOS, windows, OS X using the qmake pro file. I created a /libs subfolder under ANDROID_PACKAGE_SOURCE_DI

[Interest] Deploying app with Qt Quick 2D Renderer failing

2016-04-21 Thread Nuno Santos
Hi, I’m trying to deploy an app with Qt Quick 2D Renderer enabled. For that I have used qputenv to set QMLSCENE_DEVICE=softwarecontext When launching the app thru Qt Creator I can see the output much better than I usually do with OpenGL. However, after calling macdeployqt over it and running i

Re: [Interest] No resize after hiding the navigation bar on Android under QML.

2016-04-21 Thread Jason H
You'll very likely need to call the system function to remove that bar, via JNI. It should be a simple call.     Sent: Wednesday, April 20, 2016 at 10:49 AM From: Tr3wory To: Qt-interest Subject: [Interest] No resize after hiding the navigation bar on Android under QML. Hi all,   I have a

Re: [Interest] Convert IPv6 to IPv4 ?

2016-04-21 Thread Benjamin TERRIER
Hi Alexander, First there is no way to convert an IPv6 to an IPv4. A given machine can have an IPv6 address without an IPv4 address, or have an IPv4 address without an IPv6 address, or one of each, or many addresses of each type. If you want peerAddress() to only return IPv4 addresses you must en

[Interest] Android Sudio 2.0.0 - Instant Run?

2016-04-21 Thread Jason H
I got this message after upgrading studio: "The project is using an old version of the Android Gradle plugin. To take advantage of all the latest features, such as Instant Run, we strongly recommend that you update the Android Gradle plugin to version 2.0.0. You can learn more about this versi

Re: [Interest] How add an Android package to qmake project file?

2016-04-21 Thread Jason H
It's not done in the pro, it's done android-side in your grade or ant. Just do it as if it were an proper SDK Android app.   Sent: Thursday, April 21, 2016 at 10:35 AM From: "Edward Sutton" To: "Qt Interest" Subject: [Interest] How add an Android package to qmake project file? I need to add p

[Interest] How add an Android package to qmake project file?

2016-04-21 Thread Edward Sutton
I need to add package android.support.v4.content.ContextCompat so I can fix Android 6.0 from breaking my Qt Android app. Can this be done in the quake project file? android-g++ { message ("** android-g++ ***" ) ANDROID_PACKAGE_SOURCE_DIR = $$PWD/p

Re: [Interest] [Qt][Qml] Using OpenGL CoreProfile status

2016-04-21 Thread Jérôme Godbout
Thanks Sean, this is roughly what I was expecting. If anybody have try the GraphicalEffects with core profiles I would love to have your inputs. Thanks again, Jerome On Thu, Apr 21, 2016 at 4:19 AM, Sean Harmer wrote: > Hi, > > On Wednesday 20 April 2016 15:43:17 Jérôme Godbout wrote: > > Hi, >

Re: [Interest] [Qt3D] Distance field and texture atlas

2016-04-21 Thread Sean Harmer
Hi, On Thursday 21 April 2016 14:50:55 Xavier Bigand wrote: > I know that QtQuick already manage the distance field for text elements, > but I want to be able to use it with Qt3D too. > Our Qt3D objects are managed in C++ code not in QML, we prefer to not bind > those elements in QML because of th

Re: [Interest] [Qt3D] Distance field and texture atlas

2016-04-21 Thread Xavier Bigand
I know that QtQuick already manage the distance field for text elements, but I want to be able to use it with Qt3D too. Our Qt3D objects are managed in C++ code not in QML, we prefer to not bind those elements in QML because of the memory overhead. Does the backend of QML and Qt3D share the same R

Re: [Interest] [Qt3D] Distance field and texture atlas

2016-04-21 Thread Sean Harmer
On Thursday 21 April 2016 12:51:27 Xavier Bigand wrote: > Hi, > > Is there any plans to let the user control distance field and texture atlas? > We are interested by the distance field for text and icons rendering as we > apply scale and rotation on some small elements. We have to much elements >

[Interest] Convert IPv6 to IPv4 ?

2016-04-21 Thread Alexander Carôt
Hello, I noticed that retrieving a sender's IP address of a QWebSocket via ->peerAddress() returns an IPv6 socket address. For certain reasons I need an IPv4 address so I wonder how it is possible to either let ->peerAddress() return an IPv4 address or convert the IPv6 address to an IPv4 addre

Re: [Interest] qtWebsocket SSL question

2016-04-21 Thread Alexander Carôt
Hello and thanks for the hints !   For now I simply downgraded any https traffic to http and used ws instead of wss.   In the meantime I will try to figure and I believe it's a problem with the certificate.   Best   Alex   -- http://www.carot.de Email : alexan...@carot.de Tel.: +49 (0)177

[Interest] [Qt3D] Distance field and texture atlas

2016-04-21 Thread Xavier Bigand
Hi, Is there any plans to let the user control distance field and texture atlas? We are interested by the distance field for text and icons rendering as we apply scale and rotation on some small elements. We have to much elements to regenerate textures at the right size from svg or ttf, and doing

Re: [Interest] Adding existing QObjects to QJSEngine

2016-04-21 Thread Kai Koehne
-- Kai Köhne, Senior Manager R&D | The Qt Company The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja. Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B > -Original Message- > From:

[Interest] Adding existing QObjects to QJSEngine

2016-04-21 Thread Boudewijn Rempt
I want to make Krita scriptable, maybe with QJSengine. I'm trying to give the js engine access to the existing objects in Krita: the images, documents, windows etc. From the documentation, I though I would have to use QJSEngine.newQObject, but that takes ownership and deletes the objects as soo

Re: [Interest] Replacement for Qt Script

2016-04-21 Thread Ben Lau
On 18 April 2016 at 23:38, Ian Geiser wrote: > On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote > > > ttps:// > forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 > > > > > > I saw this thread, but it did not seem to offer a clear detail other > than to use

[Interest] [qt-android][qt-iOS] Is it possible to disable page scrolling when software keyboard is being shown?

2016-04-21 Thread Liang Jian
Hello everyone, One of the page in our qml app have an input box(such as a TextEdit element) at the bottom, when user press the input box the software keyboard will show, and we want the background of the page keep still while the input box scroll to the top of software keyboard. The curre

Re: [Interest] [Qt][Qml] Using OpenGL CoreProfile status

2016-04-21 Thread Sean Harmer
Hi, On Wednesday 20 April 2016 15:43:17 Jérôme Godbout wrote: > Hi, > We have move from 5.2 to 5.5, we are trying to plan to move to OpenGL > CoreProfile and finaly ditch the old CompatiblityProfile. > > Normaly I would just test it out, but I have another library that need to > be port too (we a