Hello, I'm trying to figure out how to get outputs to show within my console app:

Qt Code:
  1. #include <QtCore/QCoreApplication>
  2. #include <QDebug>
  3.  
  4. char ConvertIntToChar(int iIntToConvert);
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8. QCoreApplication a(argc, argv);
  9.  
  10. return a.exec();
  11.  
  12. int nTimer = 123;
  13. qDebug() << nTimer;
  14. char cText = ConvertIntToChar(nTimer);
  15. qDebug() << cText;
  16. char *pcText = &cText;
  17. qDebug() << *pcText;
  18. }
  19.  
  20. char ConvertIntToChar(int iIntToConvert)
  21. {
  22. char cText[20];
  23. sprintf("%d", cText);
  24. return(*cText);
  25. }
To copy to clipboard, switch view to plain text mode 

My compile output suggests that the program enters my build-desktop folder and then says:

mingw32-make[1]: Nothing to be done for `first'.
Not sure what that means but I'm certainly not getting anything showing in my console!