Code cleanup\n Replacement of std::cout by qDebug