PDA

View Full Version : Strange iostream problem when porting app to qt 5.3



mikea
29th August 2014, 04:21
I am using QCreator 3.1.2 on windows 7 when porting an old application to QT 5.3. After numerous changes I found on the internet, it now compiles and runs. But one class contains #include <iostream> which QCreator flages with "No such file or directory". However when I comment it out the statement "std::cout" contained in a method does not compile. It fails with the error "cout not in std". Put it back in and, even though QCreator can't find iostream, everythng works! I am concerned because it seems like something is configured incorrectly. I just recently installed Qt 5.3/QCreator 3.1.2 and, as far as I know, I am using only the libs and includes that came with Qt. If there is another minGW on my system, I don't know where it is.

mikea
4th September 2014, 02:55
After making other changes. This problem went away.

d_stranz
4th September 2014, 23:37
After making other changes. This problem went away.

And that doesn't make you worry a little bit about why it went away?