How to use signal from QPushButton to Main.cpp
Unsolved
General and Desktop
-
Hello,
I was taking a look at the QPushButton and the SignalSlots that Qt had provided in the documentation. However, I am trying to pass in information from my Widget class (static variables) into my main method through a signal. How could I do this?
Thank you.
-
@Nocturnal said in How to use signal from QPushButton to Main.cpp:
static variables
What do you mean with this?
Signal/slots need objects. See the documentation.