Qt - Reddit
15 subscribers
302 photos
53 videos
4.3K links
News and discussion for the Qt Framework.

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

Powered by : @r_channels & @reddit2telegram
Download Telegram
Thinking of Switching to Qt/C++ Desktop Development Looking for Good Learning Resources

I'm considering changing my development focus and moving into desktop application development using Qt and C++. My goal is to build modern cross-platform desktop applications and eventually become proficient with Qt Widgets, Qt Core, and QML. I'm looking for recommendations on:

High-quality C++ tutorials (beginner to intermediate)

The best Udemy courses for modern C++

Good Qt courses covering Qt Core and Qt Widgets

QML and Qt Quick learning resources

Any learning roadmap for becoming productive with Qt development

If you've made a similar transition or currently work with Qt professionally, I'd love to hear what resources helped you the most and what you'd recommend avoiding.

https://redd.it/1uce0ls
@qt_reddit
Qt Quick - how to clip rounded corners

I’m fairly new to Qt, and I’m trying to implement a design that uses a lot of rounded corners. I’ve managed to achieve rounded corners using MultiEffect’s mask effect, but this seems excessively complex, and I feel like I must be missing something.

As a simple example, I’m trying to implement a popup that looks similar to the following, with the item’s background changing on hover: https://jsfiddle.net/ygtc06a5/ How could this be done?

Thanks!

https://redd.it/1uceuzq
@qt_reddit
libpyqt6.so now ships with conda-forge PyQt6 — custom Qt Designer widgets work out of the box

If you've ever tried to use a QDesignerCustomWidgetInterface subclass with PyQt6 installed via conda, you hit the same wall: Qt Designer shows "Python plugin" as failed in Help > About Plugins, because libpyqt6.so was never included in the conda package.

For pip users, pyqt6-tools provides a wrapper around Designer that sets up the path. But with conda, there was no workaround — the physical plugin file just wasn't there.

I fixed the conda-forge recipe. Since build _1 of PyQt6 6.11.0 (published June 17), the plugin is included:

conda install pyqt6=6.11.0=*_1

What changed: the pyqt6 recipe was only installing the Python package, but Qt plugins need to be in $PREFIX/plugins/designer/.

The build was already producing libpyqt6.so — the recipe just wasn't copying it to the right place. One line fix: cp -r $PREFIX/lib/python3.x/site-packages/PyQt6/Qt/plugins/ $PREFIX/plugins/

Same issue exists for PyQt5 (needs libpyqt5.so) but since Qt5 reaches EOL in December 2026, PyQt6 is the priority.

If you're building conda packages that ship Qt plugins, check that qt-plugins are in the right location. The upstream build system puts them inside the Python site-packages — conda expects them under $PREFIX/plugins/.

This was discussed on the PyQt mailing list earlier this week.

I'm posting it here in case anyone else was tracking the issue.



https://redd.it/1uaytj4
@qt_reddit
Does Qt Have a Future or Not?

Where is Qt used the most today in terms of countries, industries, and companies?

I am curious where the demand for Qt C++ developers is strongest ?

https://redd.it/1ufkoeo
@qt_reddit
How to learn shader programming for Qt 6?

Are there tutorials or walkthroughs for programming shaders on Qt 6 that you can recommend? The first thing I want to do is draw QSGGeometry lines with varying line thicknesses but I’m finding it difficult to get started.

https://redd.it/1uft3w1
@qt_reddit
How to support japanese writing in rich text editor

For a document editor that supports Japanese text it should be able to write vertically. Also, if I'm not wrong, there are some characters that are different when written vertically. Is there an easy way to do all that in a rich text editor widget?

I assume that those are the main problems. The character writing itself and to show them I guess it's already solved by other things, like html format, etc. And I don't know if I have to worry about anything else about that

https://redd.it/1ug33ti
@qt_reddit
Balancing visual layouting and custom code

I'm quite a beginner but quite interested in the visual layout of applications in QT Creator. (C++, without QML) On the other hand I start to find myself creating custom widgets. And I cannot always see a full visual preview.

What's a good balance between "visual editing" and custom Code?

https://redd.it/1ug7pe9
@qt_reddit
devcontainer support in QtCreator

Hi there! Has anyone successfully used devcontainer support in Qt Creator?

I’m trying it with v20, but I can’t get it to run. It appears in my project tree, and the Docker image has everything it needs. The same image also works when configured directly as a device. However, the devcontainer stays red and isn't available in Kits. I think I'm missing a step but I don't know which one.

Does anyone have a working example?

I’m on Debian 13, using a Debian 13 Docker image, in case that matters.

https://redd.it/1ugykc5
@qt_reddit
How would you handle this problem (Card Designer)?

So I'm currently trying to make a card designer for my application (similar to the Qts Widgets Designer). I'm currently unsure if I should use the QGraphicsView/Scene for Viewing the Widgets, I want to insert via a QGraphicsProxyWidget (because I want to give my users a direct view of the finished card and not use a QGraphicsRectItem) and I made a small prototype and had a lot of problems like the movement of QGraphicsProxyWidget where you need a wrapper item for it to be moveable (Stack Overflow post for this problem) and some others or creating my own view with a QWidget.

I just plan to create a simple card designer for my application so you can use widgets to design it and layouts and thats it. I don't need rotation or z-ordering. Would you still recommend using the QGraphicsView or create my own view? Do you have any recommendations which route I should go?

Just you know: My Qt experience is very limited and I am still learning it.
Qt Widgets 6.11.1 and C++20

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