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

Errors building Qt 4.8.6 Statically on Windows

$
0
0
I ran configure.exe -static -release -no-exceptions and then mingw32-make sub-src It worked away, happy out, for about 5 minutes until I got this error: In file included from ..\..\include/QtCore/qmetaobject.h:1:0,                  from ..\..\include\QtCore/private/../../../src/corelib/kernel/q object_p.h:64,                  from ..\..\include\QtCore/private/qobject_p.h:1,                  from ..\..\include\QtCore/private/../../../src/corelib/thread/q thread_p.h:63,                  from ..\..\include\QtCore/private/qthread_p.h:1,                  from global\qglobal.cpp:52: ..\..\include/QtCore/../../src/corelib/kernel/qmetaobject.h:67:19: error: macro "access" requires 2 arguments, but only 1 given ..\..\include/QtCore/../../src/corelib/kernel/qmetaobject.h:67:12: error: expect ed ';' at end of member declaration ..\..\include/QtCore/../../src/corelib/kernel/qmetaobject.h:67:21: error: declar ation does not declare anything [-fpermissive] Makefile.Release:8891: recipe for target 'tmp/obj/release_static/qglobal.o' fail ed mingw32-make[2]: *** [tmp/obj/release_static/qglobal.o] Error 1 mingw32-make[2]: Leaving directory 'C:/Coding/Qt-Static/src/corelib' Makefile:34: recipe for target 'release' failed mingw32-make[1]: *** [release] Error 2 mingw32-make[1]: Leaving directory 'C:/Coding/Qt-Static/src/corelib' Makefile:1377: recipe for target 'sub-corelib-sub_src_target_ordered' failed mingw32-make: *** [sub-corelib-sub_src_target_ordered] Error 2 Thanks in advance for any help

Viewing all articles
Browse latest Browse all 2113

Trending Articles