QT 5.0 QDebug compilation error

前端 未结 3 2009
无人及你
无人及你 2021-01-11 15:58

I am having trouble compiling my code with QDebug, but i really need it.

#include 
#include 
int main(int argc, char          


        
3条回答
  •  生来不讨喜
    2021-01-11 16:21

    For version 5.15 of Qt following worked for me,

    add include file,

    #include 
    

    and use,

    qDebug() << "Your debug message.";
    

提交回复
热议问题