News for hackers. Stuff that matters.
Re:Neutralinojs – Cross-platform desktop application develop... by qsort on Monday February 07, 2022 @08:36AM (#30244601)
I agree with you about Lazarus/Pascal, but Qt is C++, hardly an obsolete choice as far as languages go.
Re:Neutralinojs – Cross-platform desktop application develop... by qalmakka on Monday February 07, 2022 @09:38AM (#30245416)
Well, I tend to disagree about this point. Qt is C++ as much as an ice cream truck is a truck - sure, it IS technically a truck, but that's where the similarities end. Qt basically reimplements every single C++ container and function with its own, has a slew of concepts that go directly against the current C++ trends (i.e. lots of pointers everywhere, CoW, ...), and on top of that it uses a preprocessor and also uses its own custom language to describe UIs (QML).

I am a professional C++ developer what happens to work often with Qt developers and I assure you, the skill-set you acquire while developing on Qt does not transfer at all to plain, standard C++, and vice-versa.

Re:Neutralinojs – Cross-platform desktop application develop... by brnt on Monday February 07, 2022 @02:08PM (#30249483)
I wrote a Python+Qt peogram some years ago and since I actually like modern C++ a lot I've got started on a port, figuring it would be rather straightforward. It's been a bit disappointing because Qt basicallt requires you to write 'Qt-C++'. They made a lot of effort with their Python binding, boasting rightly so that it is quite pythonic.

What I would really like is a 'modern-C++-ic' binding for Qt.

Re:Neutralinojs – Cross-platform desktop application develop... by mixedCase on Monday February 07, 2022 @11:04AM (#30246636)
C++ is not obsolete, but it is not a language I would ever want to write anything in for any period of time longer than a month. Not for a lack of trying both in and out of Qt and several combinations of the technology. QML with a little C++ was bearable for a while until it wasn't between the runtime not being Node, the lack of TypeScript integration, Qt designer crashing multiple times a day, the UI designer rendering nonsense, and still having to deal with C++ and its ecosystem.

The closest thing to something acceptable for non-trivial projects using Qt that I found was NodeGui. But as soon as I realized I had to make some very verbose C++ bindings to qtmultimedia all the energy for the project went away. If this one attempt with Gtk4 fails I might come back to that since it looks like it has matured since then.

Re:Neutralinojs – Cross-platform desktop application develop... by sime2009 on Monday February 07, 2022 @11:27AM (#30246996)
How long ago did you look into Qt's Multimedia module on NodeGui? Also what part of it did you need?
Re:Neutralinojs – Cross-platform desktop application develop... by mixedCase on Monday February 07, 2022 @01:37PM (#30249049)
1 year, 11 months ago if I go by the git commit logs. I had forgotten, but I see a few commits by a7ul himself. I remember now I had trouble getting the bare minimum for a plugin working and he helped me with that.

I needed QMediaPlayer support at least, since that's what I tried to start with. Probably that's all the program would still need.