r/QtFramework • • 19h ago

Tired of fighting QDockWidget, so I built a docking and theming library for PySide6

4 Upvotes

Hi all,

For the past few months I’ve been working on Lace, a docking and layout library for PySide6. While building my own desktop engineering tools, I wanted a smooth, VS Code-like layout and cohesive theming experience in Python without the usual Qt layout headaches. It began as just the docking part and grew from there.

What My Project Does

Lace is a pure-Python docking and theming library for PySide6:

  • Tabbed dock areas: Drag around, split, float into their own windows, and drag back with a live drop preview showing where the panel will land before you let go.

  • Auto-hide sidebars: Pin panels to an edge to slide them out on demand, with optional badge counters (roughly like VS Code's sidebars).

  • Layout persistence: Save and restore layouts as JSON, including named presets you can switch between.

  • Deep theming engine: It doesn't just color the docks. It themes the entire QPalette plus a custom style for standard widgets, menus, and dialogs so your own widgets match out of the box. It comes with 37 themes, and you can generate your own from just two colors.

Target Audience

  • People building larger multi-pane desktop apps in Python (simulation tools, editors, CAD-like or dashboard apps) who want more control over layout and a consistent look than stock Qt gives them.

Comparison

The main alternative is Qt Advanced Docking System (PySide6-QtAds). It’s older, more widely used and well tested across platforms, and if you only need docking it’s a solid choice. The differences:

  • Lace is pure Python, so it’s easy to read, debug and subclass, and there’s no compiled binding to keep in step with your Qt version.

  • Lace themes the whole application; Qt-ADS covers the docking panes only.

Details:

It’s at 0.10, so the API may still change before 1.0. I use it in my own optical simulation tools, so it gets real daily use. I’d really appreciate feedback from anyone building bigger Qt apps: what’s missing, what feels awkward, or what breaks on your platform (I’ve mostly tested on Windows).

Thanks for reading!


r/QtFramework • • 2d ago

Blog/News KAIChat - KDE app similar to Claude Code tutorial

Thumbnail
youtube.com
0 Upvotes

r/QtFramework • • 4d ago

This is not sustainable - AI will replace a paid Qt module in a day, or port your whole codebase away from Qt

Thumbnail kelteseth.com
41 Upvotes

r/QtFramework • • 6d ago

Built a procedural Textile Studio with PySide6 (Qt) and PyOpenGL

7 Upvotes

r/QtFramework • • 7d ago

Question How can i get the correct order of screens?

3 Upvotes

Update: My plan is now to compare the screen geometry (specifically the x- and y-offsets) to decide which screen is the correct one, instead of going by index. I got an answer how to do that in a different question over in r/kde, now i just need to update my code. The combination of x- and y-offset should be unique, unless something went very wrong.

--- Original question: ---

Hello. I'm trying to create a little program that allows me to set my background image. It mostly works, but the wallpapers are set on the wrong screen. The reason is likely that Qt changes the order screens are returned by QGuiApplication::screens() by moving the primary screen to the first position of the list. Is there any way to get the correct order of screens?


r/QtFramework • • 7d ago

I built a lightweight local music player (SoundHub) in C++ and Qt 6 to escape bloated subscriptions

Thumbnail
gallery
0 Upvotes

Hi everyone!

I got tired of modern music players being filled with ads, subscriptions, and unnecessary features, so I decided to build my own. Meet SoundHub — a free, 100% offline local music player.

Key Features:

  • No Subscriptions / No Ads: It's just your music.

  • Lightweight: Built with C++17 and Qt 6. Very fast and responsive.

  • Modern UI: Dark theme with a clean interface.

  • Offline: Your music stays on your machine.

Tech Stack:

  • C++17

  • Qt 6 (Widgets & Multimedia)

  • CMake

  • Aseprite (for the pixel art logo)

Links:

I'm currently working on V2 and would love to hear your feedback, feature requests, or bug reports!


r/QtFramework • • 8d ago

Show off Tasket++ : Simulate your Windows actions automatically (free & open source)

Thumbnail
gallery
0 Upvotes

Tasket++ lets you define your own clicks, keystrokes, cursor positions and system operations, then replay them exactly when you want. It’s a simple Windows tool that handles repetitive workflows for you: auto‑send messages, paste text anywhere, take silent screenshots, launch or close apps, adjust volume or run your end‑of‑day shutdown sequence.

Everything runs locally, with no telemetry, no cloud, and no complexity.

What it can do:
- Replay user‑defined cursor positions and keystrokes
- Paste predefined text anywhere
- Perform system actions: open files/programs, change volume, take silent screenshots, shut down, files/folders operations
- Schedule tasks at a specific time, at startup, or run via desktop shortcut
- Run tasks once, in loops, or indefinitely
- Discreet mode: runs quietly from the tray
- Use command line to autorun a task : Tasket++.exe "TaskName" <delayInSeconds (>0)> <NumberOfLoop (-1 for infinite)>
- Easily share tasks between different PC : export/import task files and program data, use feature to rescale cursor positions

Local, portable, free, open source. Privacy intact.

Fully fonctionnal, available now !
Microsoft Store: https://apps.microsoft.com/detail/xp9cjlhwvxs49p
Portable (v2.5): https://files.amirhammoutene.dev/Tasket++/2.5/Tasket++_v2.5.zip
Source: https://github.com/AmirHammouteneEI/ScheduledPasteAndKeys

For feedback, help, suggestions, or other inquiries : [email protected]

Nothing is vibe coded, I never used AI (except for the choice of UI colors suggested by Copilot).
Conception is genuine, I didn't know about similar tools when I began developing it.

I'm looking for testers or quick feedback (beyond its visual aspect), please give a try and comment here :)


r/QtFramework • • 10d ago

QML We moved our PDF editor from Electron to Qt Quick: 601 MB to 148 MB installed, 4 processes to 1

49 Upvotes

FynePDF is a desktop PDF editor. Until October it was an Electron app. We rewrote it in Qt 6.12 with Qt Quick, and the PDF work runs in C++ on PDFium and qpdf.

On the same Windows PC:

- installed size: 601 MB -> 148 MB

- processes: 4 -> 1

- warm start: about 0.6 s

- page 1 of a 1 GB PDF: 237 ms

What took the longest: making QML look the same as the old CSS (gradients, shadows, line heights), a custom title bar that keeps Windows 11 snap layouts, and some QML AOT compiler surprises. I can write any of those up if people want.

Free to start (you need an account), paid plans are optional.

Windows (Microsoft Store): https://apps.microsoft.com/detail/9NLX6MNF70H2

Linux AppImage: https://fynepdf.com/download/linux


r/QtFramework • • 11d ago

Blog/News CQtDeployer v1.7 with new platforms support [MacOS, LinuxARM] and new backends [appimage, DMG, QtInstallFramework for Mac]

Thumbnail
github.com
12 Upvotes

Hello everyone! Today, I’m taking a brief break from game development to share an update for my legacy utility designed for deploying Qt-based applications: CQtDeployer.

Here’s what’s been added:

  • Support ARM Linux

  • Support macOS

  • Support DMG format

  • Support AppImage format

This brings the full list of formats supported by CQtDeployer to: ZIP, DEB, QtIFW, DMG, and AppImage.

For those who haven’t tried this tool yet:
It’s designed to recursively resolve dependencies and bundle them into portable, distributable packages.

I’d also like to mention that there is now a GitHub Action available, making it easy to integrate with GitHub.

I still use it myself—for instance, the game Ecliptica on Steam is deployed using CQtDeployer.

You might wonder why I decided to implement new features now, given that the utility was already doing its job well.
It’s quite simple: I trained an AI assistant on my own codebase and decided to put it to the test on a project that has been up and running for a long time.

Note: This utility can use for deploy not qt only projects - it works with all files. you may prepare installer for you PDF file and it will be works. or you cam fetch all dependencies library for your C, C++ or Rust app.


r/QtFramework • • 11d ago

Show off SolidWriting now handles 480,393 pages in a single document, 32x more than conventional word processors

5 Upvotes

85% more pages than my previous record, with peak RAM usage going from 9 GB to just 9.9-10.2 GB.

The document contains 480,393 pages, 73,524,633 words and 582,458,301 characters. %85 more than before.

The pagination engine now has improved settling, positioning and page geometry virtualization, keeping the entire document responsive during navigation, scrolling and text interaction.

Page positioning: 52-180 ms.
Selection and caret positioning: 0.18 ms.

https://github.com/berkaygediz/SolidWriting (Source code will be made available here when the product is published)


r/QtFramework • • 11d ago

Question what's the most correct/robust way of temporarily disabling all signals for an entire QObject hierarchy (eg starting from a root QWidget)?

4 Upvotes

I'm very fond of the Elm (or MVU) architecture for GUI updates, especially for complex GUIs where multiple widgets need to be updated when part of my state changes. (For example, maybe several buttons need to be enabled/disabled, line edits need to be cleared, menu items enabled/disabled, etc). Beyond a certain level of complexity, it's much easier to unify all this in a single 'update' function responsible for synchronizing the GUI with the app state, and executing it after every state change.

However one annoyance that has come up for me, is knowing which signals fire purely programmatically, which I need to disable during my update (UI synchronization) function.

The blind approach is just to use a boolean guard at the beginning of every signal handler, checking to see if the update function is still executing, and then returning early instead of changing any state / accidentally re-entering the update function.

But personally I find that a bit ugly, plus I either have to mentally remember which signal handlers can fire programmatically, or feel silly adding the guard to a button click handler which definitely won't fire inadvertently (in the name of consistency/habit).

What would be ideal is a single call at the beginning of my update which temporarily disables the entire hierarchy of QWidgets/QObjects, preventing them from signaling anything while I update them. Then even if I later add/remove widgets, connect new signals, etc - it would still work.

I tried writing a naive class which contained a vector of QSignalBlocker values, adding the root object plus everything returned from QObject::findChildren<QObject*>() ... but it seemed to mess up signal handling, and not restore properly after my class instance was destroyed (though I can't rule out user error, because I'm using Qt via some exotic non-C++ bindings).

Anyway, what's the most correct or sane approach here? Should simple vector of QSignalBlocker used in tandem with a recursive findChildren() work just fine, and I just bungled the implementation? (I'm not much of a C++ guy, so that's entirely plausible)

Or is there anything more direct for this use-case?


r/QtFramework • • 12d ago

Shipping Qt on Windows — what actually breaks for you?

3 Upvotes

I've been doing Qt/C++ on Windows for about ten years, mostly apps deployed to

customer machines I can't touch. The pain is never in the code — it's the last mile.

What has bitten me:

  1. "no Qt platform plugin could be initialized" — usually platforms/qwindows.dll

    missing, in the wrong place, or built with a different kit than the exe.

  2. QML app launches, shows a blank window, logs nothing. QML modules weren't

    collected because --qmldir was wrong.

  3. Every HTTPS request fails silently. Qt 6 needs the TLS backend plugin; without

    it QNetworkAccessManager just returns a generic error.

  4. 0xc000007b on the customer machine — 32/64-bit mismatch, or a wrong-arch

    vcruntime140.dll already sitting in PATH.

  5. Fine on my box, missing MSVC redistributable on theirs.

  6. Antivirus flags the exe. Unsigned.

  7. Fonts and widget styles look different elsewhere — styles/ plugin missing.

My process: build → windeployqt → walk the deploy folder against a checklist in

my head → test on a clean VM. It works, but the checklist lives in my head and

it's the first thing to skip when I'm in a hurry.

For those shipping Qt on Windows:

- Which of these have bitten you, and which costs the most time?

- What's the failure mode that's NOT on my list? I suspect I've just been lucky

with a few.

Not selling anything — trying to work out whether that checklist is a shared

problem or just my own paranoia.


r/QtFramework • • 13d ago

QML A whole Wayland desktop shell in QML: planet page transitions, live window copies, and idle CPU down from 15% to 3%

30 Upvotes

ETEA is a desktop shell for Hyprland, written entirely in QML on top of Quickshell. Bar, widgets, launcher, notifications, lock screen, and a page switcher where your workspaces turn around a planet.

A few things I learned keeping it smooth on a laptop iGPU (Intel Iris Xe):

- An invisible item that still changes still costs a redraw of the whole layer. The big scenes live in Loaders and only exist while they play.

- Every animated decoration shares one 15 fps clock that items join and leave, instead of each running its own timer.

- During a page turn, windows are live ScreencopyViews over a still photo, blurred with MultiEffect where the real app is translucent.

- Sky, ground and card textures are small GLSL shaders compiled with qsb.

- Sensors are read with FileView on sysfs rather than by starting processes.

Together that took idle CPU from about 15% to about 3%, and the whole system sits around 2.3 GB of RAM.

Code (GPL-3.0): https://github.com/SDcold/etea-shell

Happy to talk about any of it, or to hear how you'd have done it.


r/QtFramework • • 13d ago Bravo

Show off SolidWriting, 259,758 pages in one document, up to 17x more than any word processor

42 Upvotes

SolidWriting runs on Qt 6.12 and PySide6. It only needs a few core libraries and the XML libraries.

Open a file, save it, move between pages, select text, type, insert tables, images, shapes, equations with MathML and LaTeX.

One document. 259,758 pages. 39,800,942 words. 315,303,818 characters. Peak RAM usage was 9 GB.

Desktop word processors are built for far smaller documents. SolidWriting supports up to 17x the page count, with page-to-page navigation running 20 to 100 times faster. Go to any page and it opens instantly. Select text and the selection appears instantly. Paste something huge and it paginates without locking up the session. Pagination runs in the background while the interface keeps responding.

With 259,758 pages, this build takes about 5.1 minutes for a cold open and 5.1 minutes for the full pagination pass. The previous build took about 27 minutes and 25.5 minutes. So it opens 5.3x faster, paginates 5x faster, and uses about 6x less CPU time. Before this project I ran hundreds of segmentation and pagination experiments, and that experience went into this version.

People can already download older builds from the public repository. This version opens and paginates much larger documents much faster. Work continues, and the updated release will follow when the complete word processor is ready.

I plan to publish on Microsoft Store, winget, Scoop, Chocolatey, Linux package stores, and macOS via Homebrew. The Android port is in development at the same time.

https://github.com/berkaygediz/SolidWriting


r/QtFramework • • 12d ago

Qt Bridge Video Tutorial

Thumbnail
youtu.be
6 Upvotes

r/QtFramework • • 13d ago

Question How do you automate a legacy Qt3 application on Windows (qt-mt.dll)?

3 Upvotes

Hi everyone,

I’m working on automating a legacy Windows application built with Qt3 (32-bit, using qt-mt.dll). Unfortunately, I don’t have access to its source code.

Traditional UI automation tools like Microsoft UI Automation don’t work well because most Qt widgets aren’t properly exposed.

I’ve experimented with Frida in Python and managed to inspect the QObject/QWidget hierarchy, read widget properties, and invoke some Qt methods and slots directly. This works surprisingly well, but I’m looking for a more robust and maintainable solution. My Frida agent can get me through 6/10 e2e automation, still not enough for production.

Ideally, I’d like something similar to Squish for Qt, with capabilities such as:

Finding widgets by class name, object name, or text.
Interacting with QLineEdit, QPushButton, QPopupMenu, and QDialog.

Invoking Qt slots or methods directly instead of simulating mouse clicks.

Automating the application even when the Windows session is locked, if technically feasible.

I’ve looked into open-source projects like GammaRay and Spix, but they seem to target newer Qt versions.

Has anyone successfully automated a Qt3 application without source code?

Are there any older open-source tools, libraries, or techniques worth exploring? Would building a custom C++ automation bridge against Qt3 be a reasonable approach?

I’d appreciate any pointers or experiences. Thanks!


r/QtFramework • • 14d ago

Question QWebEngineView: large canvases flash white when hovering small elements above them (Qt 6.11, Windows). Any known fix?

4 Upvotes

I have a PDF viewer built on PySide6 and QWebEngineView (Qt 6.11.1, Chromium 140, Windows 11, RTX 4060 with Intel iGPU). Pages are drawn to 2D canvases on a white parent, and small overlay boxes sit on top of them.

When I move the mouse quickly over those boxes, parts of the page flash white for a frame or so. Sometimes a whole canvas disappears, along with the overlay boxes above it. The hover only toggles a CSS class. The page's own code doesn't redraw the canvas, but the browser does repaint page-sized layers. It's very obvious on dark slides.

I reduced it to a single HTML file with no PDF code, and it still happens. I moved the real cursor with a script and captured the screen at about 38 fps, 20 seconds per run:

- QWebEngineView (NVIDIA): 5, 7 and 3 frames with white

- Same page with willReadFrequently: true on the canvases: 0, 0

- Edge 149 on the same NVIDIA GPU: 0, 0

- Brave (Chromium 156) on the Intel GPU: 0, 0

In my app, switching Qt Quick to OpenGL (QSG_RHI_BACKEND=opengl) didn't help. --disable-accelerated-2d-canvas stopped it.

My current workaround is willReadFrequently: true, but page draw time roughly doubled (about 40 ms to 82 ms) and process memory went from about 460 MB to 720 MB.

My questions:

  1. Has anyone else seen this?

  2. Is there a better fix that keeps the canvases on the GPU?

  3. Does a newer Qt version fix it? I haven't tested a standalone Chromium 140, so I don't know if this is a Qt issue or a Chromium bug that was fixed later.

I can share the test page if it helps. I'm also planning to file a bug report.


r/QtFramework • • 15d ago

Question porting QML to android

4 Upvotes

I have an app that has a very spacious UI with emphasis on extravagant widgets, thumbnails and such. Porting to tablet is fine but mobile just kills my app’s entire aesthetic

If anyone tried porting QML frontends to android how did it go for you guys


r/QtFramework • • 15d ago

Why doesnt QtCreator allow this? Why do i have to use Notepad++ to edit the .ui file code directly

Post image
17 Upvotes

Sometimes I want to edit the .ui file directly. QtCreator only allows changes through designer, you can look at the code but you cant edit anything. afaik, there is also no setting to disable this block. Its kinda annoying


r/QtFramework • • 15d ago

CodePointer version 0.1.9 - Picard when the walls fell - new C++ IDE/editor

5 Upvotes

New release of my IDE. This month release adds LSP support (completion, hints, diagnostics). I tested it on C++ (clangd) and on Rust (rust-analyzer). All work at the same level. You are expected to have LSP in your path, or set it as an extra path as IDE does not install it for you.

https://github.com/codepointerapp/codepointer/releases/tag/v0.1.9
https://gitlab.com/codepointer/codepointer/-/releases/v0.1.9


r/QtFramework • • 17d ago

Yet another string art generator (C++20, Qt 6 / QML, GPL)

3 Upvotes

Yes, yet another string art generator. I saw the PySide6 one posted here and wanted to share mine: it's C++20 with a Qt Quick / QML UI, and it focuses on the
 parts after the picture: multi-colour threads wound layer by layer, 1:1 pin templates, and a step-by-step winding mode for making the real piece.

 ![demo](https://raw.githubusercontent.com/BulentSelek/stringart-studio/main/docs/images/demo.gif)

 **What it does**

 - Circle, ellipse, rectangle or custom CSV frames, sized in mm; place and resize the frame directly on the photo
 - Greedy optimizer with a physical thread model (opacity-based compositing, anti-aliased lines, thread diameter in mm) and a weighted MSE objective with
 optional edge emphasis
 - Multi-colour: each colour is one continuous thread, wound layer by layer; the layers are refined against each other until the error stops dropping. Palette
 suggestion from the image (up to 8 colours)
 pedal, optional spoken pin numbers, remembers where you stopped)
 - Exports: PNG, SVG, CSV, JSON and project files; a CLI tool for batch runs
  
 **Qt side**
  
 - Qt Quick / QML UI (Material, dark), a C++ image provider for the previews, throttled updates from the worker threads
 - The engine is plain C++ with no Qt Quick dependency, shared by the app and the CLI
 - QtConcurrent for candidate scoring, Qt Test for unit and headless UI tests, QPdfWriter for the templates
  
 **Performance** (i9-13980HX): a single-colour Mona Lisa with 300 pins and 8000 segments takes about 0.6 s; four colours with the same settings about 10 s.
 Scoring lines from the cache turned out to be memory-bound: beyond ~16 threads it got no faster, only hotter, so automatic mode stops there. Numbers in  
 docs/BENCHMARKS.md.
  
 The idea came from seeing 3Vial String Art here on Reddit; this is an independent implementation, licensed GPL-3.0.
  
 GitHub: https://github.com/BulentSelek/stringart-studio
  
 Feedback welcome, especially on the QML side and on Windows builds (I've only tested on Linux).


r/QtFramework • • 17d ago

Qat (Qt Application Tester) and integration

11 Upvotes

Hello everyone, I know we already don't like AI at all, but I hope I bring something useful

I’ve come across an excellent project for testing Qt applications called Qat. This is a testing framework for Qt-based applications. Absolutely kudos to the authors, it’s a fantastic project. Created with knowledge. You can read more here: https://qat.readthedocs.io

So my 5 cents, I just developed some skills and small python library helper for it that integrate with AI agents for claude, codex and cursor. For me personally this to facilitate more detailed and repeatable smoke testing.
link to skills: https://github.com/Palm1r/qat-agent-skills

It works with Qt Widgets and Qt Quick (Qt 5.15 and 6.2–6.12) and has been checked on Windows, macOS and Linux. It's early and unofficial, not affiliated with the Qat project, so feedback and bug reports are very welcome.

I hope this will also be helpful for your automated testing efforts—which is, after all, what Qat was originally designed for.

Install the skill:

npx skills add Palm1r/qat-agent-skills

r/QtFramework • • 18d ago

Qt Bridge for C#

Thumbnail
qt.io
15 Upvotes

r/QtFramework • • 18d ago

Question Inherited a Squish suite nobody can maintain. Is there an alternative for a team that doesn’t write C++?

0 Upvotes

We bought Squish three years ago. The engineer who wrote the tests left last September and took the only working knowledge of it with him.

What’s left is a few hundred test scripts in C++ that our current QA people, who are good manual testers and not programmers, cannot read or change. So the suite still runs nightly and nobody trusts the output, because when something goes red the honest answer is we don’t know whether the app broke or the script did. We’ve started re-checking the important flows by hand, which means we’re paying for a licence and testing manually anyway.

I don’t think Squish is the problem. It’s a serious tool and it did its job while someone could operate it. the problem is we staffed it once and can’t staff it again. So I’m looking at whether the plain language tools are good enough to let the testers own this themselves. AskUI came up tests are markdown files with numbered steps and an expected result each, and a screenshot and status per step, which at least means a failure is readable by the person who wrote it. Authoring app is Windows and macOS, Linux comes through their runtime as a remote target.

Has anyone actually done this migration, or did you just hire someone who knew the tool and carry on? appreciate your help !


r/QtFramework • • 20d ago

Blog/News Clate – A new visual UI design tool with QML export and AI integration

25 Upvotes

Qt Group has introduced Clate, a new visual design tool for creating Qt Quick interfaces, currently available in beta.

Looks pretty interesting! What do you think?