Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
28 views

Is there a Qt event for when a QLayout has finished redoing geometry?

I have a custom class which extends QWidget and installs a vertical box layout on itself, as well as child widgets which are added to said layout. In this sense, it is a composite widget. I have a ...
FuzzyCat444's user avatar
0 votes
1 answer
21 views

AppImage/Qt6 - QIcon::setFallbackSearchPaths not working

I am trying to deploy a Qt6 application, which bundles its own icons (this way on Windows/OSX I get consistent icons). As part of my build I deploy into $BIN/share/icons the content of the breeze ...
elcuco's user avatar
  • 9,120
0 votes
0 answers
27 views

Issues with QGraphicsPixmapItem handling Mouse Events in QGraphicsScene

I created an object: class Button : public QObject, public QGraphicsPixmapItem { Q_OBJECT next I implemented a few functions: Button::Button() : m_pressed(false) { m_buttonPixmap = ...
Bondrusiek's user avatar
1 vote
0 answers
39 views

QCombobox stops working after tap back navigation on android in Qt 6.4.2 C++

I have a problem with QComboBox on Android. When I open the drop down QListView menu of the QComboBox, and I hit the back on the navigation bar, the QComboBox correctly closed. But it's not working ...
Kaguro's user avatar
  • 77
0 votes
0 answers
24 views

Issue Qt QML TreeView (from Qt Quick Controls 1.4) with a textfield delegate cannot change value

I tried to edit a text directly in my TreeView (using a textfield delegate), but it doesn't work. It never enters the edit mode even with a bigger Z or a forced focus. If anyone ever tried to modify ...
kXuT's user avatar
  • 1
0 votes
0 answers
44 views

androiddeployqt vs linuxdeployqt [closed]

I installed qt on my (arch)linux PC with command: sudo pacman -Sy qt6 Now I want to create a release version so I need something like linuxdeployqt6 but I haven't got it! I try to search it through ...
Black Hat's user avatar
0 votes
0 answers
42 views

pointer to incomplete class type "QHeaderView" is not allowed

I have a QTableView and QStandardItemModel and I have got 3 columns. I want that one column adjust itself when I change the size of the main window. But I get following error: "pointer to ...
mallocFreestyle's user avatar
-1 votes
0 answers
39 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 ...
plank's user avatar
  • 231
0 votes
1 answer
37 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,...
Alain Bertrand's user avatar
0 votes
1 answer
57 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 ...
meetaig's user avatar
  • 915
0 votes
1 answer
46 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 ...
maxpovver's user avatar
  • 1,600
0 votes
0 answers
27 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. ...
mahNNUser's user avatar
0 votes
0 answers
50 views

Unexpected rounded corners in Qt Frameless Widget

Unexpected rounded corners in Qt Frameless Widget I use Qt and Windows API to create a window with a custom title bar, and I want this window to have some of the effects of a Windows window (maximize, ...
chaomi1998's user avatar
0 votes
0 answers
52 views

Font rendering issue in c++ applcation on WSL with Qt6

I'm developing a C++ application using Qt6 on WSL, using Ubuntu 22.04. This application prints braille characters to the screen when when clicking and dragging in the canvas. The problem is the ...
Leo Boeri's user avatar
-3 votes
0 answers
50 views

How to break from the Loop while listening from the Socket TCP connection in C++ QT form the different main thread [closed]

I have a main thread which starts the worker thread. This worker thread has a while(true) loop with a break statement and condition inside the loop. This worker thread listens to the Socket connection ...
TheUser's user avatar

15 30 50 per page
1
2 3 4 5
2941