Qt - Reddit – Telegram
Qt - Reddit
14 subscribers
241 photos
30 videos
4.05K links
News and discussion for the Qt Framework.

Subreddit: https://www.reddit.com/r/QtFramework

Powered by : @r_channels & @reddit2telegram
Download Telegram
KodoTerm - a terminal widget for QT6

I was looking for a good terminal widget for Qt, and so far I only found https://github.com/lxqt/qtermwidget \- but: no windows support, and as a project it is licensed under the GPLv2.

So, I wrote my own.

This widget is based on the same code that QtCreator uses internally - [libvterm](https://github.com/neovim/libvterm/commits/nvim/).
The build system will be a statically link a libterm version internally - so consuming this library should be "easy" using CMake (its cloned using FetchContent_Declare so no extra steps are needed from your point of view).
It is [MIT ](https://github.com/diegoiast/KodoTerm/blob/main/LICENSE)licensed. All code is new - not copied from other projects.
Works on Windows and Linux. I can actually use PowerShell, cmd and bash.exe on the same Window (kinda bonkers...).

Code is quite "new", its only 3-4 days old... so use with cause. I am using it as my main terminal on Windows, so it is usable. On Linux its even better, as drawing is not as slow. I know it compiles on macOS, but I have not tested it. I assume *BSD will work, but again, untested and github provides no runners - so I cannot compile it on the CICD.

Pull requests are welcomed. Missing features are welcomed.

KodoShell - example of a full blown terminal emulator based on KodoTerm running on Windows 11

PS: native Windows theme Qt6 provides is borderline unusable, everything is too "white" and washed out. I wish something better existed.

https://redd.it/1q2ba9s
@qt_reddit
Which tech stack should I choose to build a full-fledged billing app?



Hey everyone 👋

I’m planning to build a full-fledged desktop billing/invoicing application (think inventory, invoices, GST/VAT, reports, maybe offline support, etc.), and I’m a bit confused about which technology/stack would be the best long-term choice.

I’ve come across several options so far:

ElectronJS

Tauri

.NET (WPF / WinUI / MAUI)

PySide6

PyQt6

(open to other suggestions too)

What I’m mainly concerned about:

Performance & resource usage

Cross-platform support (Windows/Linux/macOS)

Ease of maintenance & scalability

UI/UX flexibility

Long-term viability for a commercial product

If you’ve built something similar or have experience with these stacks:

Which one would you recommend and why?

Any pitfalls I should be aware of?

Would you choose differently for a solo developer?

Thanks in advance! really appreciate any guidance or real-world experiences 🙏


https://redd.it/1q2oxhs
@qt_reddit
Somebody know how to setup 3d designer preview to display custom shaders?

In this screenshot, I try to preview a simple led shader for Cylinder.

But, looks as the custom material use default empty shader and can't read a resource.

i know, direct paths should fix this issue, but this will break the project.

https://preview.redd.it/so0r88n874bg1.png?width=1984&format=png&auto=webp&s=9ee05eff3141f16dcb5b235554c303ca9f24e84d



https://redd.it/1q2rt1c
@qt_reddit
Which tech stack should I choose to build a full-fledged billing app?

Edit: It's a inventory management and billing software without payment handling

Hey everyone 👋

I’m planning to build a full-fledged desktop billing/invoicing application (think inventory, invoices, GST/VAT, reports, maybe offline support, etc.), and I’m a bit confused about which technology/stack would be the best long-term choice.

I’ve come across several options so far:

ElectronJS

Tauri

.NET (WPF / WinUI / MAUI)

PySide6

PyQt6

(open to other suggestions too)

What I’m mainly concerned about:

Performance & resource usage

Cross-platform support (Windows/Linux/macOS)

Ease of maintenance & scalability

UI/UX flexibility

Long-term viability for a commercial product

If you’ve built something similar or have experience with these stacks:

Which one would you recommend and why?

Any pitfalls I should be aware of?

Would you choose differently for a solo developer?

Thanks in advance! really appreciate any guidance or real-world experiences 🙏


https://redd.it/1q2oxhs
@qt_reddit
Somebody know how to setup 3d designer preview to display custom shaders?

In this screenshot, I try to preview a simple led shader for Cylinder.

But, looks as the custom material use default empty shader and can't read a resource.

i know, direct paths should fix this issue, but this will break the project.

https://preview.redd.it/so0r88n874bg1.png?width=1984&format=png&auto=webp&s=9ee05eff3141f16dcb5b235554c303ca9f24e84d



https://redd.it/1q2rt1c
@qt_reddit
KodoTerm - a terminal widget for QT6

I was looking for a good terminal widget for Qt, and so far I only found https://github.com/lxqt/qtermwidget \- but: no windows support, and as a project it is licensed under the GPLv2.

So, I wrote my own.

This widget is based on the same code that QtCreator uses internally - [libvterm](https://github.com/neovim/libvterm/commits/nvim/).
The build system will be a statically link a libterm version internally - so consuming this library should be "easy" using CMake (its cloned using FetchContent_Declare so no extra steps are needed from your point of view).
It is [MIT ](https://github.com/diegoiast/KodoTerm/blob/main/LICENSE)licensed. All code is new - not copied from other projects.
Works on Windows and Linux. I can actually use PowerShell, cmd and bash.exe on the same Window (kinda bonkers...).

Code is quite "new", its only 3-4 days old... so use with cause. I am using it as my main terminal on Windows, so it is usable. On Linux its even better, as drawing is not as slow. I know it compiles on macOS, but I have not tested it. I assume *BSD will work, but again, untested and github provides no runners - so I cannot compile it on the CICD.

Pull requests are welcomed. Missing features are welcomed.

KodoShell - example of a full blown terminal emulator based on KodoTerm running on Windows 11

PS: native Windows theme Qt6 provides is borderline unusable, everything is too "white" and washed out. I wish something better existed.

EDIT: I forgot the link to the repository :)

https://github.com/diegoiast/KodoTerm/

https://redd.it/1q2ba9s
@qt_reddit
qTbot - qt library for working with Telegram bots.

Hey, guys! How are you enjoying 2026? The air has gotten cleaner, no not... oh well. 😁

A few years ago, I wrote a library for building chatbots using Qt. Currently, I have several Telegram bots running on it, and they've been working quite stably. So, I think it's ready to be used beyond just my own projects.

I'm leaving the GitHub link here. The library is built on the principle of a unified interface — essentially, you can implement any other platform, like Facebook or others. If you like the idea, feel free to join in, use it, or help with development!

https://redd.it/1q280cv
@qt_reddit
Very confused with setting up lsp for QML in Neovim

Hello! I apologize if that is a silly question, but I've tried to search on this sub and elsewhere and I am still very confused. I can not get my QML LSP work fully in Neovim. I posted it in Neovim sub, but maybe people here know what my problem is. Hope it is OK.

I have tried different methods, recently got Lazyvim hoping it would be easier to set up it there. But there is so much information on how to set this stuff up and they are all different and I am honestly lost. Regardless, in every case, I do not manage to get definitions working. I get warnings or notifications of unused imports, and basic autocompletion even, but not definitions

Also, regardless if I try via mason or the sever installed with qt6 locally, and in general in every way i tried, in lspInfo it says
-version ? (no serverInfo.version response)
- root directory: nil

I do have language server installed, I checked - it is recognized by nvim, I have .qmlls.ini file in my project directory.

>.qmlls.ini
[General]
no-cmake-calls=true
buildDir="/run/user/1000/quickshell/vfs/7f02b536a7df0cbbf1960731c71d372b"
importPaths="/usr/bin:/usr/lib/qt6/qml"

Bellow, on the screenshots, there is one of my setups via config/lsp.lua.

Later I installed LazyDistro for nvim, hoping it would be simpler, but it ended up even more confusing, and if in the beginning, I understood what I was doing, now I am completely lost and confused already. I am not a programmer, just want to do some stuff as a hobby and I really love vim for everything but this lsp is a pain.
Maybe, if it is some silly stuipid mistake, can anybody just tell me what to do exactly or what to follow? I am just desperate already, please help

init.lua

config\/lsp.lua

checkhealth lsp

https://redd.it/1q20wes
@qt_reddit
Why is installation this slow

https://preview.redd.it/n1421x6pnwag1.png?width=1624&format=png&auto=webp&s=753b7de534898529be7e62b0a67449879644dade

I have tried changing mirrors but to no luck
this is only really happening when I try to install CDB debugger and debug symbols
other times its fine

https://redd.it/1q1ucer
@qt_reddit
llvm, debugging, no application output

This topic has already been discussed but I haven't found a specific solution. Windows, llvm-mingw compiler, and lldb debugger. For some time now nothing has been appearing in the application output in debug mode. I am certain that I haven't changed any settings. I've tried everything, including solutions that have more side effects than the are worth. Recently created a console in the application:

AllocConsole();
freopen(“CONOUT$”, “w”, stdout);
freopen(“CONOUT$”, “w”, stderr);

It worked for a few days and then stopped! I use llvm because with regular mingw the startup time is unacceptable.

Any proven ideas?

https://redd.it/1q3pjhg
@qt_reddit
This media is not supported in your browser
VIEW IN TELEGRAM
Sprite Animator in my free App - "3Vial OS" [Python / PySide6 / PyOpenGL / NumPy]

https://redd.it/1q3wnie
@qt_reddit
QML does not handle setData returning false

I've bound my text input to a role in my model. setData() is called on editingFinished, after the user has entered a new value. In some cases, the user might enter invalid data and setData() will return false. In such cases, the text input's text does not revert to what's in the model.

I've been able to get around this by never returning false, and always emitting dataChanged() in setData(). I don't have a problem with this in principle, but it doesn't seem like the "right" way of doing things. Is there a better way or am I on the right track?

https://redd.it/1q41ikk
@qt_reddit
What's the best way to get PCM audio data from a Mp3 file?

I've seen a few people use ffmpeg with Qt, but is there an easier way to get raw audio data?

https://redd.it/1q45tfh
@qt_reddit