How to clone QJSEngine?
Reddit » QtFramework
by /u/Merssedes
2h ago
Given the instance of QJSEngine, how to create new instance with the same state of the global object? submitted by /u/Merssedes [visit reddit] [comments ..read more
Visit website
Does the Qt framework API cover all of the underlying OS API's facilities?
Reddit » QtFramework
by /u/Critical-Reason712
9h ago
Sorry if this comes off as a noob question. But I know that the Qt framework exposes a (cross platform) API for stuff like windowing, graphics (GPU), networking, threads, audio and the filesystem. That seems pretty much the whole gamut of the stuff that an OS's API provides. Does the Qt framework's API cover all the capabilities of it's target OS APIs? submitted by /u/Critical-Reason712 [visit reddit] [comments ..read more
Visit website
QGraphicsSvgItem clickable area help
Reddit » QtFramework
by /u/Haliitti
1d ago
I'm using PyQt6 if that matters. I'm very new to Qt and quite new to programming itself. I have multiple QGraphicsSvgItems (country borders) I wish to use as clickable objects. I have successfully defined the mousePressEvent so that clicking on the svg works as intended. However, the clickable area for each svg item seems to be their bounding box instead of the area inside the country border path. This leads to the clickable areas overlapping causing issues. Is it possible to have the clickable area for the svg items be only inside the path making up the country border? This is the map svg fi ..read more
Visit website
Visual Studio issue
Reddit » QtFramework
by /u/Ryyan121
1d ago
I have installed the QT design app and the extension for VS, but when I'm starting a project selecting QTCORE/GUI it works, as soon as I select Virtual Keyboard or some others it gives me a few errors. https://imgur.com/a/7mZEaXg submitted by /u/Ryyan121 [visit reddit] [comments ..read more
Visit website
Installing QT
Reddit » QtFramework
by /u/MJ12_2802
1d ago
The file I downloaded has a ".run" extension. How do I install that on my Linux laptop? submitted by /u/MJ12_2802 [visit reddit] [comments ..read more
Visit website
Troubles getting into Qt for my project
Reddit » QtFramework
by /u/GAlbeeert
2d ago
Hello everyone ! I am working on a Model Kit manager app in C++ and have gotten to a usable version of it with simply a terminal CLI, and now I want to make it more user-friendly with a GUI. The issue is that I am kind of having troubles learning Qt, there are lots of tutorials on the net, sure, but the ones I find are either too theoretical talking about in depth Qt technical aspects or either too practical using the Qt creator, that I don't think really adapted to my already existing repo. The way I want to design things looks a bit weird to do using Qt designer and I can't find a good tuto ..read more
Visit website
Creating a GUI with banner buttons at the top and a collapsible widget on the left side
Reddit » QtFramework
by /u/MediocreConcert500
2d ago
Creating a GUI with banner buttons at the top and a collapsible widget on the left side that is populated by the buttons in the banner and popped out over the central widget. I am wondering if anyone has suggestions on how to do it. I am new to QT Designer. I saw one post talking about using Push buttons for the top navigation but not sure if that'll work with the collapsible widget. submitted by /u/MediocreConcert500 [visit reddit] [comments ..read more
Visit website
The solution is to hit tab before it can suggest an autocomplete
Reddit » QtFramework
by /u/DesiOtaku
2d ago
submitted by /u/DesiOtaku [visit reddit] [comments ..read more
Visit website
Qt6 with OpenGL in docker
Reddit » QtFramework
by /u/marcinochman1993
2d ago
Hi! I am wondering if anyone could help me here. I have an application making use of QOpenGLWidget. When I run the app, i get such error inside docker container. failed to create drawable failed to create drawable If application is executed directly on my machine everything works correctly. It is worth noting that glxgears and other GUI applications perform well. I have tried both Qt6 (6.6.2) in cpp and PyQt6. They have the same issues. To reproduce the problem I figured out very simple python code: import sys from PyQt6.QtWidgets import QApplication, QLabel, QWidget from PyQt6.QtOpenGLWi ..read more
Visit website
Forcing to redraw image when source changes
Reddit » QtFramework
by /u/percipi123
3d ago
Hi, I want my qml app to update image when image is changed on computer during runtime. i tried changing cache to false, setting timer to change source to "" and then to new picture every second but still doesn't work. I am using Qt 6.4.3. Can somebody help? Code below: Image { id: img anchors.fill: parent cache: false onSourceChanged: { var temp = img.source img.source = "" img.source = imageSource } } Timer { id: timer interval: 1000 running: true repeat: true onTriggered: { var temp = imageSource img.source = "qrc:/images/schedule1.png" img.source = temp } } submitted by /u/percipi123 ..read more
Visit website

Follow Reddit » QtFramework on FeedSpot

Continue with Google
Continue with Apple
OR