Re: [Interest] Qt 5.15 pull out of open source?!

2021-01-07 Thread Thorsten Glaser
On Thu, 7 Jan 2021, Robert Heller wrote: > No, 5.15 is still open source. It is just that if you want to keep using that > version *AND* want updates, you will have to pay *for the updates*, How would that work? Either the updates are also Open Source, in which cases nobody could prevent the

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

2021-05-19 Thread Thorsten Glaser
On Wed, 19 May 2021, Alexander Dyagilev wrote: > Could not determine java version from '11.0.8'. Looks like that thing doesn’t handle version numbers past Java™ 8. You need to update the gradlew and gradle versions to at least 5: https://stackoverflow.com/a/54359875/2171120 bye, //mirabilos --

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

2021-05-28 Thread Thorsten Glaser
On Fri, 28 May 2021, Jason H wrote: > console.log("result:", JSON.stringify(App.result)); // this does not > qrc:/screens/Result.qml:32: TypeError: Type error My copy of ECMA-262, 5ᵗʰ edition, has JSON.stringify fail (in the “abstract operation JO”, p.205, last ordered list on the page, step 1)

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

2021-06-01 Thread Thorsten Glaser
On Tue, 1 Jun 2021, Jason H wrote: > > Well, if it were cyclical (I really don't think it is), I would expect that > the line: > return QJsonDocument::fromVariant(v).toJson(QJsonDocument::Compact); > > Would never return. No, error-tolerant behaviour just returns null in the place where the

Re: [Interest] Locale detection of Qt application hosted via WASM

2021-04-28 Thread Thorsten Glaser
On Wed, 28 Apr 2021, Elvis Stansvik wrote: > Agree to put in an option to change language, but surely it should be > possible to have the default be based on the language the user has set > in the OS/browser, just like many web applications do? (not Sure, as last resort, if the user has not yet

Re: [Interest] Locale detection of Qt application hosted via WASM

2021-04-28 Thread Thorsten Glaser
On Wed, 28 Apr 2021, Nicholas Yue wrote: > I am new to locale handling in general and definitely new to locale on the > web browser. If you’re targetting a webbrowser, make the language selectable in the software itself. Anything else is an affront: both geolocation and browser language

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

2021-03-22 Thread Thorsten Glaser
On Mon, 22 Mar 2021, Thiago Macieira wrote: > accomplish the same goal. As shown by the example of the KWallet CLI, there > may be a much better and much simpler solution once the need is understood. I wouldn’t call shouting “API abuse!” at me a “much better” solution. I’m a user here, neither

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

2021-03-21 Thread Thorsten Glaser
On Sun, 21 Mar 2021, Jason H wrote: > I anticipate that 5.15 will require a doubly long LTS period as a > result. Unfortunately we learnt here that 5.15 will not have any LTS period at all, at least not one that matters for the Open Source world. This is, basically, the end of Qt (considering

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

2021-03-21 Thread Thorsten Glaser
On Sun, 21 Mar 2021, Sérgio Martins wrote: > Quoting KWallet's documentation [1]: > > "You can pass 0 if you don't have a window the password dialog should > associate with. " Ah. Must be new, this wasn’t there when I checked last time (or I was in a different version or so). What I *did* find

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

2021-03-21 Thread Thorsten Glaser
On Sun, 21 Mar 2021, Volker Hilsheimer wrote: > My gut feeling is that esp for command line applications, a call equivalent to > > $ xwininfo -d $DISPLAY -root > > will be a better solution than creating a QApplication (rather than a > QCoreApplication) to query the root window ID. That’s not

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

2021-03-21 Thread Thorsten Glaser
On Sun, 21 Mar 2021, Thiago Macieira wrote: > What CLI program are we talking about here? http://www.mirbsd.org/kwalletcli.htm https://packages.debian.org/search?keywords=kwalletcli > I assume you're trying to make a CLI client to KWallet. I made one in 2009 and am trying to keep it working,

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

2021-03-19 Thread Thorsten Glaser
On Fri, 19 Mar 2021, Volker Hilsheimer wrote: > Do you have any particular classes in mind? There’s the deprecation of QApplication::desktop()->screen()->winId() which is necessary for command-line programs accessing the KDE wallet I wrote about in November assuming that someone here has

Re: [Interest] the path forward (or is it "how the things, look"?)

2021-04-12 Thread Thorsten Glaser
On Mon, 12 Apr 2021, Roland Hughes wrote: > Again, ripping XCB out won't be a free effort even if the new library is > free as in beer, but the current situation with XCB is kind of at the > heart of everything when one steps back for a few days. And this very well MUST be. I’m using Qt

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

2021-04-16 Thread Thorsten Glaser
On Fri, 16 Apr 2021, Matthew Woehlke wrote: > Is there an example of a *serious* application that uses QQC? (I don't > count plasma-desktop.) Or even, any serious application using something Assuming QQC means what I think it is, perhaps MuseScore? The package depends on the following Qt

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

2021-04-21 Thread Thorsten Glaser
On Wed, 21 Apr 2021, Giuseppe D'Angelo via Interest wrote: > I'm not sure where to find QML on desktop stories, there's however a showroom > https://showroom.qt.io/ where people can leave links to their applications. You can probably add MuseScore 4 to that list. Mu͒4 is not yet finished but

Re: [Interest] Qt 5.15 LTS vs Qt 6.2 LTS

2021-10-01 Thread Thorsten Glaser
On Fri, 1 Oct 2021, Ulf Hermann wrote: > Long story short: You can have a Qt 5.15 LTS. You just have to pay for I doubt you get a paid-for 5.15 LTS under an Open Source licence, so no, this is not comparable a̲t̲ ̲a̲l̲l̲. bye, //mirabilos -- 15:41⎜ Somebody write a testsuite for helloworld

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-06 Thread Thorsten Glaser
On Wed, 6 Oct 2021, Thiago Macieira wrote: > If OpenSSL has any path to a still-valid root certificate, then it can ignore > the others. That's one way of dealing with expirations: you add a new link in > the chain that will continue to be valid when the other path(s) aren't. You > can also

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-06 Thread Thorsten Glaser
On Wed, 6 Oct 2021, maitai wrote: > old Ubuntu 16.04 VM. ca-certificates (20160104ubuntu1) does not have the ISRG X1 root: (xenial)# ls -l /etc/ssl/certs/6187b673.0 /etc/ssl/certs/4042bcee.0 ls: cannot access '/etc/ssl/certs/6187b673.0': No such file or directory ls: cannot access

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-06 Thread Thorsten Glaser
On Wed, 6 Oct 2021, Hamish Moffatt via Interest wrote: > The OpenSSL blog writes that this unfortunately doesn't happen with > 1.0.2 though - it sees the expired root and gives up. > https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-06 Thread Thorsten Glaser
On Wed, 6 Oct 2021, Thiago Macieira wrote: > On Wednesday, 6 October 2021 09:55:21 PDT Thorsten Glaser wrote: > > On my own servers I’ve adapted my dehydrated hook to remove the > > faulty intermediate, but of course this depends on server admins > > to DTRT, plus it’ll

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-07 Thread Thorsten Glaser
On Thu, 7 Oct 2021, Christophe THOMAS wrote: > So without the flag OpenSSL would use another store ? One located > locally or embedded inside OpenSSL? No. If you look at the patch, the flag merely enables that, for any certificate encountered, it first looks whether the Issuer is found in the

Re: [Interest] QFile and file shortcuts on Windows.

2021-09-24 Thread Thorsten Glaser
On Fri, 24 Sep 2021, Crocker, William wrote: > On windows this fails (for me) for files which are actually Windows > shortcuts to the real file. Is that a bug or am I supposed to the > provide special code for shortcut detection and processing. AIUI Windows shortcuts are just regular files with

Re: [Interest] Configuring Qt's built-in freetype ?

2022-02-11 Thread Thorsten Glaser
On Fri, 11 Feb 2022, Jean-Michaël Celerier wrote: > Top is grayscale AA, bottom is subpixel. > The lines look so much more definite and contrasted to me, for instance the > 0:00.000 is a blurry mess without sub-pixel AA. The 0:00.000 is much clearer in the top one, darker and a bit blurry in the

Re: [Interest] Configuring Qt's built-in freetype ?

2022-02-11 Thread Thorsten Glaser
On Fri, 11 Feb 2022, Jean-Michaël Celerier wrote: > so I'll set the env var to this by default, and will report here if I get > tons of complaints :) First complaint here ;) I’m disabling subpixel antialiasing everywhere (greyscale is fine) because of the colour bleed on the sides, which is

Re: [Interest] Individual developer license is too expensive

2022-02-22 Thread Thorsten Glaser
On Wed, 23 Feb 2022, Ben Cottrell wrote: > I would like to use Qt libraries that are statically linked into my binaries, > but the monthly license cost is too expensive, as I'm unemployed at the > moment. Can’t you use the LGPL-licenced versions? The LGPL has provisions for static linking that

Re: [Interest] Individual developer license is too expensive

2022-02-23 Thread Thorsten Glaser
On Wed, 23 Feb 2022, Ben Cottrell wrote: > However, it would be nice to have a commercial license to be able to > use Qt static libraries in closed source software You can do that with the LGPL ones. >, and to also receive support from The Qt Company. Right, that’s a possibly deciding point.

Re: [Interest] Build Issues with QT 6.2.3

2022-02-06 Thread Thorsten Glaser
On Sun, 6 Feb 2022, BeneschTech LLC wrote: > issues with third party code. Indulge us old guys though. We have reasons Fully agreed! Say, wasn’t there a way to make cmake and/or ninja generate Makefiles? Once there (in the one project I had to use cmake so far, Android NDK stuff, it did that)

Re: [Interest] Change modifier for horizontal scrolling with mousewheel

2022-05-20 Thread Thorsten Glaser
On Fri, 20 May 2022, Volker Hilsheimer wrote: > sending a synthesized wheel event with the Alt modifier set to the > QWidget will not trigger this behavior, as that never exercises that Hmm. I’m on a laptop without scroll wheel, so I bound two keys to emulate a mouse wheel:

Re: [Interest] Using UTF-8 code page with Qt5 on Windows?

2022-05-19 Thread Thorsten Glaser
On Thu, 19 May 2022, Alvin Wong wrote: > > Windows were all DBCS. It might not be worth fixing the codec implementation > explicitly in docs that MBCS uses longer than 2 bytes per character, AIUI it is so that: • SBCS: all characters are one byte and one screen column • DBCS: all characters

Re: [Interest] Official linuxdeployqt ?

2022-08-09 Thread Thorsten Glaser
On Wed, 10 Aug 2022, Hamish Moffatt via Interest wrote: > I have never used an AppImage in 25 years of Debian and Linux experience > either. It sounds equivalent to downloading a random unsigned .EXE from a web > site and running it. It is, with the added complication of mixing things of