qDebug()<< bug
Unsolved
General and Desktop
-
I have a problem, when I run the program by pressing ctrl+r with the help of qdebug()<<var; I see that my variable has trash in it(-12321+e smth like this), but when I run the program again in the debug mode it shows that the variable has the value which I need and the qdDbug()<<var; shows the value which I want. What can cause such situation???
-
Hi,
Did you initialize
var
? How did you set the value which you want?