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

[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", _applicationDatabase); I have a app.js (.pragma library) that is included in

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

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 a

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

2021-06-23 Thread Jason H
021 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.qt.io/qt-5/qtest-overview.

[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 +=

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] 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] 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

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 > > >

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

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
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]

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] 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:

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-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-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: > >

[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}} };

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

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

Re: [Interest] QNetworkReply lambdas?

2021-06-02 Thread Jason H
{             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 call deleteLater() as many times as you want.   Sent: 

Re: [Interest] QNetworkReply lambdas?

2021-06-02 Thread Jason H
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 11:16 AM From: "

[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

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

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

[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

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]?

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-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-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

[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

[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:

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

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) > > { > >

Re: [Interest] QML Singleton and QTimer?

2021-05-07 Thread Jason H
rom: "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

[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, ::timeout, this, [=](){ qDebug() << Q_FUNC_INFO;

[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

Re: [Interest] Another Qt disappointment

2021-05-04 Thread Jason H
nally?       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 measures weight. I wanted to make a quick UI for it 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

[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

[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

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

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] 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] 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:

[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

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

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

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'"

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

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] 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, regard

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? Allegedly t

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. > > Tha

[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

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

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

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

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

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 >

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

2021-03-28 Thread Jason H
in 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.n

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" , "interest@qt

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

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

2021-03-28 Thread Jason H
> On 3/26/21 1:39 PM, Jason H wrote: > > Thiago, apparently, even with a commercial license, we no longer have rights > > to use whatever versions were current when we had the license. Previously, > > we could use > > it in perpetuity. This is probably a deal bre

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

2021-03-26 Thread Jason H
> Sent: Thursday, March 25, 2021 at 9:41 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] the path forward - that 7 year thing - was willy-nilly > > On Thursday, 25 March 2021 12:38:56 PDT Roland Hughes wrote: > > > Qt's horizon is about 7 years. > > > >

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Jason H
> > > >> * I've got a square peg (a QList) and a round hole (an function I made > >> that takes a QSet), so I need conversions to call it. > > And what, exactly, is the solution here? Probably "ranges", but those > > aren't available yet. > > Not an easy answer, but maybe start not to have

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Jason H
> > Probably. There's only so much space for the message in them. I'm trying > to point out that the specific motivation here isn't even remotely > _technical_ (e.g. is this hard to implement correctly; as you've shown, > it's super easy), but a _design_ one (is this API *good*?). > > And anyways

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Jason H
> Sent: Wednesday, March 24, 2021 at 8:49 AM > From: "Matthew Woehlke" > To: "Giuseppe D'Angelo" , interest@qt-project.org > Subject: Re: [Interest] The willy-nilly deletion of convenience methods (was: > Mixing Commercial and Open...) > > On 24/03/2021 07.17, Giuseppe D'Angelo via Interest

Re: [Interest] The willy-nilly deletion of convenience, methods

2021-03-23 Thread Jason H
> Now, the "commercial license" simply could be the Boot2Qt stuff with all > of Qt being 100% OpenSource. This would provide additional incentive to > rip QML out so it isn't bastardizing the rest of the product and QML > could then be its own commercial thing, just for phones. I have lost > track

[Interest] Missing QMap Algebra?

2021-03-23 Thread Jason H
I've been in the python world lately and python has a dict.update() https://python-reference.readthedocs.io/en/latest/docs/dict/update.html It seems that QMap has no such function anymore, but it also never did? unite() would make a QMultiMap, so there would be multiple entries rather than one.

Re: [Interest] Qt Creator is so buggy and so slow...

2021-03-23 Thread Jason H
I have never had this experience. > Sent: Tuesday, March 23, 2021 at 8:12 AM > From: "Alexander Dyagilev" > To: interest@qt-project.org > Subject: Re: [Interest] Qt Creator is so buggy and so slow... > > When I press F2 it takes 5 seconds for it to go to symbol definition... > Constantly using

Re: [Interest] The willy-nilly deletion of convenience methods

2021-03-22 Thread Jason H
Surprisingly, I had a good experience with Wt, (webtoolkit.eu) the "web version of Qt" (uses boost). Maybe chromium plus Wt is the way to go? It's commercial, but not as bad as Qt licensing. (GPL2 or commercial) If you don't constantly fracture the code base of humanity every couple years with

Re: [Interest] FW: The willy-nilly deletion of convenience, methods (was: Mixing Commercial and Open...)

2021-03-22 Thread Jason H
> Sent: Monday, March 22, 2021 at 6:54 PM > From: eric.fedosej...@gmail.com > To: interest@qt-project.org > Subject: [Interest] FW: The willy-nilly deletion of convenience, methods > (was: Mixing Commercial and Open...) > > Thank you for your informative reply Roland. I am curious whether any >

Re: [Interest] The willy-nilly deletion of convenience, methods (was: Mixing Commercial and Open...)

2021-03-22 Thread Jason H
> Sent: Monday, March 22, 2021 at 5:18 PM > From: "Roland Hughes" > To: "Jean-Michaël Celerier" , "Jason H" > > Cc: "interest" > Subject: Re: [Interest] The willy-nilly deletion of convenience, methods > (was: Mixing Commercial a

Re: [Interest] The willy-nilly deletion of convenience, methods (was: Mixing Commercial and Open...)

2021-03-22 Thread Jason H
> > Even Jason's company, you remember Jason right? QML's biggest, and > possibly __only__, fan. Even his company dumped Qt. The medical device > clients I've worked for have also dumped Qt. > > It isn't the FUD that is obsolete, just the management of Qt. I'm apparently Qt's biggest fan boy?

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-21 Thread Jason H
> > > Licensing FUD + death-of-perpetual-license + death-of-OpenSource-LTS + > > Qt-6-rolling-out-incomplete + deleted-convenience-methods = > > customers-leaving > > I wonder if the loss of confidence in the current Qt owners can ever be > compensated. > > Even if TQC took back their critical

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-21 Thread Jason H
> Sent: Friday, March 19, 2021 at 4:07 PM > From: "Roland Hughes" > Licensing FUD + death-of-perpetual-license + death-of-OpenSource-LTS + > Qt-6-rolling-out-incomplete + deleted-convenience-methods = > customers-leaving > I find myself agreeing with Roland here. The rollout of the core modules

Re: [Interest] Qt Creator is so buggy and so slow...

2021-03-18 Thread Jason H
... > > On Thursday, 18 March 2021 10:38:41 PDT Alexander Dyagilev wrote: > > Hello, > > > > Often it just stops to suggest code, syntax highlighted stops w. > > I cannot reproduce your problem of open/close/open. Same problem here. The problem is real. I'm on a 2019 macbook pro. The key is to

Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected?

2020-12-30 Thread Jason H
I don't have any specific knowlege, but if it were me, I would check Sysinternals diskmon and see where/whow/who is setting the read-only flag. (Asuming I checked and the flad is actually set)   Also likely - there is a process in that directory that is preventing deletion and windows is not

Re: [Interest] QtPdf from Qt open source online installer

2020-10-20 Thread Jason H
https://bugreports.qt.io/browse/QTBUG-87746 > Sent: Tuesday, October 20, 2020 at 12:22 PM > From: "Giuseppe D'Angelo via Interest" > To: interest@qt-project.org > Subject: Re: [Interest] QtPdf from Qt open source online installer > > Il 20/10/20 17:28, Jason H ha

Re: [Interest] QtPdf from Qt open source online installer

2020-10-20 Thread Jason H
> Sent: Tuesday, October 20, 2020 at 11:54 AM > From: "Konstantin Tokarev" > To: "Benjamin TERRIER" , "Jason H" , "qt > qt" > Subject: Re: [Interest] QtPdf from Qt open source online installer > > > > 20.10.2020, 18:12, &q

Re: [Interest] QtPdf from Qt open source online installer

2020-10-20 Thread Jason H
  Then we should probably include the marketplace email address in this thread.     Sent: Tuesday, October 20, 2020 at 11:09 AM From: "Benjamin TERRIER" To: "Jason H" , "qt qt" Subject: Re: [Interest] QtPdf from Qt open source online installer     On Mon,

Re: [Interest] QtPdf from Qt open source online installer

2020-10-19 Thread Jason H
There's some license shenanegans going on. https://www.qt.io/blog/change-in-open-source-licensing-of-qt-wayland-compositor-qt-application-manager-and-qt-pdf However there was a later update: https://lists.qt-project.org/pipermail/development/2020-January/038457.html   So I don't know why it

Re: [Interest] iOS 14 little green dot

2020-10-08 Thread Jason H
, and the transition in the UI is smooth.   You are technically correct though, if the problem was just the dot, Unloaded would be fine. I'm just trying to have my cake and eat it too.   Sent: Thursday, October 08, 2020 at 11:20 AM From: "Pierre-Yves Siret" To: "Jason H" Cc: &qu

[Interest] iOS 14 little green dot

2020-10-08 Thread Jason H
I filed https://bugreports.qt.io/browse/QTBUG-87296 but I'm wondering what other people's experiences are? iOS 14 displays a dot when "recording" though this seems to be activated when the camera stack is loaded with Qt, and not when we are actually capturing multimedia.

Re: [Interest] Help with maintenance tool

2020-09-23 Thread Jason H
> Sent: Tuesday, September 22, 2020 at 12:46 PM > From: "Tino Pyssysalo" > To: "Jason H" , "giuseppe.dang...@kdab.com" > > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Help with maintenance tool > > On 22.9.2020, 16

Re: [Interest] Help with maintenance tool

2020-09-22 Thread Jason H
e sign-up process was made mandatory? > Sent: Monday, September 21, 2020 at 12:17 PM > From: "Giuseppe D'Angelo via Interest" > To: interest@qt-project.org > Subject: Re: [Interest] Help with maintenance tool > > Il 21/09/20 17:19, Jason H ha scritto: &g

[Interest] Help with maintenance tool

2020-09-21 Thread Jason H
ARG. I am stuck in maintenance tool hell. How do I use the open source version? "No valid license available in your Qt Account for this host platform. Please renew your license(s) from Qt Account." How am I supposed to elect the open source version when there is no option at account.qt.io Can

Re: [Interest] wss:// on localhost

2020-08-04 Thread Jason H
> 4) It's also a shame how the Internet has become - I still have a mindset of > the year 2000 where the web was not really a significant resource of criminal > intent. I understand this can lead to misunderstanding ;-) If you open up port 80 or 443 on a AWS-hosted instance with a public IP,

Re: [Interest] wss:// on localhost

2020-08-01 Thread Jason H
just provide a script as the binary and map the openssl options to the custom binary. Just my 0.02. > Sent: Wednesday, July 29, 2020 at 5:08 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] wss:// on localhost > > On Wednesday, 29

Re: [Interest] wss:// on localhost

2020-07-29 Thread Jason H
Kinda sounds like there should be a QSslCertificate::create() method? > Sent: Tuesday, July 28, 2020 at 4:18 AM > From: "Alexander Carôt" > To: "Alexander Carôt" > Cc: "Thiago Macieira" , "Paul Pfützenreuter" > , "interest@qt-project.org" > > Subject: Re: [Interest] wss:// on localhost > >

Re: [Interest] wss:// on localhost

2020-07-20 Thread Jason H
I could never get wss: working on the mobile platforms, despite being able to get https working. a) you need these for SSL to work. You could generate them and set peer verify to off, but I don't know how to do it without a certificate. b) You can't (generally speaking) do ws and wss at the

Re: [Interest] What is this list all about anyway?

2020-07-16 Thread Jason H
> Sent: Thursday, July 16, 2020 at 6:29 AM > From: "Sérgio Martins" > To: "Julien Cugnière" > Cc: "interestqt-project.org" > Subject: Re: [Interest] What is this list all about anyway? > > On Thu, Jul 16, 2020 at 9:05 AM Julien Cugnière > wrote: > > > > Le jeu. 16 juil. 2020 à 08:08, Nuno

Re: [Interest] Interest Digest, Vol 106, Issue 14

2020-07-15 Thread Jason H
> Sent: Wednesday, July 15, 2020 at 7:51 AM > From: "Giuseppe D'Angelo via Interest" > To: "Roland Hughes" , interest@qt-project.org > Subject: Re: [Interest] Interest Digest, Vol 106, Issue 14 > > On 15/07/2020 13:01, Roland Hughes wrote: > > What I'm saying is Tweedle-Dee and Tweedle-Dum (I

[Interest] I love QML

2020-07-02 Thread Jason H
I know I spend a lot of time talking about inadequacies of Qt, but it's out of love. Since discovering Qt back in oh, 2001 when I was writing MFC apps, I have come to love the toolkit despite its rough edges. I have been assigned to port our Qt/QML app to Swift. And let me say what a joy it is

Re: [Interest] Qt 6.0 and the future of QWebSockets module

2020-06-29 Thread Jason H
+1 I've moved to QtWebSockets for all IP communication, and it's made everything so much easier, even easier thant he QtHttpServer, which is what I was using and is still being developed.           Sent: Saturday, June 27, 2020 at 4:01 PM From: "Narolewski Jakub" To: "Lars Knoll" Cc: 

Re: [Interest] Qt scripting with JavaScript

2020-06-18 Thread Jason H
> Sent: Thursday, June 18, 2020 at 5:35 AM > From: "Filippo Rusconi via Interest" > To: interest@qt-project.org > Subject: [Interest] Qt scripting with JavaScript > > Greetings, Fellow Developers, ... > Can I use the Qt QML module-contained QJSEngine for a classical QWidgets-based > program ?

Re: [Interest] QtQuick: weird fonts problem

2020-06-11 Thread Jason H
From what I've seen, it's a combination of poor font hinting, a bad cleartype implementation, it some combination there of. You can change the way Qt handles the font hinting, by turning off antialiased text. It'll good the issue, but then the text won't appear smooth. > Sent: Tuesday, June

Re: [Interest] How to send an arbitrary file over sockets

2020-05-29 Thread Jason H
How do you know how Big the file is? You assume to get it all in a single operation. You should use qdatastream which will properly serialize the byte array including a length. I've recently taken to using the experimental q HTTP server to provide a web interface, or more recently using

  1   2   3   4   5   6   7   8   9   10   >