Re: [Interest] What you don't like about Qt

2016-09-23 Thread Jason H
> Not an isolated case. Client after client tells the same story. The > licensing team at Digia must be paid on commission because _every_ use > requires a license when you first contact them. FWIW, My dealings with the licensing people have been good. > What I don't like right now about Qt

Re: [Interest] Current QDataStream format documentation?

2016-09-23 Thread Jason H
> Sent: Thursday, September 22, 2016 at 10:12 PM > From: "Thiago Macieira" <thiago.macie...@intel.com> > To: interest@qt-project.org > Subject: Re: [Interest] Current QDataStream format documentation? > > On sexta-feira, 23 de setembro de 2016 03:01:40 PDT Ja

Re: [Interest] Current QDataStream format documentation?

2016-09-22 Thread Jason H
> On quinta-feira, 22 de setembro de 2016 20:10:32 PDT Jason H wrote: > > > On quinta-feira, 22 de setembro de 2016 17:36:44 PDT Jason H wrote: > > > > So I'm still looking for protocol 17 documentation. I need to provide > > > > this > > &

Re: [Interest] Current QDataStream format documentation?

2016-09-22 Thread Jason H
> 22.09.2016, 18:11, "Jason H" <jh...@gmx.com>: > > Nevermind. The trick does work. I have no idea what I did wrong. > > http://doc.qt.io/qt-5/datastreamformat.html > > > > "qt5 serialization" is what I had to search for. The 5.x page never

Re: [Interest] Current QDataStream format documentation?

2016-09-22 Thread Jason H
ore recent documentation? > Sent: Thursday, September 22, 2016 at 11:11 AM > From: "Jason H" <jh...@gmx.com> > To: "Jason H" <jh...@gmx.com> > Cc: interest <interest@qt-project.org> > Subject: Re: [Interest] Current QDataStream format documentation

Re: [Interest] Current QDataStream format documentation?

2016-09-22 Thread Jason H
on, DataStream class to serialization of binary ... See the list of data types which can be serialized here > Sent: Thursday, September 22, 2016 at 10:54 AM > From: "Jason H" <jh...@gmx.com> > To: interest <interest@qt-project.org> > Subject: [Interest] Current QDataSt

[Interest] Current QDataStream format documentation?

2016-09-22 Thread Jason H
There used to be a page on QDataStream serialization: http://doc.qt.io/qt-4.8/datastreamformat.html The normal trick does not work: http://doc.qt.io/qt-5/datastreamformat.html -> 404. Where can I find it? There were two additional protocol version since 4.8.

Re: [Interest] What don't you like about Qt?

2016-09-22 Thread Jason H
I've never seen it claimed that voting matters 1 iota.   I guess what we're asking for here is more prioritization transparency?     Sent: Thursday, September 22, 2016 at 2:27 AM From: "Vlad Stelmahovsky" <vladstelmahov...@gmail.com> To: "Jason H" <jh...@gmx.c

Re: [Interest] SSL broken hard on OSX

2016-09-21 Thread Jason H
> Sent: Wednesday, September 21, 2016 at 2:07 PM > From: "Jason H" <jh...@gmx.com> > To: "Thiago Macieira" <thiago.macie...@intel.com> > Cc: interest@qt-project.org > Subject: Re: [Interest] SSL broken hard on OSX > > > > > Does anyo

Re: [Interest] SSL broken hard on OSX

2016-09-21 Thread Jason H
> > Does anyone know how I can fix (not hide) these issues? > > Option 1) upgrade OpenSSL > > Option 2) use the native backend (SecureTransport) for SSL, not OpenSSL. > SecureTransport is the default in Qt 5.6. Thanks Thiago! But instructions are there instructions? Questions I have: 1. Which

[Interest] SSL broken hard on OSX

2016-09-21 Thread Jason H
I am on OSX 10.11.5. I've been using SSL successfully for a while, and I fell into a habit of ignoring qt.network.ssl warnings: qt.network.ssl: QSslSocket: cannot resolve SSL_set_psk_client_callback qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method qt.network.ssl: QSslSocket:

Re: [Interest] What don't you like about Qt?

2016-09-21 Thread Jason H
arev" <annu...@yandex.ru> > To: "Jean-Michaël Celerier" <jeanmichael.celer...@gmail.com>, "Jason H" > <jh...@gmx.com> > Cc: interest <interest@qt-project.org>, "Rob Allan" <rob_al...@trimble.com> > Subject: Re: [Int

Re: [Interest] What don't you like about Qt?

2016-09-21 Thread Jason H
> I also can't help making a comparison with two other popular layout > frameworks: WPF/XAML, and Android/AXML. In both of these worlds, the markup > language and the "code-behind" class hierarchy of UI elements are > absolutely equivalent 1st class citizens. Anything you can do in XAML, you > can

[Interest] First timer WebSocket fail (OSX)

2016-09-20 Thread Jason H
It's my first time using web sockets, and thereby the first time with Qt WebSockets. I imported QtWebSockets 1.0 (though there was mention of Qt.WebSockets 1.1) I added QT+=websockets to the .pro When the socket is activated, it's status goes from 0 to 4 to 3. I see nothing on the server. I

[Interest] QML Values to enum name

2016-09-20 Thread Jason H
Without having to create my own mapping object, I'd like to get the name from values: WebSocket { id: webSocket onStatusChanged: console.log("webSocket status:", status) // prints 3 or 4 } I'd like to be able to do: onStatusChanged: console.log("secWebSocket status:",

Re: [Interest] QML ListView "gravity"

2016-09-20 Thread Jason H
> > Is there an easy way to do this? I have a hack, but I am still looking for a better solution. The hack is to place it in an Item, anchor the list view to it's bottom, and set the height accordingly: height: contentHeight < listViewContainer.height ? contentHeight :

[Interest] QML ListView "gravity"

2016-09-20 Thread Jason H
While still wanting a Top-To-Bottom order, I want a "gravity" for the first several elements. [HEADER A B FOOTER] - vs. - [HEADER A B FOOTER] Is there an easy way to do this? ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Swift and Qt? (formally?)

2016-09-20 Thread Jason H
> Sent: Tuesday, September 20, 2016 at 1:35 PM > From: "Jason H" <jh...@gmx.com> > To: "Till Oliver Knoll" <till.oliver.kn...@gmail.com> > Cc: "Qt Project" <interest@qt-project.org> > Subject: Re: [Interest] Swift and Qt? (formall

Re: [Interest] Swift and Qt? (formally?)

2016-09-20 Thread Jason H
> Sent: Tuesday, September 20, 2016 at 7:39 AM > From: "Till Oliver Knoll" <till.oliver.kn...@gmail.com> > To: "Qt Project" <interest@qt-project.org> > Subject: Re: [Interest] Swift and Qt? (formally?) > > Am 19.09.16 um 18:52 schrieb Robert Iakoba

Re: [Interest] What don't you like about Qt?

2016-09-19 Thread Jason H
2. There are still bugs from 5.2 that need fixing. 3. QmlListProperty has a LOT of requests against it. https://bugreports.qt.io/browse/QTBUG-34015?jql=text%20~%20%22QQmlListProperty%22 PS> Like https://qpm.io? Sent: Monday, September 19, 2016 at 4:03 PM From: "Jérôme Godbout"

[Interest] iOS 10 Webkit is causing Cordova app issues

2016-09-19 Thread Jason H
I've heard that a lot of Cordova apps are breaking on iOS 10 because of changes to Webkit. I figure Qt is in a similar situation when using Webkit. Cordova's issue tracker is full of people reporting issues, but they keep getting closed as 'invalid' because it seems that application code tweaks

[Interest] Swift and Qt? (formally?)

2016-09-19 Thread Jason H
There is a 9-month old github; https://github.com/msorvig/qt-and-swift for inegrating the two. Are there any plans for formal Qt support of Swift? Obj-C is painful. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] What don't you like about Qt?

2016-09-19 Thread Jason H
1. Qt progresses at a glacial pace, and often neglects the more urgent/parity issues. - a. As more organizations adopt agile, this becomes all that more apparent. I've got to wait for a year for a code change to hit a release? Sorry, that's just too long. - b. Basic stuff like controlling the

Re: [Interest] Pixelated canvas on Qt 5.7 and iOS devices ... still?

2016-09-15 Thread Jason H
https://bugreports.qt.io/browse/QTBUG-37095 (2014-02-26)   It's been a while, but IIRC, if you allocate a canvas of 2x dimensions, then scale to 0.5, you'll get the sharpness you are looking for.   But I completely agree, it's been unfixed for far too long. I remember experiencing it on 5.4,

Re: [Interest] Qt Versioning Questions

2016-09-14 Thread Jason H
> Sent: Wednesday, September 14, 2016 at 11:05 AM > From: "Kai Koehne" <kai.koe...@qt.io> > To: "Jason H" <jh...@gmx.com>, "Interests Qt" <interest@qt-project.org> > Subject: RE: [Interest] Qt Versioning Questions > > > >

[Interest] Qt Versioning Questions

2016-09-14 Thread Jason H
So Qt has 3 codelines being maintained (AFAIK): 5.6 (LTS), 5.7, 5.8 I need fixes that are in 5.6.2. First question: When will those fixes from 5.6.2 be available in 5.7 and 5.8? Given the timing it looks like 5.6.2->5.7.1-5.8? Also I am waiting for https://bugreports.qt.io/browse/QTBUG-51133

Re: [Interest] Signal not making it to QML

2016-09-01 Thread Jason H
I figured it out. It helps to only have one instance of a singleton. *g*. > Sent: Thursday, September 01, 2016 at 2:50 PM > From: "Jason H" <jh...@gmx.com> > To: "Interests Qt" <interest@qt-project.org> > Subject: [Interest] Signal not making it

[Interest] Signal not making it to QML

2016-09-01 Thread Jason H
On Android, engine.rootContext()->setContextProperty(QLatin1String("platformShim"), ); //platformshim.h signals: void pushTokenReceived(QString token); //native JNI function calls PlatformShim::instance()->pushTokenReceived(token); //in main.qml Connections { target:

[Interest] QTBUG-37095: Canvas element renders fuzzy on retina displays

2016-09-01 Thread Jason H
I know we all love our bugs the most, but this one has been open since Feb 2014. It's got 15 votes and 15 watchers, and req'd by Silver support. We were supposed to get the DPI problems fixed in 5.6.(0). We're on the verge of 5.6.2, and it's still not fixed in 5.7 apparently. The latest

Re: [Interest] Is Qt/QML suitable for me?

2016-09-01 Thread Jason H
The deployment process to the various app stores kinda sucks, but that's not Qt's fault.   The other frusrtation I have is just the lack of true mobile integration. Things like notifications (local and remote), wake locks, and various other bits that are not supported yet, but could be. Part of

Re: [Interest] CocoaPods and Qt

2016-09-01 Thread Jason H
+=-framework AddressBook LIBS += -lsqlite3 > Sent: Tuesday, August 30, 2016 at 12:47 PM > From: "Manoel Neto" <manoelne...@gmail.com> > To: "Jason H" <jh...@gmx.com> > Cc: "Interests Qt" <interest@qt-project.org> > Subject: Re:

Re: [Interest] Is Qt/QML suitable for me?

2016-08-30 Thread Jason H
asyncronously.)     But I think it's even better than PyQt.     Sent: Tuesday, August 30, 2016 at 4:11 PM From: "Jérôme Godbout" <jer...@bodycad.com> To: "Jason H" <jh...@gmx.com> Cc: "Артур Истомин" <art.is...@yandex.ru>, "Interests

Re: [Interest] Is Qt/QML suitable for me?

2016-08-30 Thread Jason H
> Sent: Tuesday, August 30, 2016 at 3:11 PM > From: "Артур Истомин" > To: interest@qt-project.org > Subject: [Interest] Is Qt/QML suitable for me? > > I want to convert my POS (point of sale) software (long ugly shell-scripts) > to GUI-software for mobile (Android) and

Re: [Interest] CocoaPods and Qt

2016-08-30 Thread Jason H
ent: Tuesday, August 30, 2016 at 12:47 PM > From: "Manoel Neto" <manoelne...@gmail.com> > To: "Jason H" <jh...@gmx.com> > Cc: "Interests Qt" <interest@qt-project.org> > Subject: Re: [Interest] CocoaPods and Qt > > Hi Jason, > >

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
Using a comma instead of a period? :-) Not passing `this`?     Sent: Tuesday, August 30, 2016 at 12:34 PM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason H" <jh...@gmx.com> Cc: "Qt Project MailingList" <interest@qt-projec

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
to take the notificationIntent above and just startIntent() it from the handler and see what you get.   Sent: Tuesday, August 30, 2016 at 12:04 PM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason H" <jh...@gmx.com> Cc: "Qt Project MailingList&q

[Interest] CocoaPods and Qt

2016-08-30 Thread Jason H
I'm fighting the google cloud messaging. It is packaged as CocoaPods, but I manually added the .a and frameworks to the project. I get the errors (runtime): You have enabled the CloudMessaging service in Developer Console, but it appears as though your Podfile is missing the line: 'pod

Re: [Interest] Includue Additional PLISTs?

2016-08-30 Thread Jason H
Thanks, I got this working :-)   Sent: Tuesday, August 30, 2016 at 11:30 AM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason H" <jh...@gmx.com> Cc: "Interests Qt" <interest@qt-project.org> Subject: Re: [Interest] Includue Additiona

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
What code are you using to show your activity from the notification?   Sent: Tuesday, August 30, 2016 at 11:32 AM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason H" <jh...@gmx.com> Cc: "Qt Project MailingList" <interest@qt-projec

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
I don't have a problem with notifcations like that. What are you doing to bring your activity to the front? I'd suspect you start an intent, and have the SINGLE_TOP flag on the activity, or something like that?   Sent: Tuesday, August 30, 2016 at 11:12 AM From: "Nuno Santos"

[Interest] Includue Additional PLISTs?

2016-08-30 Thread Jason H
I am integrating Google Cloud Messaging, and need to include a GoogleService-Info.plist file. I currently get the error: Could not locate configuration file: 'GoogleService-Info.plist'. How can I tell qmake to include it? I already have an Info.plist.

[Interest] Android Gradle issue: use -source 7 or higher to enable diamond operator

2016-08-24 Thread Jason H
I'm trying to use some supplied code that relies on Java 1.7: new HashSet<>(); error: diamond operator is not supported in -source 1.6 But in my build.gradle I have: android { /* the usual ... */ sourceCompatibility = 1.7 targetCompatibility = 1.7 } But I continue to get the error.

Re: [Interest] Force property's binding to be executed from C++

2016-08-24 Thread Jason H
As as aside, you may want to look into using a QTreeModel for your XML, then you can use the model/view/delegate stuff in C++ and QML.     Sent: Tuesday, August 23, 2016 at 7:24 PM From: "Xavier Bigand" <flamaros.xav...@gmail.com> To: "Jérôme Godbout" <jer...@b

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Jason H
currentSkin to productOutdoor, productMyDreamHome, or productOther   You should get what you want. I personally just use a big JSON object and assign that.  Sent: Tuesday, August 23, 2016 at 5:36 PM From: "Xavier Bigand" <flamaros.xav...@gmail.com> To: "Jason H" <jh..

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Jason H
If I understand you correctly, and I probably don't, the skin component   Skin { signal skinPropertyChanged(); property color accentucationColor: "red" onAccentucationColorChanged: skinPropertyChanged() }   SkinManager {// exposed C++ class     id:skinManager     property var

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-22 Thread Jason H
See also: https://bugreports.qt.io/browse/QTBUG-38184     Sent: Monday, August 22, 2016 at 11:04 PM From: "Jason H" <jh...@gmx.com> To: "Nuno Santos" <nunosan...@imaginando.pt> Cc: interest@qt-project.org Subject: Re: [Interest] Location when the App is Killed/T

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-22 Thread Jason H
how assign your delegate to be the application delegate. But I don't know much about iOS internals.   Sent: Monday, August 22, 2016 at 7:53 PM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Manoel Neto" <manoelne...@gmail.com> Cc: "Jason H" <jh..

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-22 Thread Jason H
ginando.pt> To: "Manoel Neto" <manoelne...@gmail.com> Cc: "Jason H" <jh...@gmx.com>, interest@qt-project.org Subject: Re: [Interest] Location when the App is Killed/Terminated/Suspended I think didFinishLaunchingWithOptions will only get called when the

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-22 Thread Jason H
quot;Manoel Neto" <manoelne...@gmail.com> > To: "Jason H" <jh...@gmx.com> > Cc: interest@qt-project.org > Subject: Re: [Interest] Location when the App is Killed/Terminated/Suspended > > Hi Jason, thanks for your reply. My problem is not how to build > AppD

Re: [Interest] Location when the App is Killed/Terminated/Suspended

2016-08-22 Thread Jason H
@implementation QtAppDelegate +(QtAppDelegate *)sharedQtAppDelegate{ static dispatch_once_t pred; static QtAppDelegate *shared = nil; dispatch_once(, ^{ shared = [[super alloc] init]; }); return shared; } ... void

Re: [Interest] (no subject)

2016-08-22 Thread Jason H
Kapil, you have sent multiple messages with no subject line. Please use a subject line.    Sent: Monday, August 22, 2016 at 2:26 AM From: "Kapil Gupta" To: interest@qt-project.org Subject: [Interest] (no subject) Hi,   I am using qml-material to create the GUI for my

Re: [Interest] [Announcement] QtWebKit Technology Preview 3

2016-08-19 Thread Jason H
> Hello everyone, > > We are pleased to announce QtWebKit Technology Preview 3! > > Highlights of this release are: > > * NPAPI and Qt plugins are finally supported on X11 and Windows (not on macOS > yet, sorry) > > * Bulk of the patches which have never been in the trunk of webkit.org was >

[Interest] Qt on Android needs improvements

2016-08-18 Thread Jason H
The more I do on Android the more I realize the situation is less than ideal. My issues are thus: 1. I need to call native (Qt) code in MyActivity.onCreate(), but there is no notification that Qt is ready. In fact Qt doesn't finish loading until after onCreate. I need some kind of blocking call

Re: [Interest] Qt Android Service example

2016-08-18 Thread Jason H
)); cpuLock.acquire(); } Sent: Thursday, August 18, 2016 at 12:18 PM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason H" <jh...@gmx.com> Cc: "Qt Project MailingList" <interest@qt-project.org> Subject: Re: [Interest] Qt Android Service exa

Re: [Interest] Qt Android Service example

2016-08-18 Thread Jason H
Let's backup. What are you trying to do with a service?   Sent: Thursday, August 18, 2016 at 10:13 AM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason H" <jh...@gmx.com> Cc: "Qt Project MailingList" <interest@qt-project.org> Subject:

Re: [Interest] Qt Android Service example

2016-08-18 Thread Jason H
It is kinda jarring how they drop you off into the Android documentation like that.   What I have is a Qt app (QtAppplication, QtActivity) with a Android service.    Sent: Wednesday, August 17, 2016 at 5:41 PM From: "Nuno Santos" <nunosan...@imaginando.pt> To: "Jason

Re: [Interest] Qt Android Service example

2016-08-17 Thread Jason H
Should be, only since 5.7 http://doc.qt.io/qt-5/androidservices.html   Sent: Wednesday, August 17, 2016 at 1:02 PM From: "Nuno Santos" To: "Qt Project MailingList" Subject: [Interest] Qt Android Service example Hi,   Is there any public

Re: [Interest] Passing QML mapobjects (MapCircle) to QML maps through C++

2016-08-17 Thread Jason H
QML maps through C++   On 15-Aug-2016 8:47 PM, "Jason H" <jh...@gmx.com> wrote: > > I assume you men a geogrpahical map, as QMap is something else entirely.  Yes. I was talking of geographical map. > It is trivial to interop between C++ and QML. Depending on how

Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

2016-08-15 Thread Jason H
" <gunnar.r...@gmx.de> > To: "Jason H" <jh...@gmx.com> > Cc: "Alejandro Exojo" <s...@badopi.org>, interest@qt-project.org > Subject: Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for > QML? > > > > Am 15.08.2016 um 17:3

Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

2016-08-15 Thread Jason H
quot; when it is "fast enough" for almost anyone.   Sent: Monday, August 15, 2016 at 11:41 AM From: "Vlad Stelmahovsky" <vladstelmahov...@gmail.com> To: "Jason H" <jh...@gmx.com> Cc: interest@qt-project.org Subject: Re: [Interest] Thoughts on a 'proper' (or stan

Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

2016-08-15 Thread Jason H
> Sent: Wednesday, August 10, 2016 at 4:36 PM > From: "Alejandro Exojo" <s...@badopi.org> > To: interest@qt-project.org > Subject: Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for > QML? > > On Wednesday 10 August 2016 17:09:17 Jason

Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

2016-08-15 Thread Jason H
docs/Web/API/FileReader   Rich.   On 10 August 2016 at 16:09, Jason H <jh...@gmx.com> wrote: I know it's not a normal thing, but occasionally in QML we need to access files. Exposing an object is not hard, but it would be really good to have a standard to enable QML libraries that use file I

Re: [Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

2016-08-15 Thread Jason H
platform, native framework and implement file io via JS?     On Wed, Aug 10, 2016 at 10:36 PM, Alejandro Exojo <s...@badopi.org> wrote: On Wednesday 10 August 2016 17:09:17 Jason H wrote: > I know it's not a normal thing, but occasionally in QML we need to access > files. Ex

Re: [Interest] Android not using my QtActivity subclass.

2016-08-15 Thread Jason H
UPDATE: Somehow I lost ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android in my .pro > Sent: Friday, August 12, 2016 at 5:04 PM > From: "Jason H" <jh...@gmx.com> > To: "Jason H" <jh...@gmx.com> > Cc: "interestqt-project.org" <interest@qt-pr

Re: [Interest] Passing QML mapobjects (MapCircle) to QML maps through C++

2016-08-15 Thread Jason H
I assume you men a geogrpahical map, as QMap is something else entirely.    It is trivial to interop between C++ and QML. Depending on how you do it, you can just set a context property  as a QObject-derived class in the C++ API. Otherwise you have to use it as a MetaType.  

Re: [Interest] Android not using my QtActivity subclass.

2016-08-12 Thread Jason H
> Sent: Friday, August 12, 2016 at 3:54 PM > From: "Jason H" <jh...@gmx.com> > To: "interestqt-project.org" <interest@qt-project.org> > Subject: [Interest] Android not using my QtActivity subclass. > > I had to refactor my a

[Interest] Android not using my QtActivity subclass.

2016-08-12 Thread Jason H
I had to refactor my application package name, which was com.company.app, to com.company.app.a When I did this, Qt/Android no longer used my MyActivity which derived from QtActivity, and now calls it org.qtproject.example.app. I have updated my Android manifest to match, but it didn't change.

[Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

2016-08-10 Thread Jason H
I know it's not a normal thing, but occasionally in QML we need to access files. Exposing an object is not hard, but it would be really good to have a standard to enable QML libraries that use file IO. There are two ways to basically so this: - QML Specific API - Node.JS-compatible API I did

Re: [Interest] QNetworkAccessManager networkAccessible - Android vs iOS

2016-08-09 Thread Jason H
This is a well known bug that has bounced around varuous statuses in various other issue numbers and is still not fixed it seems.   https://bugreports.qt.io/browse/QTBUG-49751   Sent: Tuesday, August 09, 2016 at 5:32 AM From: ekke To: "interest@qt-project.org"

Re: [Interest] [Development] [QML] Avoiding graphics flicker in Quick2

2016-08-04 Thread Jason H
I'm betting it is due to a buggy driver (GL) implementation.  I've never seen QtQuick2 flicker.   Sent: Thursday, August 04, 2016 at 7:50 AM From: "Denis Shienkov" To: "developm...@qt-project.org" , "interest@qt-project.org"

Re: [Interest] Relationship between a QEventLoop and QCoreApplication::exec().

2016-08-03 Thread Jason H
> Sent: Wednesday, August 03, 2016 at 1:22 PM > From: "Jorge Fierro" > To: interest@qt-project.org > Subject: [Interest] Relationship between a QEventLoop and > QCoreApplication::exec(). > > Hi. I've been reading through the documentation and mailing list > archives and

Re: [Interest] Display XML in tree view

2016-08-03 Thread Jason H
> Sent: Wednesday, August 03, 2016 at 12:45 PM > From: "Murphy, Sean" > To: "interest@qt-project.org" > Subject: Re: [Interest] Display XML in tree view > > > I think that's where you will need to use Roles, if you want different > > colors > > for

Re: [Interest] Display XML in tree view

2016-08-03 Thread Jason H
> For bonus points, I'd love to modify the text colors for syntax highlighting > tag > names vs. attribute names vs. attribute values, etc. I don't know if how easy > it > is to have multiple colors in a single QModelIndex? A quick search says I > might > need to use a delegate for that. I

Re: [Interest] Display XML in tree view

2016-08-03 Thread Jason H
> Sent: Wednesday, August 03, 2016 at 10:29 AM > From: "Murphy, Sean" > To: "interest@qt-project.org" > Subject: Re: [Interest] Display XML in tree view > > > > I'm assuming this solution already exists, but either my google-fu isn't > > working

Re: [Interest] Display XML in tree view

2016-08-03 Thread Jason H
> Sent: Tuesday, August 02, 2016 at 11:36 AM > From: "Murphy, Sean" > To: "interest@qt-project.org" > Subject: [Interest] Display XML in tree view > > I'm assuming this solution already exists, but either my google-fu isn't > working today, or it

Re: [Interest] DelegateModel: Dynamic Delegate Model groups

2016-07-29 Thread Jason H
From: "Jason H" <jh...@gmx.com> To: "Jérôme Godbout" <jer...@bodycad.com> Cc: "Interests Qt" <interest@qt-project.org> Subject: Re: [Interest] DelegateModel: Dynamic Delegate Model groups Thanks Jerome! I'm making progress, but not quite there.  

Re: [Interest] Android: Underlined text in text edit not showing up in .text property

2016-07-29 Thread Jason H
.text property Am 29.07.16 um 16:12 schrieb Jason H: I've got a Samsung Alpha (stock) that as I type, the text property is not being updated. I initialized a TextInput (below, comments in []) and backspaced over it, it gets the updates correctly. But when I start typing, anything not reco

Re: [Interest] Android: Underlined text in text edit not showing up in .text property

2016-07-29 Thread Jason H
ow the text. Read the notes about it, because its behavior changes according to echoMode. > > On 29 Jul 2016, at 15:12, Jason H <jh...@gmx.com> wrote: > > > > I've got a Samsung Alpha (stock) that as I type, the text property is not > > being updated. >

[Interest] Android: Underlined text in text edit not showing up in .text property

2016-07-29 Thread Jason H
I've got a Samsung Alpha (stock) that as I type, the text property is not being updated. I initialized a TextInput (below, comments in []) and backspaced over it, it gets the updates correctly. But when I start typing, anything not recognized by the keyboard is underlined in the text edit and

Re: [Interest] JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.

2016-07-29 Thread Jason H
> Sent: Friday, July 29, 2016 at 5:54 AM > From: "Konstantin Tokarev" > To: "Nuno Santos" , "Qt Project MailingList" > > Subject: Re: [Interest] JIT is disabled for QML. Property bindings and > animations will be very slow.

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-28 Thread Jason H
Why does QML prefer 'count' over '.length'?   On Thursday, July 28, 2016 15:46, Jason H <jh...@gmx.com> wrote: > Look, I know JS was invented in 10 days back in 1995. There's no shortage of things to complain about. But > 'length' was chosen, and it is the number of items. I would

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-28 Thread Jason H
> It makes perfect sense. "count" makes sense for visual things. "length" only > means "amount" in computer science, and only then in the realm of containers. > You don't say "white blood cell length" when referring to the amount of blood > white cells, you say "white blood cell count". You

Re: [Interest] DelegateModel: Dynamic Delegate Model groups

2016-07-27 Thread Jason H
to assign QQmlListReference to QQmlListProperty }   Also, I do not know what happens with the peristedItems and items groups of Delegate model when I assign it this way.   Sent: Wednesday, July 27, 2016 at 9:34 AM From: "Jérôme Godbout" <jer...@bodycad.com> To: "Jason

Re: [Interest] DelegateModel: Dynamic Delegate Model groups

2016-07-26 Thread Jason H
to internally try to promote it and succeed. Sent: Tuesday, July 26, 2016 at 1:43 PM From: "Jérôme Godbout" <jer...@bodycad.com> To: "Jason H" <jh...@gmx.com> Cc: "André Somers" <an...@familiesomers.nl>, "Interests Qt" <interest@q

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-26 Thread Jason H
> Sent: Tuesday, July 26, 2016 at 1:57 PM > From: "J-P Nurmi" <jpnu...@qt.io> > To: "interest@qt-project.org" <interest@qt-project.org> > Subject: Re: [Interest] Why does QML prefer 'count' over '.length'? > > On Tuesday, July 26, 2016 19:02, Jas

Re: [Interest] DelegateModel: Dynamic Delegate Model groups

2016-07-26 Thread Jason H
to go the other way? Or the QQmlListProperty is too tightly typed?     Sent: Tuesday, July 26, 2016 at 11:49 AM From: "Jérôme Godbout" <jer...@bodycad.com> To: "Jason H" <jh...@gmx.com> Cc: "André Somers" <an...@familiesomers.nl>, "Int

Re: [Interest] Why does QML prefer 'count' over '.length'?

2016-07-26 Thread Jason H
> Sent: Tuesday, July 26, 2016 at 12:40 PM > From: "Thiago Macieira" <thiago.macie...@intel.com> > To: interest@qt-project.org > Subject: Re: [Interest] Why does QML prefer 'count' over '.length'? > > Em terça-feira, 26 de julho de 2016, às 15:59:27 PDT, Jaso

Re: [Interest] DelegateModel: Dynamic Delegate Model groups

2016-07-26 Thread Jason H
> I'd just write my proxy model in C++ and be done with it. > > André > > > Op 26/07/2016 om 15:46 schreef Jason H: > > I want to have groups corresponding to the equivalent of 'SELECT DISTINCT > > x' query. Then I want each item assigned to a group of it'

[Interest] ECMA-262 Spec?

2016-07-26 Thread Jason H
According to http://doc.qt.io/qt-5/qtqml-javascript-hostenvironment.html, Qt supports 5th ed. But accordign to https://en.wikipedia.org/wiki/ECMAScript#Implementations, Qt supports 6th ed. I give equal odds to Qt docs being out of date as much to the Wiki being wrong. What's the status of

[Interest] Why does QML prefer 'count' over '.length'?

2016-07-26 Thread Jason H
I've pretty much standardized on the JS 'length' property, but why does all the Qt/QML stuff use .count? the C++ API used size(). It's just a minor frustration. It would be cool if Qt/QML was brought inline with the JS convention... ___ Interest

[Interest] DelegateModel: Dynamic Delegate Model groups

2016-07-26 Thread Jason H
I want to have groups corresponding to the equivalent of 'SELECT DISTINCT x' query. Then I want each item assigned to a group of it's value of x. For example: 'SELECT DISTINCT x' -> ['a', 'b', 'c'] 'SELECT x,y' -> [ ['a', '1'], ['a','2'], ['b','3'], ['c', '4'], ['c','11'] ] Then I have 3

[Interest] Still fighting with Text.fontSizeMode

2016-07-25 Thread Jason H
One of my regular frustrations is with Text.fontSizeMode. I'm glad it exists, I just wish it were more complete. Let me explain: I have a dynamic list of elements: "The Electric Factory" "Willy's Chocolate Factory" I want to display them in a list with a uniform font size. If I use

Re: [Interest] Moving UI when Android OSK comes up?

2016-07-25 Thread Jason H
> Sent: Monday, July 25, 2016 at 11:08 AM > From: "Jason H" <jh...@gmx.com> > To: "Qt Interest" <interest@qt-project.org> > Subject: [Interest] Moving UI when Android OSK comes up? > > I'm t ryng to add a chat feature with an app. When the key

[Interest] Moving UI when Android OSK comes up?

2016-07-25 Thread Jason H
I'm t ryng to add a chat feature with an app. When the keyboard comes up, it obscures the UI, so I always kept the edits above the keyboard area. But now, I'd like to provide a "facebook-style" chat UI, where the text entry is docked to the top of the keyboard, with the previous chat history

Re: [Interest] Correct way of exposing enum list to QtQuick

2016-07-22 Thread Jason H
I'm not sure if this is what you are looking for but here is waht I do:   main.cpp: qmlRegisterType("Qt", 1, 0, "QCryptographicHash"); class HashFunction: public QObject { Q_OBJECT Q_ENUMS(HashFunctionEnum)   public: enum HashFunctionEnum { Md4 = QCryptographicHash::Md4, Md5

Re: [Interest] Fw: Translations in QML

2016-07-22 Thread Jason H
From waht I can tell: Qt seems to match on source string AND disambiguation   If you provide qsTr("back") it will match any "back" If you provide qsTr("back", "dorsal") it will only match qsTr("back", "dorsal") Meaning don't use the diambugation text unless it is actually needed, otherise you

[Interest] lupdate -compress makes files BIGGER?

2016-07-20 Thread Jason H
$ lupdate -compress app.pro $ ls -l -S *.qm -rw-r--r-- 1 jhihn staff 11570 Jul 20 15:02 app_mr.qm -rw-r--r-- 1 jhihn staff 11102 Jul 20 15:02 app_es.qm -rw-r--r-- 1 jhihn staff 10975 Jul 20 15:02 app_tl.qm -rw-r--r-- 1 jhihn staff 10556 Jul 20 15:02 app_ta.qm -rw-r--r-- 1 jhihn staff

[Interest] Towards a better mobile launch?

2016-07-19 Thread Jason H
I am taking a stab here on why it takes to long to launch a mobile app on Android and iOS. I'm guessing the bulk of the time is to load the 13MB of Qt libraries. I'm wondering if there is anything I (or Qt) can do to get a launch screen up quicker, (reducing the time from launch to a screen-

Re: [Interest] Utilizing the GPU, how to start?

2016-07-08 Thread Jason H
> Sent: Friday, July 08, 2016 at 1:11 PM > From: "Giuseppe D'Angelo" <giuseppe.dang...@kdab.com> > To: interest@qt-project.org > Subject: Re: [Interest] Utilizing the GPU, how to start? > > Il 06/07/2016 18:19, Jason H ha scritto: > > > What others

[Interest] Translations in Google Play?

2016-07-08 Thread Jason H
I have used the standard Qt translation features to translate my app into several languages. (Modeled after our discussions here a few months ago). Somehow, Google play somehow detected this, but it only detected Spanish and Chinese. I have other translations. I'd like the play store to show

<    3   4   5   6   7   8   9   10   11   12   >