Use ifstream and qDebug
Unsolved
General and Desktop
-
Hello,
I had to use ifstream and qDebug() in a QT program. I notice that in debug mode there is error generate when ue ifstream in Qt program. I saw on post that the solution to avoid that is not to use ifstream.
I had to ue ifstream because it is used in a library I use.
Is there a way to use ifstream and qDebug() at the same time?
-
In fact I generated a library which use ifstream and cout. Then I use that library in Qt project.
In windows, when I use that library (debug or release version) in my project in debug mode the ifstream read strange stuff. In release mode it works properly.