Questions tagged [qt]
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.
86,259
questions
-3
votes
0
answers
98
views
Why doesn't the database work only for one table?
In this part of the code, It is supposed to show a form that is supposed to work as a registry form or an edit form.
in the edit form, It shows the correct data from both tables the first time you ...
0
votes
0
answers
11
views
disable ssl_client_socket_impl.cc(975)] handshake failed errors in QWebEngineView
For this little example ,
from PySide6 import QtCore, QtWidgets, QtWebEngineWidgets
# or
# from PySide2 import QtCore, QtWidgets, QtWebEngineWidgets
class BetterWebView(QtWebEngineWidgets....
-1
votes
0
answers
25
views
How to read/write whole drive in Qt?
I'm looking for a Qt class to handle whole drive like the following Windows APIs:
HANDLE hd=CreateFile("\\\\.\\C:",GENERIC_READ,...);
...
ReadFile(hd,...);
WriteFile(hd,...);
QFile seems to ...
-1
votes
0
answers
35
views
PyQt Application Freezes When Creating GUI Elements [duplicate]
I'm trying to create multiple GUI elements to show the transcript of a video, the issue is that it freezes when creating the GUI as it creates all the GUI such as, QTextEdit, QLineEdit, QPushButtons ...
0
votes
0
answers
33
views
sfml widget with transparent background in Qt
I am using the QSFML repo to use sfml 2.x inside a Qt 6.x widget.
I cound not find a way to make the sfml background transparent to see classic qt widgets behind the sfml widget (whatever I try the ...
0
votes
0
answers
30
views
make fails on a system without Qt
I made a modification to my project to recognize whether I'm building against GTK or Qt. I can build my project on the system where Qt is installed, but if there is no Qt it fails with:
g++: warning: @...
-4
votes
0
answers
51
views
Where can I see the system tray icon on MacOS? [closed]
I have created using system tray icon class in Qt C++ SDK.
But I couldn't see on the MacOS System and haven't seen any system tray icon on MacOS until now.
I would like to know if anyone can help me ...
0
votes
1
answer
36
views
How To use QSqlQuery::bindValue [closed]
I have this snippet :
int id = m_AddItemCandidate->getId();
QString s = "INSERT INTO studied_substantives (subst_id, no_singular, no_plural, meaning) ";
s = s + "VALUES(:id,...
0
votes
0
answers
41
views
shiboken6: constexpr variable must be initialized by a constant expression
I am trying to build some python wrappers using shiboken6 and Pyside6. I have managed to get the code compiling on a single machine, but now that I migrated the code to a build server, I am getting a ...
-3
votes
0
answers
32
views
QComboBox stylesheet under Linux
I am developing a Qt application for Linux and Windows.
QComboBoxes should be modified so that when collapsed, the characters are white and the background is dark gray. If I open it, the background in ...
0
votes
0
answers
25
views
Qt/QML - Getting *qml* stack trace from Non UI thread is always crashing
In a certain QML app there is a problem that sometimes QML scripts hang UI thread for very long times, like 20+ seconds of UI thread not processing any incoming events from any source. In rare cases ...
0
votes
0
answers
24
views
Subdirectories traversing and creation performance [closed]
I am currently working on a software (not designed by me) that creates a file inside a specific, very deep, directory tree.
Let's say that the file name is 00112233445566778899.txt
The program creates ...
0
votes
0
answers
20
views
How to read a 'CompactSVMModel' save in a .mat file from a C++/Qt program
I tried to save a machine learning model into a .mat file, and then read it from a Qt/C++ application.
Following the documentation, I managed to read files containing basic types like double or int.
...
0
votes
1
answer
45
views
DateTime .lastModified() is empty [closed]
I have a app which displays the Date & Time of a file and the filepath in a QTableView. I use the following code to get the Date & Time of a file and display the path and Date & Time.
The ...
-1
votes
0
answers
26
views
Qt custom virtual keyboard [closed]
The script works incorrectly with modal windows (exec()) because of focus loss or interruptions in the keyboard script. The keyboard logic is divided into two scripts: a focusLogic script and the ...