[Interest] Can't compile Qt 5.0 RC with Mingw,

Joseph Crowell joseph.w.crowell at gmail.com
Thu Dec 6 02:38:48 CET 2012


On 6/12/2012 7:03 AM, Bruno Cabral wrote:
> Hi
> I followed the instructions on http://qt-project.org/wiki/MinGW-64-bit
> But but no matter what, I can't get Qt to compile.
> I already tried the mingw-32 and 64.
> Looks like an unicode error,
> I get the error :
> io\qprocess_win.cpp: In function 'void qt_create_pipe(void**, bool)':
> io\qprocess_win.cpp:85:58: error: invalid conversion from 'const wchar_t*'
> to 's
> ize_t {aka long long unsigned int}' [-fpermissive]
At first glance, this looks very wrong. I've also been noticing a lot of 
conversions from size_t to int which will result in data loss on some 
systems. Should be uint32 instead of int.

> In file included from
> c:\qt\mingw64-4.7.2\bin\../lib/gcc/x86_64-w64-mingw32/4.7.
> 2/include/c++/cstdio:44:0, from
> c:\qt\mingw64-4.7.2\bin\../lib/gcc/x86_64-w64-mingw32/4.7.
> 2/include/c++/random:39,
> Can anyone help me with this ?
>
> I suppose that the RC was a Release Candidate. Anyone got to compile with
> mingw ?
>
>
> Thanks
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list