|
新手 发表于 2016-1-13 21:31
Qdebug 和 qdebug 他们有什么区别吗 就是大Q和小q 。。
QDebug是个类,qDebug是个全局函数。
官方解释:In the common case, it is useful to call the qDebug() function to obtain a default QDebug object to use for writing debugging information.
平时用 qDebug() << "Custom coordinate type:" << coordinate;这种形式,方便输出。 |
|