SOLVED convernt __LINE__ to text in qDebug
Solved
C++ Gurus
-
Somehow
lost the knowledge how to convert LINE (macro) to text so it can be used in qDebug.qDebug(LINE);
MY QUESTION IS
how to convert LINE so qDebug will work correctly ?
in pseudo code
qDebug((convert to text ) LINE);
PS LINE is missing double underscores !!!!__ LINE __
-
@AnneRanch
Dont useqDubug(...)
. UseqDebug() << __LINE__
. -
Thanks , I knew the solution was very simple. SOLVED