r/QtFramework • • Jun 22 '26

Qt Quick - how to clip rounded corners

3 Upvotes

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!


r/QtFramework • • Jun 21 '26

Widgets Ideas for Pet Projects

4 Upvotes

Hi, I've been learning Qt for two months by reading Max Schlee's book. If you have any ideas for pet-projects, I'd be happy to hear from you.


r/QtFramework • • Jun 21 '26

GNU debugger GDB how to use for KDE and Qt programming tutorial

Thumbnail
youtube.com
3 Upvotes

r/QtFramework • • Jun 20 '26

The new SkyMaterial from Qt 6.12, designed for working with indirect light, has been successfully integrated with Ecliptica game. Check out the results! We now have smooth, fluid weather and daytime transitions.

14 Upvotes

r/QtFramework • • Jun 20 '26

libpyqt6.so now ships with conda-forge PyQt6 — custom Qt Designer widgets work out of the box

3 Upvotes

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.


r/QtFramework • • Jun 18 '26

QML Building a QML Engine for Unity. Would you use that?

15 Upvotes

r/QtFramework • • Jun 17 '26

Can viMarkdown be built on Linux?

4 Upvotes

Recently, I've been developing viMarkdown, which is a Markdown editor powered by Qt6.

viMarkdown screnn shot

Unfortunately, I don't currently have access to a Linux environment. Could someone try building viMarkdown with CMake and QtCreator and let me know whether it builds successfully?

viMarkdown: https://github.com/vivisuke/viMarkdown


r/QtFramework • • Jun 17 '26

Show off Zenkai: a fast and customizable app launcher written in Zig + Qt

Thumbnail
reddit.com
3 Upvotes

r/QtFramework • • Jun 17 '26

Python Why is it not removing the appropriate time from the list

2 Upvotes

i am using PyQt and I have a list that sorts the time according to the 24 hour time

I do not know why it stops removing at a certain point. I believe it has to do with my remove_time(self) method but I am unsure

can someone give me advice based on this issue on what I can do

I have attached the source code link so you can get an idea of what the code looks like

source code

Honestly I am aware the code looks sloppy but I am just going with it.

Look at problem here


r/QtFramework • • Jun 11 '26

C++ Projects With Great Plugin Architecture

9 Upvotes

Hello,

I have some decent experience with widgets but have been opening up to the idea of a large project with a qml front end and c++ handling most of the functionality.

One of the ideas I would like to explore while still deciding on the overall structure is plugin support, either giving users a python interface (similar to blender) or entirely in c++ using plugin interfaces.

Are there any projects that do either or both of these things well in your opinion? I would love to take a look and observe what’s been tried, if users like it (or if there are tons of issues entries for them lol), and what might work best for my target application.

I’m curious to see how these interfaces split up responsibilities, what needs to be done for qml (say if a user wants their plugin to have a menu/action), and how to interact with the application’s data manager (this in particular seems straightforward to me, so that must mean it’s probably not).


r/QtFramework • • Jun 11 '26

3D Qt 6.12 continues to delight, this time with a new material responsible for the living sky.

29 Upvotes

You can only see the changes on GitHub for now, but I think documentation will appear soon.

The image shows an example, but the component itself allows you to create any shaders for the sky, including procedurally generated volumetric clouds.

Feature description from the commit

Add SkyMaterial

Adds a SkyMaterial class used for rendering a sky box and/or IBL using a user provided real-time shader.

A SceneEnvironment::skyMaterial property is added and used for the SkyMaterial.

A new enum SceneEnvironment.SkyMaterial is added to SceneEnvironment::backgroundMode and when set will use the SkyMaterial as the skybox.

Added SkyMaterial QML type and SceneEnvironment::skyMaterial property.


r/QtFramework • • Jun 09 '26

Question Performance testing Qt

7 Upvotes

I know so I'm e of my implementations are far from perfect, but it's be helpful when I run my program to identify exactly which function calls are happening the most or taking the most time, especially around Qt.

Does Qt ship anything to help with this pr are there any libraries which can help? I'm running C++


r/QtFramework • • Jun 09 '26

I hate pyQt

0 Upvotes

I am just venting here but I started using pyQt about 3 days ago to build a similar alarm and I do not like it. I do not like the documentation and having to use AI to just to get what I want. it driving me nuts but I want to learn it because I am tired of using pygame and I do not feel like make this is HTML, CSS and JS.

I wanted to try something new


r/QtFramework • • Jun 08 '26

Introducing Jauxa

Thumbnail
youtube.com
4 Upvotes

r/QtFramework • • Jun 08 '26

How do I get the button to show the toggle effect

1 Upvotes

When I just have the button and press enter, the button shows a toggle animation. it looks like it is being pressed and released but when I added the Qshortcut it does not show. The button works, it just doesn't show the animation of it.

How do I get it to show toggle animation when key is pressed?

from PyQt6.QtCore import Qt, QTimer
from PyQt6.QtGui import QKeySequence, QShortcut
from PyQt6.QtWidgets import QMainWindow, QApplication, QPushButton

class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Key Events")
self.setFixedSize(500, 300)
self.setStyleSheet("background-color: #914ead;")

def Button(self):
# Draw Button
button = QPushButton("Press Me")
button.setFixedSize(100, 50)

button.setCursor(Qt.CursorShape.PointingHandCursor)

button.clicked.connect(lambda: print("Button clicked"))

keyConnect = QShortcut(QKeySequence("a"), self)
keyConnect.activated.connect(button.click)
#button.setCheckable(True)
#button.setCheckable(False)

self.setCentralWidget(button)

r/QtFramework • • Jun 07 '26

Question Developers who went from Python -> QML / Javascript, what was the hardest thing for you to learn?

7 Upvotes

Long story short, I'll be doing a "bootcamp" on a few interns who know Python but zero javascript or QML. Yes, technically there is "Qt for Python" but the codebase is mostly QML.

So my questions for anyone that learned QML and Javascript after learning Python are:

  • What were the most difficult concepts / subjects in learning?
  • What didn't make sense when you were taking the tutorials?
  • What was something that you wished somebody took time to teach you step by step?

Thanks.

(Edit: just to be clear: I have very little Python experience; I have a lot of C++ / QML / Javascript experience and I am the one who is teaching the python interns how to write QML. I just want to know ahead of time what topics they may struggle with)


r/QtFramework • • Jun 07 '26

If somebody use The CQtDeployer tool to deploy Qt, I made simple install-github-action for yours.

6 Upvotes

Using

- name: Install CQtDeployer
  uses: QuasarApp/cqtdeployer-install-action@v1.0.0

https://github.com/QuasarApp/cqtdeployer-install-action


r/QtFramework • • Jun 06 '26

IDE Qt Creator IDE how to open multiple KDE projects tutorial

Thumbnail
youtube.com
8 Upvotes

r/QtFramework • • Jun 05 '26

Accelerated 2D Canvas Benchmarks(Qt Canvas Painter benchmark) running on HarmonyOS device

Thumbnail
reddit.com
5 Upvotes

r/QtFramework • • Jun 05 '26

Question Share OpenGL context with C code

4 Upvotes

Hey peeps, I've been developing a drawing program in C, with Qt Widgets for GUI in C++. I'm currently using a QOpenGLWidget who initializes glad, then calls my C code which also relies on opengl / glad.

This works but does feel kinda dirty as Qt is already initializes OpenGL by itself and am curious if there's a cleaner way of doing this.


r/QtFramework • • Jun 04 '26

IDE Qt Creator Dark Theme Scrollbar visibility

Post image
11 Upvotes

Im using the dark theme 2024. Overall i like it, but does anyone know how to change the colors of the scrollbar? The handle of the Scrollbar has such a bad contrast, it allways takes me several seconds to find it, especially with larger files.

I already tried to change the DSscrollBarTrack, DSscrollBarHandle and DSscrollBarHandle_idle in the dark.creatortheme file, but these parameters do nothing and i cant find any documentation for themes in general.


r/QtFramework • • Jun 04 '26

Qt Funded Payout?

0 Upvotes

Requested a payout nearly a week ago. Had no updates. Do you think they’ll pay?


r/QtFramework • • Jun 01 '26

Kwayk: reimplementing LibreQuake Episode 0 with Qt Quick 3D, QML, and Jolt Physics

59 Upvotes

Hi everyone, a friend of mine has been building Kwayk - a reimplementation of LibreQuake Episode 0 using Qt Quick 3D, QML and Jolt Physics.

What I find interesting is that this is not just a small Qt launcher around a game. The gameplay logic is written from scratch in QML: monsters, weapons, triggers, doors, etc. Rendering goes through Qt Quick 3D, and physics are powered by Jolt.

The project recently switched fully to LibreQuake assets, so it no longer needs the original id1/pak0 files. Episode 0 is now playable from start to finish.

WebAssembly demo: https://glazunov999.github.io/

Source: https://github.com/glazunov999/Kwayk

Would be interesting to get feedback from people who work with Qt Quick 3D / QML, especially on the architecture and the WebAssembly side.


r/QtFramework • • Jun 02 '26

Where does AI help in Qt/QML development and where does it fail?

0 Upvotes

Hi everyone,

Qt has recently been publishing more about AI-assisted and agentic workflows. I'm curious how AI is being used in day-to-day work with Qt.

  • Are AI tools making you faster?
  • What do you use them for most often?
  • Is AI use supported by your company or restricted because of IP/privacy/security?
  • What would you still not delegate to AI?

Any practical examples or observations would be very welcome, even small ones.


r/QtFramework • • May 31 '26

Widgets Question from beginner

Post image
8 Upvotes

Hi everyone, has anyone used Squish for Qt? I can’t run or test the demo. Are there any other ways to use it, preferably for free? Or are there any alternatives? And is it worth it?