[CMake] Call to QTextStream(stdin) crashes the program built by CMake and Visual Studio

2011-11-23 Thread Yegor Derevenets
Hi All, The following Qt program crashes with access violation when being built on Windows by Microsoft Visual Studio 2010 using cmake 2.8.6 and doesn't crash when being built using qmake: #include cstdio #include QTextStream int main(int argc, char *argv[]) { QTextStream qin(stdin,

Re: [CMake] Call to QTextStream(stdin) crashes the program built by CMake and Visual Studio

2011-11-23 Thread John Drescher
On Wed, Nov 23, 2011 at 8:53 AM, Yegor Derevenets yegor.dereven...@gmail.com wrote: Hi All, The following Qt program crashes with access violation when being built on Windows by Microsoft Visual Studio 2010 using cmake 2.8.6 and doesn't crash when being built using qmake: #include cstdio