Skip to content
Search

QDebug

lastmod 2014-08-29created 2014-08-293 edits

Simple example

  1. Add #include<qdebug>.
  2. qDebug() << "error message.... "; or qDebug("error");
  3. Add a setting to the project file: CONFIG += console 1

Favorite site

References


  1. Output works fine even without adding it. (Probably for older versions...) ↩