Questions Tagged [Qt]
Ask Question Qt Is a Cross-Platform Application Development Framework Widely Used for the Development of Application Software That Can Be Run on Various...
Qt is a cross-platform application development framework widely used for the development of application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while having the power and speed of native applications. Qt is available with both commercial and open source licenses.
Must Read
82,558
questions
0
votes
1
answer
15
views
PyQt delaying function's computation without blocking main thread
I've inhereted a GUI code which is structured something like this:
any button signal triggers a slot, those slots then call an external process to receive information and wait until that process ...
0
votes
0
answers
29
views
Qt development without object-oriented programming [closed]
I develop an application with Qt and sometimes I wonder if I'm doing it correctly.
My program is quite linear, I press a button and I execute all the actions that follow to reach my goal.
But I'm ...
1
vote
1
answer
14
views
Why does Qt complain about invalid XML version in ui file
I'm trying to port an application from PyQt5 to PySide6 because it's the official bindings (for now I guess). I have a .ui file designed in Qt Designer. It loads fine using PyQt5 uic, but PySide6 ...
0
votes
0
answers
14
views
QML Checking for the cross of elements with different parents
I have many elements of the same type (Point.qml) at different nesting levels.
How can I check that some element (id: checker) cross one of these elements (Point)?
For Example:
// Point.qml
import ...
0
votes
0
answers
8
views
python: set matplotlib as a component on qml window with buttons
after a long time searching i did not find any solution to set matplot with toolbar on qml window as a component
i've tried load matplotlib on an image component like this: Python: matplotlib plot ...
0
votes
0
answers
9
views
Why is Qt is not linking nrf driver?
I have a Qt application (~1 year old) and I try to compile it with Qt 5.12.2 MinGW.
VERSION_MAJOR = 1
VERSION_MINOR = 0
VERSION_BUILD = 0
QT += core gui serialport
greaterThan(QT_MAJOR_VERSION,...
0
votes
0
answers
18
views
Can't get correct value with QSettings and custom type
I am trying to read a small struct from my ini file using QSettings. Writing works fine, but when I try to read it back I always get the default value out of QVariant.
This is the structure definition:...
-1
votes
0
answers
48
views
How to draw doted line map in Opengl C++ from Lat Long [closed]
I want to draw map boundary(red dash line) by reading (lat,log) from this file that i made from google earth that is space separated.
45.521282 56.506097
46.061904 58.982127
46.477755 61.11857
46....
-1
votes
0
answers
21
views
why does qt layout.count() starts counting from 3 and gives wrong no of allocations
This add widget dynamically places the QLineEdit widget and iam trying to generate 10 of such widgets, but only 7 are allocated instead of 10 widgets, and the layout.count() starts from 3 why is that ...
0
votes
0
answers
14
views
Disable widget stretching in QScrollArea layout
I am trying to disable the stretching of widgets in my QScrollArea's vertical layout.
I would like to have a scroll area which resizes it's contents horizontally to fit the scroll area's width (so ...
0
votes
0
answers
13
views
Mouse hover problem combining QLineSeries and QScatterSeries on a QChart (PySide6)
I am writing a small python module to visualize data on a chart using Qt (PySide6). My goal is to distinguish between mouse hovers on QLineSeries's lines and points. Since it does not seem to be ...
0
votes
0
answers
20
views
QML Pass mouse events to the created element by pressing press
I have an element that creates a new element by the onPressed event, the created element has its own MouseArea with the functions onPressed and onPositionChanged.
Now I have to press on the new ...
0
votes
0
answers
10
views
QT compilation error : QT for MCU Desktop
I have installed Visual stuido professional (16.9)
I am trying to compile QT for MCU Desktop app, getting this error :--
Is this CMAKE issue or compiler issue.
running C:\Qt\Tools\CMake_64\bin\cmake....
0
votes
1
answer
41
views
PyQt5 - Why my label is only showing the last line in my file?
I'm new in pyqt5 and I'm working on a gui that runs tasks from a txt file (each line is a task) i have a QLabel(txt_task_user) where i want to display line by line, and the QPushButton(user_f_b) that ...
0
votes
0
answers
21
views
How to scale down QGraphicsItem in Qt?
I have a QGraphicsItem made up of QGraphicsPathItem (polyline) and QGraphicsEllipseItem (an Arc )
Through co-ordinates of Line and an Arc I have drawn QGraphicsItem ( XNOR gate ) But the problem is, ...