Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
why am I getting this "qDebug (QString) error ?
See the title
KroMignon last edited by
@AnneRanch Because the right way to do is
qDebug() << line;
goloviznin.k last edited by
Hey, maybe you mean qDebug() << line ?
As always - if you want to use a function you must include the header which defines it.
Al always you cannot post without putting a person down
Would somebody else kindly EXPLAIN why the qDebug(" " ) ; worked but
qFebug() << did not.
qDebug(" START int Form:: RunProcess_Asynch(QString Command, QStringList args )");
Because qDebug() is a class which is defined in <QDebug> and qDebug(const char*) is a function defined in <QtGlobal>. So when you do not include the correct header, the compiler will not find the function/class - what's wrong with this statement here? Even the compiler tells you that the type is unknown to him but you kindly ignored the warning.