Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Building Qt 5 from source with MinGW - wrong headers being used

$
0
0
Hi, I’m trying to build Qt 5 from source for testing purposes using MinGW. However I have Visual Studio 6.0 still installed to maintain older projects. I set up my path as follows: PATH=C:\Perl\site\bin;C:\Perl\bin;C:\MinGW\bin In the qtbase folder I use the following command to configure the build configure.bat -developer-build -opensource -confirm-license -nomake demos -nomake examples -nomake tests -opengl desktop and then I run mingw32-make However I get the following error: mingw32-make[4]: *** [.obj/release_shared/qlatincodec.o] Error 1 mingw32-make[3]: *** [release] Error 2 mingw32-make[2]: *** [sub-tools-bootstrap-make_first] Error 2 mingw32-make[1]: *** [sub-tools-make_first] Error 2 mingw32-make: *** [sub-src-make_first] Error 2 and I get many errors similar to this: C:\Program Files (x86)\Microsoft Visual Studio\VC98\Include/xstring:86:28: error : '_Len' was not declared in this scope C:\Program Files (x86)\Microsoft Visual Studio\VC98\Include/xstring:87:15: error : '_Ptr' was not declared in this scope C:\Program Files (x86)\Microsoft Visual Studio\VC98\Include/xstring:88:11: error : there are no arguments to '_Eos' that depend on a template parameter, so a dec laration of '_Eos' must be available [-fpermissive] Now I assume that the configuration/build is somehow using the wrong headers and I was wondering what I can do to avoid this. Thanks!

Viewing all articles
Browse latest Browse all 2113

Trending Articles