Ideas on making a "Zoomed" view of behind the cursor?
Been requested to make a "zooming" feature as an accessibility thing. Basically, a round area under the cursor wherever it is positioned on the screen that zooms in 2x, 3x, etc. They want a nice effect with distorted edges (like a magnifying glass), but the minimum is just a zooming effect.
In the past when trying to interact with QT and the desktop/other background items it has been quite problematic. Any thoughts on where/how to begin and what to possibly look at? I've made a blurred background behind the window before, but was very slow. Wondering if some sort of 3d effect might accomplish things through a blend? or if I am missing something basic...
https://redd.it/1nd1fv9
@qt_reddit
Been requested to make a "zooming" feature as an accessibility thing. Basically, a round area under the cursor wherever it is positioned on the screen that zooms in 2x, 3x, etc. They want a nice effect with distorted edges (like a magnifying glass), but the minimum is just a zooming effect.
In the past when trying to interact with QT and the desktop/other background items it has been quite problematic. Any thoughts on where/how to begin and what to possibly look at? I've made a blurred background behind the window before, but was very slow. Wondering if some sort of 3d effect might accomplish things through a blend? or if I am missing something basic...
https://redd.it/1nd1fv9
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Building from source in Windows
I've hit a brick wall trying to compile Qt from source:
CMake Error at C:/Qt-static/qt5/qtwebengine/cmake/QtGnGen.cmake:95 (message):
-- GN FAILED
WARNING: Support for linking against a C++ standard library other
than the one in-tree (buildtools/third_party/libc++) is deprecated
and support for this will end. We plan to remove this option in
M138.
Process terminated due to timeout
3731/13220 Automatic MOC for target Charts
ninja: build stopped: subcommand failed.
Process terminated due to timeout
3731/13220 Automatic MOC for target Charts
ninja: build stopped: subcommand failed.
C:\Qt-static\build>
ChatGPT seems to think the problem is that I'm compiling too much but none of the suggested workarounds work at all. I am trying to compile Qt so I can use it in a static library. For now, I only need the base functionality.
What I did was:
..\\qt5\configure -developer-build -opensource -nomake examples -nomake tests
cmake --build . --parallel
I'm running on Windows 10 using MSVC 2022
https://redd.it/1ndfodn
@qt_reddit
I've hit a brick wall trying to compile Qt from source:
CMake Error at C:/Qt-static/qt5/qtwebengine/cmake/QtGnGen.cmake:95 (message):
-- GN FAILED
WARNING: Support for linking against a C++ standard library other
than the one in-tree (buildtools/third_party/libc++) is deprecated
and support for this will end. We plan to remove this option in
M138.
Process terminated due to timeout
3731/13220 Automatic MOC for target Charts
ninja: build stopped: subcommand failed.
Process terminated due to timeout
3731/13220 Automatic MOC for target Charts
ninja: build stopped: subcommand failed.
C:\Qt-static\build>
ChatGPT seems to think the problem is that I'm compiling too much but none of the suggested workarounds work at all. I am trying to compile Qt so I can use it in a static library. For now, I only need the base functionality.
What I did was:
..\\qt5\configure -developer-build -opensource -nomake examples -nomake tests
cmake --build . --parallel
I'm running on Windows 10 using MSVC 2022
https://redd.it/1ndfodn
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Not being able to run executable outside Qt Creator
Hello can somebody help me? I'm trying to execute an application outside qt creator but I'm not being able to I click on the executable but nothing show up, it terminates with return -1, i used
https://redd.it/1neavlc
@qt_reddit
Hello can somebody help me? I'm trying to execute an application outside qt creator but I'm not being able to I click on the executable but nothing show up, it terminates with return -1, i used
windeployqt do build the application in release mode but didn't workhttps://redd.it/1neavlc
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
llama.qtcreator using Devstral-Small-2507 to create a c++ qt widgets mockup based on an image
https://youtu.be/bkrqAM8sStc
https://redd.it/1nefhr8
@qt_reddit
https://youtu.be/bkrqAM8sStc
https://redd.it/1nefhr8
@qt_reddit
YouTube
llama.qtcreator using Devstral-Small-2507 to create a c++ qt widgets mockup based on an image
This is llama.qtcreator with drag & drop support.
In this video I am giving a screenshot of GPU-Z to Devstral Small 2507 asking it to create me a qt c++ mockup based on the image.
I have asked for the source files to have their names in the first comment…
In this video I am giving a screenshot of GPU-Z to Devstral Small 2507 asking it to create me a qt c++ mockup based on the image.
I have asked for the source files to have their names in the first comment…
Ecliptica Devlog #10 "Qt Quick physics", particles, rigging and morphing in open World.
https://youtu.be/cBZpczFAvJI
https://redd.it/1ngnbub
@qt_reddit
https://youtu.be/cBZpczFAvJI
https://redd.it/1ngnbub
@qt_reddit
YouTube
Making an interactive All destructed open world on Qt: Ecliptica Devlog #10
Ecliptica: Devlog 10 — Interactive World and a New Blueprint System
Hello friends! We are incredibly excited to share with you our tenth devlog. In this video, we'll show you some of the most exciting new features we've been working on. We believe these…
Hello friends! We are incredibly excited to share with you our tenth devlog. In this video, we'll show you some of the most exciting new features we've been working on. We believe these…
Is downloading QT from QT.io the only option?
It seems they want to nab all of your identity information just to download these days.
https://redd.it/1nibff0
@qt_reddit
It seems they want to nab all of your identity information just to download these days.
https://redd.it/1nibff0
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Problem with QTextDocument tables page-break
https://preview.redd.it/5uoac12txvpf1.png?width=860&format=png&auto=webp&s=aafacbc2dd12d7f7f2b8056542710226ac27129b
Hello, I am faced with the problem that Qt does not know how to move tables correctly when a page breaks, I work with QTextDocument and QTextCursor, I generate a lot of html with large tables and insert through cursor.insertHtml(), the page size is set to A4, so the Qt layout engine adds page breaks, and does it as incorrectly as possible, not between the rows, but in the middle of the row and the text appears in the middle of the page break.
I was thinking about going through the document myself and inserting a breaks, but it seems impossible to do it correctly.
Maybe someone has encountered this problem and knows a solution? Or does anyone have any ideas? I would be very grateful.
https://redd.it/1nk2yv0
@qt_reddit
https://preview.redd.it/5uoac12txvpf1.png?width=860&format=png&auto=webp&s=aafacbc2dd12d7f7f2b8056542710226ac27129b
Hello, I am faced with the problem that Qt does not know how to move tables correctly when a page breaks, I work with QTextDocument and QTextCursor, I generate a lot of html with large tables and insert through cursor.insertHtml(), the page size is set to A4, so the Qt layout engine adds page breaks, and does it as incorrectly as possible, not between the rows, but in the middle of the row and the text appears in the middle of the page break.
I was thinking about going through the document myself and inserting a breaks, but it seems impossible to do it correctly.
Maybe someone has encountered this problem and knows a solution? Or does anyone have any ideas? I would be very grateful.
https://redd.it/1nk2yv0
@qt_reddit
Is there no real way to create a dynamically linked library with signals / slots using cmake?
Before I was using qmake and there was no issue in creating standalone linked libraries where the C++ code classes had signals and slots. I am now moving to qt6 with cmake and now it is now impossible to get the compiler / cmake to understand Qt keywords like `signals` or `slots`. Even `QML_SINGLETON` doesn't get recognized. I tried turning on `CMAKE_AUTOMOC` to `ON` but that didn't make a difference.
Here is the proof of concept:
https://gitlab.com/DesiOtaku/signalslotlibrarytest/-/tree/master?ref_type=heads
What I really want to do is have a library that many different apps link to and the backend being C++ that would provide the QML objects needed for each app. It was really easy before using qmake but I can't figure out how to do it in cmake. Any idea what I would be doing wrong? Thanks.
https://redd.it/1nk9l1y
@qt_reddit
Before I was using qmake and there was no issue in creating standalone linked libraries where the C++ code classes had signals and slots. I am now moving to qt6 with cmake and now it is now impossible to get the compiler / cmake to understand Qt keywords like `signals` or `slots`. Even `QML_SINGLETON` doesn't get recognized. I tried turning on `CMAKE_AUTOMOC` to `ON` but that didn't make a difference.
Here is the proof of concept:
https://gitlab.com/DesiOtaku/signalslotlibrarytest/-/tree/master?ref_type=heads
What I really want to do is have a library that many different apps link to and the backend being C++ that would provide the QML objects needed for each app. It was really easy before using qmake but I can't figure out how to do it in cmake. Any idea what I would be doing wrong? Thanks.
https://redd.it/1nk9l1y
@qt_reddit
GitLab
Files · master · Tej A. Shah / SignalSlotLibraryTest · GitLab
Need pointers to achieve accelerated panning.
Hi, I'm a beginner too. Can you give me some keywords (i.e. class names) for a Widgets based C++ program to achieve GPU-side panning?
I want to create a canvas with some drawing on it that you can see only a rectangle part of (a window). If the user grabs this background with the mouse they must be able to move the scene around very smoothly (I want to avoid redrawing anything, or even sending more data to the GPU while doing this).
What is the correct way to achieve this?
The drawing is 2D (it's an infinitely large chess board).
https://redd.it/1nktdcf
@qt_reddit
Hi, I'm a beginner too. Can you give me some keywords (i.e. class names) for a Widgets based C++ program to achieve GPU-side panning?
I want to create a canvas with some drawing on it that you can see only a rectangle part of (a window). If the user grabs this background with the mouse they must be able to move the scene around very smoothly (I want to avoid redrawing anything, or even sending more data to the GPU while doing this).
What is the correct way to achieve this?
The drawing is 2D (it's an infinitely large chess board).
https://redd.it/1nktdcf
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
How to program for KDE using Qt Widgets, KDE Frameworks, KXmlGui tutorial
https://www.youtube.com/watch?v=UkDiZl3tcEs
https://redd.it/1nl2z7t
@qt_reddit
https://www.youtube.com/watch?v=UkDiZl3tcEs
https://redd.it/1nl2z7t
@qt_reddit
YouTube
How to program for KDE using Qt Widgets, KDE Frameworks, KXmlGui tutorial- September 2025 - bfdaec39
By following this tutorial you get a feel of KDE programming. This creates a GUI app that uses Qt Widgets and KDE standard technologies.
How can this exception happen?
Hello,
You people always helped me, so I thought I should ask my embarrassing question here...
I received a couple of identical bug reports for my PySide6 app [Flowkeeper](https://flowkeeper.org) and was banging my head against the wall trying to figure out how it is possible. Here's a stack trace:
Traceback (most recent call last):
File "/app/flowkeeper/fk/qt/focus_widget.py", line 356, in ok
workitem.get_uid(),
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_uid'
And here's the code:
for backlog in self._source_holder.get_source().backlogs():
workitem, _ = backlog.get_running_workitem()
if workitem is not None:
dlg = InterruptionDialog(
self.parent(),
self._source_holder.get_source(),
'Interruption',
"It won't pause or void your current pomodoro, only\n"
"record this incident for your future reference:",
'What happened (optional)')
def ok():
self._source_holder.get_source().execute(
AddInterruptionStrategy, [
workitem.get_uid(), # Line 356
sanitize_user_input(dlg.get_reason())])
dlg.accepted.connect(ok)
dlg.open()
And for the life of me, I can't understand how `workitem` might be None there. It's a simple Python object, not a `QObject` or anything like it. And I can't reproduce this thing, but at least two people filed this bug, against the exact same version of the app (it's a Flatpak, actually, so I know the versions).
I feel like I don't understand something either about Python, or about PySide6 / Qt6. My best guess would be that it is somehow related to Qt threads / event loop...
Will appreciate any suggestions. Thanks!
https://redd.it/1nl2xpk
@qt_reddit
Hello,
You people always helped me, so I thought I should ask my embarrassing question here...
I received a couple of identical bug reports for my PySide6 app [Flowkeeper](https://flowkeeper.org) and was banging my head against the wall trying to figure out how it is possible. Here's a stack trace:
Traceback (most recent call last):
File "/app/flowkeeper/fk/qt/focus_widget.py", line 356, in ok
workitem.get_uid(),
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_uid'
And here's the code:
for backlog in self._source_holder.get_source().backlogs():
workitem, _ = backlog.get_running_workitem()
if workitem is not None:
dlg = InterruptionDialog(
self.parent(),
self._source_holder.get_source(),
'Interruption',
"It won't pause or void your current pomodoro, only\n"
"record this incident for your future reference:",
'What happened (optional)')
def ok():
self._source_holder.get_source().execute(
AddInterruptionStrategy, [
workitem.get_uid(), # Line 356
sanitize_user_input(dlg.get_reason())])
dlg.accepted.connect(ok)
dlg.open()
And for the life of me, I can't understand how `workitem` might be None there. It's a simple Python object, not a `QObject` or anything like it. And I can't reproduce this thing, but at least two people filed this bug, against the exact same version of the app (it's a Flatpak, actually, so I know the versions).
I feel like I don't understand something either about Python, or about PySide6 / Qt6. My best guess would be that it is somehow related to Qt threads / event loop...
Will appreciate any suggestions. Thanks!
https://redd.it/1nl2xpk
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Qt 5-6 WebEngine Flick Issiue
Hey !
I am showing a web page using QWidget - WebEngineWidget in a Fullscreen application.
When I click somewhere else on the second monitor and then click back into the application, the screen flickers.
I tested this on Qt 5.14 and Qt 6.8 versions across multiple computers( intel onboard and Nvidia gpu), and the same issue occurs.
Strangely, when the program is running, locking the computer and logging back in resolves the issue. Additionally, when I run it in Maximized mode, the issue doesn’t occur.
For Qt 5, adding QT_OPENGL=angle to the environment fixes the problem, but this doesn’t work for Qt 6
I’m not sharing example code; I used the simplest QWebEngineWidget from Designer.
Has anyone experienced similar issues?
https://redd.it/1nlcwdp
@qt_reddit
Hey !
I am showing a web page using QWidget - WebEngineWidget in a Fullscreen application.
When I click somewhere else on the second monitor and then click back into the application, the screen flickers.
I tested this on Qt 5.14 and Qt 6.8 versions across multiple computers( intel onboard and Nvidia gpu), and the same issue occurs.
Strangely, when the program is running, locking the computer and logging back in resolves the issue. Additionally, when I run it in Maximized mode, the issue doesn’t occur.
For Qt 5, adding QT_OPENGL=angle to the environment fixes the problem, but this doesn’t work for Qt 6
I’m not sharing example code; I used the simplest QWebEngineWidget from Designer.
Has anyone experienced similar issues?
https://redd.it/1nlcwdp
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Qt Quick Designer can't see other modules.
https://reddit.com/link/1nlq5wh/video/pktvxngzc9qf1/player
This issue has been driving me crazy, if anyone knows anything about this please let me know!
https://redd.it/1nlq5wh
@qt_reddit
https://reddit.com/link/1nlq5wh/video/pktvxngzc9qf1/player
This issue has been driving me crazy, if anyone knows anything about this please let me know!
https://redd.it/1nlq5wh
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
qwayland plugins on qt 6.9.2
I installed Qt using aqt, on Debian testing. I noticed that only 6.9.2 does not contain wayland plugins . On following output you see that 6.8.3 and 6.9.00 do contain some wayland plugins.
qtedit4] ls ~/qt/6.*/gcc_64/plugins/platforms/libq{wayland,xcb}* -1
/home/diego/qt/6.8.3/gcc_64/plugins/platforms/libqwayland-egl.so
/home/diego/qt/6.8.3/gcc_64/plugins/platforms/libqwayland-generic.so
/home/diego/qt/6.8.3/gcc_64/plugins/platforms/libqxcb.so
/home/diego/qt/6.9.0/gcc_64/plugins/platforms/libqwayland-egl.so
/home/diego/qt/6.9.0/gcc_64/plugins/platforms/libqwayland-generic.so
/home/diego/qt/6.9.0/gcc_64/plugins/platforms/libqxcb.so
/home/diego/qt/6.9.2/gcc_64/plugins/platforms/libqxcb.so
I used this command to install:
`~/.local/bin/aqt install-qt linux desktop 6.9.2 -O ~/qt`
https://redd.it/1nlvhwe
@qt_reddit
I installed Qt using aqt, on Debian testing. I noticed that only 6.9.2 does not contain wayland plugins . On following output you see that 6.8.3 and 6.9.00 do contain some wayland plugins.
qtedit4] ls ~/qt/6.*/gcc_64/plugins/platforms/libq{wayland,xcb}* -1
/home/diego/qt/6.8.3/gcc_64/plugins/platforms/libqwayland-egl.so
/home/diego/qt/6.8.3/gcc_64/plugins/platforms/libqwayland-generic.so
/home/diego/qt/6.8.3/gcc_64/plugins/platforms/libqxcb.so
/home/diego/qt/6.9.0/gcc_64/plugins/platforms/libqwayland-egl.so
/home/diego/qt/6.9.0/gcc_64/plugins/platforms/libqwayland-generic.so
/home/diego/qt/6.9.0/gcc_64/plugins/platforms/libqxcb.so
/home/diego/qt/6.9.2/gcc_64/plugins/platforms/libqxcb.so
I used this command to install:
`~/.local/bin/aqt install-qt linux desktop 6.9.2 -O ~/qt`
https://redd.it/1nlvhwe
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
What to read for a "real time search and filter for table displaying data from an external PostgreSQL"
Hi there,
Im a noob to C++ QT, recently made a web app with Python, and decided to learn C++ so I have some street cred to join discussions when joining discussions on criticizing or complimenting OOP.
I got some basics down, I got a workflow and decent understanding going on.
I want a substantial project (inspired by some conferences Ive watched about having something substantial when a language/paradigm, so I decided to simply copy the amount of data I had for that project to make crud app.
I want a real time search and filter for table displaying data from an external PostgreSQL, similar to what you have in web apps.
What are some of modeuls/widgets I should be reading on to get adjacent to such working code. (apart from the SQL parts, which I know-ish)
Also, if there are cool blogs apart from the official doc, Id appreciate it ver much.
Regards,
Ardie
https://redd.it/1nmi9vx
@qt_reddit
Hi there,
Im a noob to C++ QT, recently made a web app with Python, and decided to learn C++ so I have some street cred to join discussions when joining discussions on criticizing or complimenting OOP.
I got some basics down, I got a workflow and decent understanding going on.
I want a substantial project (inspired by some conferences Ive watched about having something substantial when a language/paradigm, so I decided to simply copy the amount of data I had for that project to make crud app.
I want a real time search and filter for table displaying data from an external PostgreSQL, similar to what you have in web apps.
What are some of modeuls/widgets I should be reading on to get adjacent to such working code. (apart from the SQL parts, which I know-ish)
Also, if there are cool blogs apart from the official doc, Id appreciate it ver much.
Regards,
Ardie
https://redd.it/1nmi9vx
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Can I build a websocket client to be compiled in webassembly with qt websocket?
I was playing to do some web development in C++ with Boos libraries and did a websocket client with GUI (ImGui) taking the examples from the beast library but looks like the code used for the client cannot be compile for webassembly so I would like to know if I can build a websocket client with the corresponding qt module and compile it to web assembly
https://redd.it/1nngq3a
@qt_reddit
I was playing to do some web development in C++ with Boos libraries and did a websocket client with GUI (ImGui) taking the examples from the beast library but looks like the code used for the client cannot be compile for webassembly so I would like to know if I can build a websocket client with the corresponding qt module and compile it to web assembly
https://redd.it/1nngq3a
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
Can I build a web app in C++ with qt specific modules?
I was reading and looking in qt's docs and there is a lot of modules about networking and I saw something about simple http servers but looks like is not suitable to create an actual web app like let's say a facebook clone or do I miss something, I know I can create a simple clone of something like facebook with a simple Rest API with qt but there is a chance to build a real world scalable web app with qt? And if you ask why I want to do it this in C++, I mean why not? I love to use C++ even with his problems and I want to see what I could build and see the limitations
https://redd.it/1nob6l2
@qt_reddit
I was reading and looking in qt's docs and there is a lot of modules about networking and I saw something about simple http servers but looks like is not suitable to create an actual web app like let's say a facebook clone or do I miss something, I know I can create a simple clone of something like facebook with a simple Rest API with qt but there is a chance to build a real world scalable web app with qt? And if you ask why I want to do it this in C++, I mean why not? I love to use C++ even with his problems and I want to see what I could build and see the limitations
https://redd.it/1nob6l2
@qt_reddit
Reddit
From the QtFramework community on Reddit
Explore this post and more from the QtFramework community
