QHBoxLayout not showing all the widgets
I´ m trying to code a simple chess stopwatch in Qt (2 buttons with a stopwatch on each, pressing one button activate the stopwatch of the other). I´ m using QHBoxLayout
in order to have the 2 grouped together, this are the files so far
QT socket/signal issue – No matching function for call to ‘connect’
Trying to connect a signal so that when a login is validated in the main window class, a signal is inherited into a derived shape class to draw a line in a QEvent loop. However, the connect function is giving an error. No matching function for call to ‘connect’.
Qt HoverEnter event only works when the widget is clicked
I am trying to change the icon of a QPushButton at the hover event.
The issue is Qt HoverEnter event only works when the widget is clicked.
This code work with my config : https://gist.github.com/peteristhegreat/d6564cd0992351f98aa94f869be36f77
(from How do I implement QHoverEvent in Qt?)
So I don’t get why it doesn’t work in my case, maybe I’m missing a event propagation flag between my QGraphicsScene and my QPushButton.
It is confusing because I already succesfully made a code to handle QEvent::HoverEnter but for a scrollarea.
compiling my qt project with qmake (via QT Creator) does not recompile my static libraries when changed
I am making a game c++ project with QT. As it grew, I wanted to split it into multiple static libraries.
Now I have a bunch of *.pro files and one subdirs .pro file to connect them.
How to draw on an image using QImage?
I need to paint staright lines on a image in a widget in .ui file, but when i click it disappers. If you need more info, i can provide you with that. Could you help with that, please? Here is the code on pastebin: [Google Disk] https://drive.google.com/file/d/1RexMW3MkNvvNDZzE0qdA5EM2v6bAHepO/view?usp=sharing
Error file installing qt 5.15 from qt online installer 4.7.0. Installer says file not found
I am trying to install qt 5.15 from qt online installer but the installer works fine for 99% but in the last bit where it is downloading ninja it just give the following error. I tried changing the mirrors that also did not work. Is there any solution for it? It seams as if they have removed the ninja file from their repos
Qt gif is not valid
I created a .gif file https://drive.google.com/file/d/18wHorsxHpfXZc2xm-iEuMG4McsOT-f85/view?usp=sharing
Why did I fail to compress files using the library?
I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this.Thanks in advance.I am using miniz library, want to compress several files into a compression package, but has been prompted file compression failure, do not know whether my parameter Settings are wrong, the following is my code
QT calls getOpenFileName but the operating system error occurs?
currently I use QT .I call QFileDialog::getOpenFileName,but I can’t get the path of file.after I try to change the code to GB2312 buf I still cant get Chinese Path;And every call the function the out window show a lot of Garbled.Here is the code and picture
QLineEdit text not returning text when inquired in the receiver function
Using QtNode I am trying to build a graph application, one part of it is a vector node: