Re: [Interest] the path forward - that 7 year thing - was, , willy-nilly

2021-03-28 Thread Jason H
Tukka, you (Digia, aka "QtCo") no longer offer the perpetuity clause of the license. Which is absolutely insane for a commercial customer.  If we are no longer developing that code, we should still be able to "distribute" that code. The revocation of the perpetuity clause in new licenses means we c

Re: [Interest] the path forward - that 7 year thing - was, , willy-nilly

2021-03-28 Thread Jason H
I was just in contact with them, and shocked that the perpetual nature was removed... I don't think I'm mistaken. > Sent: Sunday, March 28, 2021 at 7:53 PM > From: "Tuukka Turunen" > To: "Jason H" > Cc: "Roland Hughes" , "i

Re: [Interest] the path forward - that 7 year thing - was, , willy-nilly

2021-03-28 Thread Jason H
n the open... None of this "contact sales for pricing" > Sent: Sunday, March 28, 2021 at 7:53 PM > From: "Tuukka Turunen" > To: "Jason H" > Cc: "Roland Hughes" , "interest@qt-project.org" > , "mike.jack...@bluequartz.ne

Re: [Interest] Software architecture style options

2021-03-31 Thread Jason H
If not an appropriate question for this list. But Qt can help with the QML local UI and remote browser WebGL plugin, the experimental Qt HTTP server (though I prefer web sockets these days) > Sent: Wednesday, March 31, 2021 at 8:21 AM > From: "Megidd Git" > To: interest@qt-project.org > Subje

Re: [Interest] Software architecture style options

2021-03-31 Thread Jason H
Last time I tried, it worked, or could work, however concurrency management is left as an excercise to the coder. https://bugreports.qt.io/browse/QTBUG-65241   The WebGL doesn’t allow multiple users as far as I known to render the GUI into WebGL (correct me if I’m wrong here I haven’t used i

Re: [Interest] the path forward

2021-04-01 Thread Jason H
I've called Qt "top secret rockstar tech" multiple times and I plan on calling it that for a bit more. I've had 5 companies buy licenses since 2005.  Qt has delivered on getting my products to market in record time, even if that was a process frought with far more native code than it should have be

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-21 Thread Jason H
I am ambidextrous when it comes to Quick and Widgets. If you want it to look modern, use Quick. If you want more business-retro, use widgets. Widgets still has better UX, but it is not as bad as it used to be. You can do what you want in Quick, with C++ QQuickImageProvider subclass. It's a lit

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-21 Thread Jason H
You probably won't  -- it's too new. Unless you call automotive Infotainment consoles success stories. The lack of proper QtQuick Controls (v2) held it back for a while.   Personally, I think the exsting QtQuick element should be scrapped and just focus on QML versions of the existing Widget fun

[Interest] Help a unix guy on windows qmake

2021-04-21 Thread Jason H
I'm having a bugger of a time getting a project working under windows. I've been doit under mac and linux for the last many years. What is the proper scope? Allegedly these are listed in C:\Qt\$ver\$compiler\mkspecs, however there are no win64 ones. I'm using mingw. Why is there no $PROJ variabl

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-21 Thread Jason H
> On 21/04/2021 17:42, Jason H wrote: > > Personally, I think the exsting QtQuick element should be scrapped and > > just focus on QML versions of the existing Widget functionality. I love > > the QML syntax, hate that it's not just a layer on top of widgets. > >

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Jason H
> Sent: Wednesday, April 21, 2021 at 12:04 PM > From: "Giuseppe D'Angelo via Interest" > To: interest@qt-project.org > Subject: Re: [Interest] Help a unix guy on windows qmake > > On 21/04/2021 17:49, Jason H wrote: > > What is the proper scope? Allege

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Jason H
> Sent: Wednesday, April 21, 2021 at 1:14 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Help a unix guy on windows qmake > > On Wednesday, 21 April 2021 09:54:09 PDT Jason H wrote: > > Now, when compiling, regardless of

Re: [Interest] Help a unix guy on windows qmake

2021-04-22 Thread Jason H
> On Wednesday, 21 April 2021 10:39:01 PDT Giuseppe D'Angelo via Interest wrote: > > But no $X. I'm still not sure what $PROJ means. > > The way the example was given, the string "$PROJ" will be written literally to > the Makefile. Make will then interpret it as $(P)ROJ, which is likely not what >

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-22 Thread Jason H
> Sent: Thursday, April 22, 2021 at 4:50 AM > From: "Volker Hilsheimer" > To: "Bernhard Lindner" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Guide me through the Qt offerings for GUIs > > > On 21 Apr 2021, at 22:39, Bernhard Lindner > > wrote: > > > > > >> Personally, I think

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-23 Thread Jason H
If you are *so* resouce constrained, use LVGL. You're probably not using 15MB Qt llibraries anyway, and they would take too long load anyway.         Sent: Thursday, April 22, 2021 at 1:35 PM From: "Roland Hughes" To: eric.fedosej...@gmail.com, "'Vlad Stelmahovsky'" Cc: "'interest'" Subject:

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-23 Thread Jason H
> On 4/23/2021 5:00 AM, Frank Mertens wrote: > > All the latency and texture loading concerns actually go away when using > > software rendering. > > For the embedded world just make sure you have a good low-latency memory > > block. > > (I had good experiences with IMX6ULs...!-) > > Thank you f

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-23 Thread Jason H
I highly recommend using QHttpServer or QWebSocketServer to create a backend for your application. You can then have web clients target your logic, swap your server for some other tech Node.JS, etc) or serve local and Qt/WebGL UIs. It forces you into that paradigm. The Websocket version plays a bit

[Interest] Qt permanently broke on computer

2021-04-26 Thread Jason H
I tried to port an app on a Win10 PC. That went well. Then I tried to deploy (windeployqt) it. Now when I run it in creator I get: 10:26:28: Starting C:\Users\Admin\Projects\build-phidget-spinner-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\debug\phidget-spinner.exe ... qt.qpa.plugin: Could not find th

Re: [Interest] Qt permanently broke on computer

2021-04-26 Thread Jason H
> I tried to port an app on a Win10 PC. That went well. Then I tried to deploy > (windeployqt) it. > > Now when I run it in creator I get: > 10:26:28: Starting > C:\Users\Admin\Projects\build-phidget-spinner-Desktop_Qt_5_15_2_MinGW_64_bit-Debug\debug\phidget-spinner.exe > ... > qt.qpa.plugin: Co

Re: [Interest] Qt permanently broke on computer

2021-04-26 Thread Jason H
> Sent: Monday, April 26, 2021 at 11:01 AM > From: "Jason H" > To: "Jason H" > Cc: "interestqt-project.org" > Subject: Re: [Interest] Qt permanently broke on computer > > > I tried to port an app on a Win10 PC. That went well. Then I tri

Re: [Interest] Svar: Qt permanently broke on computer

2021-04-27 Thread Jason H
Not sure why $$MYPROJ works for INCLUDEPATH but breaks the linker? If the link path is wrong I would expect it to fail the build, bot break Qt?         Sent: Monday, April 26, 2021 at 2:47 PM From: "Andy Shaw" To: "Jérôme Godbout" , "Jason H" Cc: "interes

Re: [Interest] L Word

2021-04-30 Thread Jason H
Not to Jeffery specifically,   I have mixed feelings about the whole situation. I think Roland is right, or at least has a valid point most of the time, even if it is technical or limited to a specific use case. However his speech is often hyperbolic, absolutust, and not really tolerant of any ot

[Interest] Online Windows Installer DLL dependency

2021-04-30 Thread Jason H
For anyone who may find it useful, the Qt online windows installer needs the "MS Visual C++ 2015-2016 Redistributable (x86)" installed, even though it is on a x64 system. The (x64) version will not work. ___ Interest mailing list Interest@qt-project.org

[Interest] Another Qt disappointment

2021-05-03 Thread Jason H
I have a load cell. It's a sensor that measures weight. I wanted to make a quick UI for it in Qt. That went as expected. Then I wanted to put the app on a spare Amazon Fire tablet rather than tie up a computer with it. I was running with Qt 5.15.2, but there's. bug with Bearer in Qt 5.15.2, so I

Re: [Interest] L Word

2021-05-03 Thread Jason H
The problem isn't Qt, it's not dashboards or medical. It's all about how you mitigate the risk.   I think Qt is fine for dashboards and medical, if the risks are properly managed. I think it is ok that a desktop app does not have the same risk profile as a medical device. What is important from a

Re: [Interest] Another Qt disappointment

2021-05-04 Thread Jason H
f any of the engineers are pushing back internally?       Sent: Tuesday, May 04, 2021 at 9:53 AM From: "Bob Hood" To: interest@qt-project.org Subject: Re: [Interest] Another Qt disappointment On 5/3/2021 8:44 AM, Jason H wrote: I have a load cell. It's a sensor that measur

[Interest] Windows-64 specific QML UI flickering

2021-05-05 Thread Jason H
I use mainly Mac and Android and I don't see these issues, however the Windows 64 experience is very crunchy. I was asked to make a simple serial port monitor. I developed on my mac. It's solid. It's got QML UI using Rows, Columns, Text, TextEdits (Controls v2), and a ComboBox (Controls v2) for

[Interest] QML Singleton and QTimer?

2021-05-06 Thread Jason H
I'm trying to have a simple singleton class, but it doesn't appear that I can use timers? HardwareInterface::HardwareInterface(QObject *parent) : QObject(parent) { m_timer = new QTimer(this); connect(m_timer, &QTimer::timeout, this, [=](){ qDebug() << Q_FUNC_INFO

Re: [Interest] QML Singleton and QTimer?

2021-05-07 Thread Jason H
"Jérôme Godbout" To: "Jason H" , "interestqt-project.org" Subject: Re: [Interest] QML Singleton and QTimer? You can check the thread affinity of an object and the current thread that will display the problem you encounter. Use a queued signal into the QTimer thre

Re: [Interest] QML Singleton and QTimer?

2021-05-10 Thread Jason H
> Sent: Monday, May 10, 2021 at 3:08 AM > From: "Ulf Hermann" > To: interest@qt-project.org > Subject: Re: [Interest] QML Singleton and QTimer? > > Hi, > > > GuiApplication::GuiApplication(int argc, char*argv[]): > > QGuiApplication::QGuiApplication(argc, argv) > > { > > m_hardwareInterf

Re: [Interest] Android build fails with "Could not determine java version from '11.0.8'" error

2021-05-19 Thread Jason H
Your java is too new. In QtCreator, click the globe in the Devices pane: JDK Location > [...] [Choose] [globe] and select OpenJDK 8. > Sent: Wednesday, May 19, 2021 at 2:40 PM > From: "Alexander Dyagilev" > To: "Qt Project" > Subject: [Interest] Android build fails with "Could not determine

[Interest] WASM build Error: Bad relocation type

2021-05-19 Thread Jason H
I was giving QtC 4.15 a spin today and saw the prompt for WebAssembly. It had been a while since I last tried it and wanted to check it out again. I configured it, adjusted my project, but errored during build at: wasm-ld: error: test-ui.js_qml_plugin_import.o: Bad relocation type: shared:ERROR:

[Interest] Idea: QML Text source property?

2021-05-20 Thread Jason H
I wanted to post a thought I had about adopting a source property approach for text-ish things (Text, TextEdit, Text*) as well as images. Currently, images support a source property, which can be routed to a remote url, local file, compiled resource, or QQuickImageProvider. I think it could be

Re: [Interest] WASM build Error: Bad relocation type

2021-05-24 Thread Jason H
> > I'm not sure what to do no > > > I made sure I activated the right version (per > > https://wiki.qt.io/Qt_for_WebAssembly) (1.39.8) > > > I just tested an empty qml swipe app on my mac, and is working for me. > > When you activated this, did you include the --embedded argument to emsdk? > If s

Re: [Interest] WASM build Error: Bad relocation type

2021-05-24 Thread Jason H
> I have retried with: > `./emsdk activate sdk-fastcomp-1.38.27-64bit` > I'll keep looking into this. So, It's a bit confusing why fastcomp is mentioned, if it isn't supported? Anyway, I can't get past the wasm-ld: error: test-ui.js_qml_plugin_import.o: Bad relocation type: shared:ERROR: '...'

Re: [Interest] WASM build Error: Bad relocation type

2021-05-28 Thread Jason H
> Ah see, you have to read the fine print: https://doc.qt.io/qt-5/wasm.html is > the authoritative documentation. I made that clearer on the wiki now; > apologies for the confusion. > > fastcomp (the older fork-of-llvm compiler) is long since history, except if > you are using an older version

Re: [Interest] WASM build Error: Bad relocation type

2021-05-28 Thread Jason H
> However I blew away the build dir and did a full rebuild now and got: > wasm-ld: error: initial memory too small, 21088512 bytes needed > > Command line contains: "--initial-memory=16777216 --no-entry > --global-base=1024" > > Progress! :-) How do I change the memory setting [in QtCreator]? Acco

[Interest] Can't JSON.stringify an object in QML

2021-05-28 Thread Jason H
I've got a really weird error: qml: type: object [DEBUG-12344567890,N] qrc:/screens/Result.qml:32: TypeError: Type error The statements are: console.log("type:", typeof App.result, Object.keys(App.result)) // this works console.log("result:", JSON.stringify(App.result)); // this does not App is a

Re: [Interest] Can't JSON.stringify an object in QML

2021-06-01 Thread Jason H
> Some JSON serialisers replace that with null nowadays. > > I guess you could write some code to test whether it’s cyclical > and at which elements it recurses. If you feel not up to it, > write back and I’ll try (ECMAscript is not a language I feel > comfortable in either but I think I could man

Re: [Interest] Can't JSON.stringify an object in QML

2021-06-02 Thread Jason H
> Sent: Tuesday, June 01, 2021 at 9:22 PM > From: "Tony Rietwyk" > To: interest@qt-project.org > Subject: Re: [Interest] Can't JSON.stringify an object in QML > > HI Jason, > > I'm pretty sure this is NOT valid JSON: > >{"that": "other": {} } > > Either the value and comma for "that" is miss

[Interest] QNetworkReply lambdas?

2021-06-02 Thread Jason H
I'm trying to figure out a more flexible way to do QNetworkReply. Ideally this would be through some async/await but I don't think Qt is "there" yet. (C++20 defines async/await, but there is not a library yet, and even Qt6 doesn't target C++20). So the callback lambda handler looks like the best

Re: [Interest] QNetworkReply lambdas?

2021-06-02 Thread Jason H
dd anything, but you can supply a default fail handler a little cleaner.      rm->postRequest(req, payload, [](QNetworkReply *reply) { // success         qDebug() << "joy" << req << *reply;     },     defaultFailHandler );       Sent: Wednesday, June 02, 2021 at 1

Re: [Interest] QNetworkReply lambdas?

2021-06-02 Thread Jason H
});             loop.exec(); // wait for finished         } else {             qWarning() << Q_FUNC_INFO << "could not open" << filename;             delete file;         }     } }     Which, because i call the lambda, I can make sure reply always gets deleted. You can

Re: [Interest] QML MenuBar : works with PySide2 but not c++ ?

2021-06-03 Thread Jason H
Why? QML elements are capitalized. They must be.  the only exception is js imports: import "app.js" as App       Sent: Thursday, June 03, 2021 at 4:10 AM From: "Frank Mertens" To: interest@qt-project.org Subject: Re: [Interest] QML MenuBar : works with PySide2 but not c++ ? Try a lowercase fi

Re: [Interest] is it possible to add C# compiler?

2021-06-07 Thread Jason H
> Sent: Monday, June 07, 2021 at 7:48 AM > From: "David Skoland" > To: "David M. Cotter" > Cc: "Qt Interest" > Subject: Re: [Interest] is it possible to add C# compiler? > > Hi, > > Generally, no. I believe the reason you can compile Objective C on MacOS with > Qt is clang’s ability to link

[Interest] QJsonDocument::fromVariant failing with list

2021-06-08 Thread Jason H
I'm having trouble with QJsonDocument::fromVariant() is not handling arrays: QVariant list; QList letters { QVariantMap {{"a",1}}, QVariantMap {{"b",2}}, QVariantMap {{"c",3}} }; list.setValue

Re: [Interest] QJsonDocument::fromVariant failing with list

2021-06-08 Thread Jason H
> Sent: Tuesday, June 08, 2021 at 4:23 PM > From: "Jason H" > To: "interestqt-project.org" > Subject: [Interest] QJsonDocument::fromVariant failing with list > > I'm having trouble with QJsonDocument::fromVariant() is not handling arrays: >

Re: [Interest] QJsonDocument::fromVariant failing with list

2021-06-08 Thread Jason H
vs QList have different fidelity  - the one with more fidelity - QList - actually has has less specificity.   Sent: Tuesday, June 08, 2021 at 4:42 PM From: "Jérôme Godbout" To: "Jason H" , "interestqt-project.org" Subject: Re: [Interest] QJsonDocument::fromVariant

Re: [Interest] QJsonDocument::fromVariant failing with list

2021-06-09 Thread Jason H
go Macieira wrote: > > On Tuesday, 8 June 2021 13:57:53 PDT Jason H wrote: > > > Which is neiher what I acually had but performs the same bad conversion as > > > what I had. I am not sure why the QVariantList vs QList have different > > > fidelity - the one with more f

Re: [Interest] QJsonDocument::fromVariant failing with list

2021-06-09 Thread Jason H
One hack I would workfor me is a new class, QVariantMapList, (List of QVariantMaps) which is really all I need at the moment, unless there'd be a need for QVariantListList too? (That's a terrible name though)   Ultimately, I just want to express JSON as closely as I can in C++. Ideally: QVar

Re: [Interest] QJsonDocument::fromVariant failing with list

2021-06-09 Thread Jason H
> Sent: Wednesday, June 09, 2021 at 10:48 AM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] QJsonDocument::fromVariant failing with list > > On Wednesday, 9 June 2021 07:28:08 PDT Jason H wrote: > > One hack I would workfor

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
You might want to look at my pos on Jun 2 "Re: [Interest] QNetworkReply lambdas?" Where I give example code on how to set up a lambda. You can ignore the synchronous parts. > Sent: Friday, June 11, 2021 at 8:29 PM > From: "Max Paperno" > To: interest@qt-project.org > Subject: Re: [Interest] QN

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 10:36 AM > From: "Jason H" > To: "Max Paperno" > Cc: interest@qt-project.org > Subject: Re: [Interest] QNetwork classes for submitting google forms > > You might want to look at my pos on Jun 2 "Re: [Interest] QNetw

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 1:12 PM > From: "Scott Bloom" > To: "Thiago Macieira" , "interest@qt-project.org" > > Subject: Re: [Interest] QNetwork classes for submitting google forms > > This has come up a couple times for me through the years (essentially make a > network request and do

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 1:42 PM > From: "Jason H" > To: "Scott Bloom" > Cc: "Thiago Macieira" , "interest@qt-project.org" > > Subject: Re: [Interest] QNetwork classes for submitting google forms > > > > &g

Re: [Interest] QNetwork classes for submitting google forms

2021-06-14 Thread Jason H
> Sent: Monday, June 14, 2021 at 2:07 PM > From: "Jason H" > To: "Jason H" > Cc: "Scott Bloom" , "Thiago Macieira" > , "interest@qt-project.org" > > Subject: Re: [Interest] QNetwork classes for submitting google form

[Interest] Beginner DBUS Question: how to enforce the XML?

2021-06-15 Thread Jason H
So I think the Qt docs and support on DBUS are quite good. But I keep coming back to a non-Q- non-G DBUS question: When interfacing with C/CPP code using libdbus or sdbus, which manually pack parameters to messages, how is "proper" DBUS messaging enforced? Example: I have a XML Definition for

Re: [Interest] Beginner DBUS Question: how to enforce the XML?

2021-06-16 Thread Jason H
> Sent: Tuesday, June 15, 2021 at 6:21 PM > From: "Thiago Macieira" > To: "interestqt-project.org" > Cc: "Jason H" > Subject: Re: [Interest] Beginner DBUS Question: how to enforce the XML? > > On Tuesday, 15 June 2021 13:24:12 PDT Jason H wr

[Interest] make check not working (macOS)

2021-06-23 Thread Jason H
It's been a while since I use QtTest, and never on MacOS. I am following the tutorial at: https://doc.qt.io/qt-5/qtest-overview.html and https://doc.qt.io/qt-5/qttestlib-tutorial1-example.html Changes from existing project: QT += testlib CONFIG += testcase no_testcase_installs HEADERS += test_sq

Re: [Interest] make check not working (macOS)

2021-06-23 Thread Jason H
esday, June 23, 2021 at 11:08 AM > From: "Jason H" > To: "interestqt-project.org" > Subject: [Interest] make check not working (macOS) > > It's been a while since I use QtTest, and never on MacOS. > > I am following the tutorial at: https://doc.q

Re: [Interest] make check not working (macOS)

2021-06-23 Thread Jason H
> Sent: Wednesday, June 23, 2021 at 11:45 AM > From: "Kai Köhne" > To: "Jason H" , "interestqt-project.org" > > Subject: RE: [Interest] make check not working (macOS) > > HI Jason, > > It looks to me like you're trying to add a

Re: [Interest] make check not working (macOS)

2021-06-23 Thread Jason H
> > I want a brain-dead, simple, 0-maintenance test kit. The only thing the > > developers should have to worry about is adding test implementations once > > it is started. > > > > Can this be achieved in Qt? > > With Qt and QtTest, sure. But your question was "in qmake". > > The answer is also ye

[Interest] Expose C++ singleton to JavaScript file?

2021-06-24 Thread Jason H
I attempted to google this, but I kept getting hits for the wrong thing. I have a C++ QObject class ("ApplicationDatabase") exposed to QML via qmlRegisterSingletonInstance("com.company", 1, 0, "ApplicationDatabase", &m_applicationDatabase); I have a app.js (.pragma library) that is included in m

Re: [Interest] Expose C++ singleton to JavaScript file?

2021-06-24 Thread Jason H
Alexey saved the day: https://doc.qt.io/qt-5/qtqml-javascript-imports.html#importing-a-qml-module-from-a-javascript-resource Thanks! > Sent: Thursday, June 24, 2021 at 10:25 AM > From: "Jason H" > To: "interestqt-project.org" > Subject: [Interest] Expose

Re: [Interest] Memory leak problem in a Qt App

2015-10-30 Thread Jason H
l that was needed.   Sent: Friday, October 30, 2015 at 11:23 AM From: "Daniel França" To: "Jason H" , "Etienne Sandré-Chardonnal" Cc: "interest@qt-project.org" Subject: Re: [Interest] Memory leak problem in a Qt App You can use boost::object_pool for

Re: [Interest] Qt Android app crashing on Android 6.0 -

2015-11-03 Thread Jason H
You need to consult a lawyer.   But a basic overview is: it is illegal in some countries to publish software that uses strong crypto in some other countries. For example it is illegal (in most situations) in the USA to distribute strong-crypto products in Iran. There are weaker "export compliant

[Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
I am experimenting with creating my own scheme. Per the documentation at http://doc.qt.io/qt-5/qnetworkaccessmanager.html#supportedSchemes I am to provide a protected slot, which will be hooked up by the MOC. However I am only ever getting the default implementation: I got: ("ftp", "file", "qrc"

[Interest] nunosan...@imaginando.pt, I'm calling you out!

2015-11-03 Thread Jason H
I only ever get this message in relation to you. Are you aware of this issue? Can you fix it? It happens every time I send mail to the list. Is anyone else getting this? Message from mailer daemon below This message was created automatically by mail delivery software. A message tha

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 11:01 AM > From: "Samuel Gaist" > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Subclassing QNetworkAccessManager not working > > > On 3 nov. 2015, at 16:51, "Jaso

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 11:18 AM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Subclassing QNetworkAccessManager not working > > On Tuesday 03 November 2015 16:51:48 Jason H wrote: > > I am experimenting wi

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 11:43 AM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Subclassing QNetworkAccessManager not working > > On Tuesday 03 November 2015 17:23:04 Jason H wrote: > > Didn't I already do

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-03 Thread Jason H
> Sent: Tuesday, November 03, 2015 at 10:12 AM > From: "Edward Sutton" > To: "Qt Interest" > Subject: [Interest] Qt interfacing to Android native UI ? > > I know I can use native iOS UI by mixing Objective-C++ and C++ in the same > *.mm file. > > I have done a little Android JNI. Are there a

Re: [Interest] Qt 5.5.x & NVIDIA Tegra Jetson TK1 video performance issue

2015-11-03 Thread Jason H
I didn't use that confguration, but I have compiled Qt on an Atom with a Tegra chipset. I vaguely remember optimizing the video stack. By default it was using a CPU renderer, but I beulve the trick was re-compiling GStreamer to use the proper hardware acceleration. There may have been an environme

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Jason H
You can just programmaticaly make a model.   Here is real code to make a list of 1 to 31 days for a date picker: ListModel { id: dayModel } //--- in Component.onCompleted: { for (var i=1; i<32; i++) dayModel.append({value: i, name: ''+i}); //--- }   Sent: Wednesday, November 04, 2

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Jason H
nvocation, Qt/QML will do it for you when it's a property.   #include main() { qmlRegisterType(...); } Sent: Wednesday, November 04, 2015 at 12:27 PM From: "Edward Sutton" To: "Jason H" Cc: "Qt Interest" Subject: Re: [Interest] Can QML model specify

[Interest] Calling C++ from QML (without objects)

2015-11-05 Thread Jason H
I want to provide a wrapper around QMessageAuthenticationCode::hash() But I think I need an object for it. Can I just expose it as a function some how? I am more interested in having it callable, than an object in my QML element hierarchy. Thanks! __

[Interest] QML WebView - custom HTTP headers

2015-11-05 Thread Jason H
I'm trying to do OAuth against twitter, and I got the OAuth signing working, but then I realized that I can't do this signing of requests via WebView. Is there some way I can manipulate the headers? ___ Interest mailing list Interest@qt-project.org http

Re: [Interest] Why does a single Text item increase start-up time of QML application by 21 seconds?

2015-11-08 Thread Jason H
I've found simular issues wit using TextField on android. It's actually worse there, as if you are using a slash screen the usage of TextField causes a flash of black over the UI. It also takes a few seconds longer to start. I think the two could be related. You can try to dynamically create your m

Re: [Interest] Qt interfacing to Android native UI ?

2015-11-08 Thread Jason H
As someone who does iOS/Android, there are issues when you try to look naitive on all platforms. Like: 1. Android has physical back buttons, on iOS you must provide them in the UI, as a result your Android UI gets back buttons too. 2. The selector control [ A | B | =C=] does not exist in Android.

Re: [Interest] QuickModel - ORM for QML

2015-11-16 Thread Jason H
Does this work on an array of JSON objects? i.e. to provide models for ListModel via Ajax/JSON objects? It seems to be database(table) driven?     Sent: Sunday, November 15, 2015 at 5:35 PM From: "Daniel França" To: "interest@qt-project.org" Subject: [Interest] QuickModel - ORM for QML Hi g

Re: [Interest] StackView weirdness

2015-11-17 Thread Jason H
// main.qml -: import QtQuick 2.5 import QtQuick.Controls 1.4 ApplicationWindow { visible: true width: 480 height: 720 // comment out StackView to make it work, when doing so, uncomment visible: true for LoginScreen (default visible

Re: [Interest] StackView weirdness

2015-11-17 Thread Jason H
Doh, thanks! With that, I can't replicate either previous behavior. > Sent: Tuesday, November 17, 2015 at 9:38 AM > From: "Gian Maxera" > To: "Jason H" > Cc: Interest@qt-project.org > Subject: Re: [Interest] StackView weirdness > > Hello

Re: [Interest] StackView weirdness

2015-11-17 Thread Jason H
There was a scenario where the window disappeared after a short time, which was very weird. > Sent: Tuesday, November 17, 2015 at 9:48 AM > From: "Gian Maxera" > To: "Jason H" > Cc: Interest@qt-project.org > Subject: Re: [Interest] StackView weirdness >

[Interest] QML solution for fitting text?

2015-11-17 Thread Jason H
I want to fit text into a rectangle, but dynamically size the text like scaling an image: Rectangle { width: // some with width: // some height Text { text: "Hello World"; anchors.fill: parent; font.pixelSize: ??? } } In the old QWidget days, I'd use QFontMetrics to figure out what size would fi

[Interest] Animating a gradient

2015-11-17 Thread Jason H
I want to animate a gradient, but onPositionChanged gives an error, even though I can animate it. What am I doing wrong? Item { property alias color: container.color Component.onCompleted: anim.start() Rectangle { id: container width: paren

Re: [Interest] Animating a gradient

2015-11-18 Thread Jason H
nluca > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Animating a gradient > > Hello Jason, > why you don’t simple use property binding ? > > GradientStop { id: gs2; position: gs1.position+0.1; color: "dodgerblue" } &

Re: [Interest] Animating a gradient

2015-11-18 Thread Jason H
Another clever work-around! I was trying another animation to separately animate the following stop. I'll use yours since I don't like unneeded multiple animations. Thanks! > Sent: Wednesday, November 18, 2015 at 10:24 AM > From: "Gian Maxera" > To: "Jason

[Interest] Instructions on using QCA on mobile?

2015-11-18 Thread Jason H
I need to use Qt Crypto Architecture on iOS/Android. I've used it in desktop apps, that's not a problem. What I do need to know is what the packaging concerns are when using for iOS/Android. Has anyone done this and how did it go? Any pointers? Thanks. __

[Interest] android.app.background_running

2015-11-20 Thread Jason H
I came across this in the default AndroidManifest.xml generated by Qt: I am wondering what this means for a QML app on Android? I do have a function in the application where I would like background upload activities to continue, potentially updating a completion bar. But I am not aware of any

Re: [Interest] How to change Android web setting of underlying webview ?

2015-11-20 Thread Jason H
I think you need to move to WebEngine ? > Sent: Thursday, November 19, 2015 at 10:27 AM > From: "Gian Maxera" > To: interest > Subject: [Interest] How to change Android web setting of underlying webview ? > > Hello, > I need to change on Android the web settings of the Android WebView used by

[Interest] Import C++ types to Javascript

2015-11-27 Thread Jason H
Per http://doc.qt.io/qt-5/qtqml-javascript-imports.html I am trying to in a JS file, import a class I made and exposed to QML via hash.h: class Hash :public QObject { Q_OBJECT ... QString sha1(QString str); } main(): qmlRegisterType("MyLib", 1, 0, "Hash"); myfile.js: .import MyLib 1.0 as MyLib

Re: [Interest] Import C++ types to Javascript

2015-11-27 Thread Jason H
I just checked, it is a slot. I just feel like I'm missing something. Do I need to make a instance? var instance = new MyLib.Hash() ? var hash = instance.sha1("data") > Sent: Friday, November 27, 2015 at 7:50 PM > From: "Jérôme Godbout" > To: "Jason H&quo

Re: [Interest] Import C++ types to Javascript

2015-11-28 Thread Jason H
e- Sent: Saturday, 28 November 2015 at 02:21:06 From: "Jérôme Godbout" <jer...@bodycad.com> To: "Jason H" <jh...@gmx.com> Subject: Re: [Interest] Import C++ types to _javascript_ If your object is not a singleton you will need to create an instance to cal

Re: [Interest] Import C++ types to Javascript

2015-11-28 Thread Jason H
58 PM From: "Jason H" To: "Jérôme Godbout" Cc: interest Subject: Re: [Interest] Import C++ types to _javascript_ Thanks I;ll give that a shot, but what about a non-singleton? I think my code should be working now,  and I doon't know why it isn't. How to I ma

Re: [Interest] Import C++ types to Javascript

2015-11-28 Thread Jason H
Also note that I'm talking about _javascript_, not QML.  I'm not sure if it matters, but this is me trying to use a C++ class in a JS file, which is then imported into QML.     Sent: Sunday, November 29, 2015 at 12:33 AM From: "Jason H" To: "Jason H" Cc: "

Re: [Interest] Any plans to bring back/provide a replacement for GestureArea

2015-11-30 Thread Jason H
MouseArea provides a pressAndHold. I turned a MouseArea into a simple gesture area with little effort.       Sent: Monday, November 30, 2015 at 2:47 AM From: "Rutledge Shawn" To: "Peter Klosowski" Cc: "interest@qt-project.org" Subject: Re: [Interest] Any plans to bring back/provide a repla

Re: [Interest] Import C++ types to Javascript

2015-12-01 Thread Jason H
I'm still looking for help on how to use QObject slots in JS, not as singleton. I'm still getting that parse error.   Are there any examples of QObjects being used in JS files (NOT QML! -- .import vs import )       Sent: Sunday, November 29, 2015 at 12:39 AM From: "Jason H

Re: [Interest] Import C++ types to Javascript

2015-12-01 Thread Jason H
Wow, yes, it does, very much so!!! ...   Hope this clarify thing a bit. Jerome       14 AM, Jason H <jh...@gmx.com> wrote: Here's a sample project. TypeError on line 5 of app.js     Sent: Tuesday, December 01, 2015 at 9:25 AM From: "Jason H" <jh.

[Interest] Do Camera.videoRecorder options matter?

2015-12-02 Thread Jason H
I'm writing a QML app and am working on recording video. Previously we did images, which worked more or less as expected. (OSX/iOS/Android) But I'm looking at the videoRecorder stuff and none of it seems to matter. I'm looking at: https://fossies.org/linux/qt-everywhere-opensource-src/qtmultime

Re: [Interest] application appearance changing when laptop goes in saving energy mode

2015-12-02 Thread Jason H
I'd see what WM_* message(s) are being sent. Specifically WM_DISPLAYCHANGE, WM_FONTCHANGE, etc. Qt is probably initializing correctly, then when WM_DISPLAYCHANGE happens, they get reset back to defaults, without picking up Qt's customizations. If you can identify the message, you can filter it

<    1   2   3   4   5   6   7   8   9   10   >