----------------
Qt is now configured for building. Just run mingw32-make.
To reconfigure, run mingw32-make confclean and configure.
+ C:/qt5/qtbase/bin/qmake C:/qt5/qt.pro
C:\qt5>mingw32-make
cd qtbase\ && mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/qt5/qtbase'
cd src\tools\bootstrap\ && mingw32-make -f Makefile
mingw32-make[2]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap'
mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory `C:/qt5/qtbase/src/tools/bootstrap'
g++
-c -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall
-DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT
-DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES
-DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL
-I"..\..\..\include" -I"..\..\..\include\QtCore"
-I"..\..\..\include\QtCore\5.0.0"
-I"..\..\..\include\QtCore\5.0.0\QtCore" -I"..\..\3rdparty\zlib"
-I"..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\qlatincodec.o
..\..\corelib\codecs\qlatincodec.cpp
cc1plus.exe: error: unrecognized command line option "-fno-keep-inline-dllexport
"
mingw32-make[3]: *** [tmp/obj/debug_shared/qlatincodec.o] Error 1
mingw32-make[3]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap'
mingw32-make[2]: *** [debug] Error 2
mingw32-make[2]: Leaving directory `C:/qt5/qtbase/src/tools/bootstrap'
mingw32-make[1]: *** [sub-tools-bootstrap-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/qt5/qtbase'
mingw32-make: *** [module-qtbase-make_default] Error 2
------------------------
immediately. Help?
_______________________________________________
Interest mailing list
Inte...@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
qt.pro seems broken.
You had better build qtbase first, then build other modules one by one.
Regards,
Debao
I'll let you know how it goes tomorrow. Man, I wish there was an EC2 instance for building Qt!
..\..\include/QtCore/../../src/corelib/tools/qrect.h:751: warning: 'QRectF QRectF::united(const QRectF&) const' redeclared without dllimport attribute after being referenced with dll linkage
Help?
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1159: error: class 'QHashedV8String' does not have any field named 'm_s
tring'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1159: error: 'const class QHashedV8String' has no member named 'm_strin
g'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: In member function 'QHashedV8String& QHashedV8String::operator=(const
QHashedV8String&)':
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1165: error: 'm_hash' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1165: error: 'const class QHashedV8String' has no member named 'm_hash'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1166: error: 'm_string' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1166: error: 'const class QHashedV8String' has no member named 'm_strin
g'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: In member function 'bool QHashedV8String::operator==(const QHashedV8St
ring&)':
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1172: error: 'm_hash' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1172: error: 'const class QHashedV8String' has no member named 'm_hash'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1172: error: 'const class QHashedV8String' has no member named 'm_hash'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1173: error: 'm_string' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1174: error: 'const class QHashedV8String' has no member named 'm_strin
g'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: In member function 'quint32 QHashedV8String::hash() const':
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1179: error: 'm_hash' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: In member function 'int QHashedV8String::length() const':
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1184: error: 'm_hash' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: In member function 'quint32 QHashedV8String::symbolId() const':
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1189: error: 'm_hash' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: At global scope:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1192: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1192: error: expected constructor, destructor, or type conversion befor
e '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h: In member function 'QString QHashedV8String::toString() const':
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1200: error: 'm_hash' was not declared in this scope
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/ftw/qhashedst
ring_p.h:1203: error: 'm_string' was not declared in this scope
In file included from ..\..\include\QtQml\5.0.0\QtQml/private/qqmlpropertycache_
p.h:1,
from qml\/qqmlinstruction_p.h:57,
from qml\qqmlinstruction.cpp:42:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h: At global scope:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h:286: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h:286: error: ISO C++ forbids declaration of 'Local' with no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h:286: error: expected ';' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h:307: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h:307: error: ISO C++ forbids declaration of 'Persistent' with no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/qqmlpropertyc
ache_p.h:307: error: expected ';' before '<' token
In file included from qml\/qqmlengine_p.h:58,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
qml\/qqmltypeloader_p.h:377: error: 'v8' has not been declared
qml\/qqmltypeloader_p.h:377: error: ISO C++ forbids declaration of 'Persistent'
with no type
qml\/qqmltypeloader_p.h:377: error: expected ';' before '<' token
qml\/qqmltypeloader_p.h:378: error: 'v8' has not been declared
qml\/qqmltypeloader_p.h:378: error: ISO C++ forbids declaration of 'Persistent'
with no type
qml\/qqmltypeloader_p.h:378: error: expected ';' before '<' token
In file included from qml\/qqmlvaluetype_p.h:57,
from qml\/qqmlengine_p.h:62,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
qml\/qqmlproperty_p.h:150: error: 'v8' has not been declared
qml\/qqmlproperty_p.h:150: error: expected ',' or '...' before '<' token
In file included from c:\qt5\qtbase\include/QtCore/qsize.h:1,
from c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qrect
.h:45,
from c:\qt5\qtbase\include/QtCore/qrect.h:1,
from qml\/qqmlvaluetype_p.h:61,
from qml\/qqmlengine_p.h:62,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qsize.h:144: warning: 'void
QSize::scale(const QSize&, Qt::AspectRatioMode)' redeclared without dllimport a
ttribute after being referenced with dll linkage
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qsize.h:309: warning: 'void
QSizeF::scale(const QSizeF&, Qt::AspectRatioMode)' redeclared without dllimport
attribute after being referenced with dll linkage
In file included from c:\qt5\qtbase\include/QtCore/qpoint.h:1,
from c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qrect
.h:46,
from c:\qt5\qtbase\include/QtCore/qrect.h:1,
from qml\/qqmlvaluetype_p.h:61,
from qml\/qqmlengine_p.h:62,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qpoint.h:281: warning: 'qre
al QPointF::x() const' redeclared without dllimport attribute after being refere
nced with dll linkage
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qpoint.h:286: warning: 'qre
al QPointF::y() const' redeclared without dllimport attribute after being refere
nced with dll linkage
In file included from c:\qt5\qtbase\include/QtCore/qrect.h:1,
from qml\/qqmlvaluetype_p.h:61,
from qml\/qqmlengine_p.h:62,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qrect.h:421: warning: 'QRec
t QRect::intersected(const QRect&) const' redeclared without dllimport attribute
after being referenced with dll linkage
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qrect.h:426: warning: 'QRec
t QRect::united(const QRect&) const' redeclared without dllimport attribute afte
r being referenced with dll linkage
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qrect.h:746: warning: 'QRec
tF QRectF::intersected(const QRectF&) const' redeclared without dllimport attrib
ute after being referenced with dll linkage
c:\qt5\qtbase\include/QtCore/../../src/corelib/tools/qrect.h:751: warning: 'QRec
tF QRectF::united(const QRectF&) const' redeclared without dllimport attribute a
fter being referenced with dll linkage
In file included from qml\/qqmlengine_p.h:64,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
qml\/qqmlcontext_p.h:162: error: 'v8' was not declared in this scope
qml\/qqmlcontext_p.h:162: error: template argument 1 is invalid
In file included from ..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src
/qml/qml/v8/qv8engine_p.h:68,
from ..\..\include\QtQml\5.0.0\QtQml/private/qv8engine_p.h:1,
from qml\/qqmlengine_p.h:83,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:106: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:106: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:106: error: 'QJSValuePrivate::QJSValuePrivate(QV8Engine*, int)' cannot be ove
rloaded
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:101: error: with 'QJSValuePrivate::QJSValuePrivate(QV8Engine*, int)'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:143: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:143: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:146: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:146: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:154: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:154: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:158: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:158: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:159: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:159: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:166: error: expected type-specifier before 'v8'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:167: error: expected type-specifier before 'v8'
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:168: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:168: error: ISO C++ forbids declaration of 'Handle' with no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:168: error: 'Handle' declared as an 'inline' field
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:168: error: expected ';' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:198: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:198: error: ISO C++ forbids declaration of 'Persistent' with no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:198: error: expected ';' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:204: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalue_p
.h:204: error: expected ',' or '...' before '<' token
In file included from ..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src
/qml/qml/v8/qv8engine_p.h:69,
from ..\..\include\QtQml\5.0.0\QtQml/private/qv8engine_p.h:1,
from qml\/qqmlengine_p.h:83,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalueit
erator_p.h:76: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalueit
erator_p.h:76: error: ISO C++ forbids declaration of 'Persistent' with no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qjsvalueit
erator_p.h:76: error: expected ';' before '<' token
In file included from ..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src
/qml/qml/v8/qv8engine_p.h:70,
from ..\..\include\QtQml\5.0.0\QtQml/private/qv8engine_p.h:1,
from qml\/qqmlengine_p.h:83,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:71: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:71: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:74: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:74: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:75: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:75: error: ISO C++ forbids declaration of 'Local' with no
type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:75: error: 'Local' declared as an 'inline' field
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:75: error: expected ';' before '<' token
In file included from ..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src
/qml/qml/v8/qv8engine_p.h:70,
from ..\..\include\QtQml\5.0.0\QtQml/private/qv8engine_p.h:1,
from qml\/qqmlengine_p.h:83,
from qml\/qqmlcompiler_p.h:61,
from qml\qqmlinstruction.cpp:44:
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:76: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:76: error: expected ',' or '...' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:81: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:81: error: ISO C++ forbids declaration of 'Persistent' wit
h no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:81: error: expected ';' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:82: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:82: error: ISO C++ forbids declaration of 'Persistent' wit
h no type
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:82: error: expected ';' before '<' token
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:85: error: variable or field 'init' declared void
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:85: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:85: error: 'v8' has not been declared
..\..\include\QtQml\5.0.0\QtQml/private/../../../../../src/qml/qml/v8/qscriptori
ginalglobalobject_p.h:85: error: 'context' was not declared in this scope
mingw32-make[4]: *** [debug/qqmlinstruction.o] Error 1
mingw32-make[4]: Leaving directory `C:/qt5/qtdeclarative/src/qml'
mingw32-make[3]: *** [debug-all] Error 2
mingw32-make[3]: Leaving directory `C:/qt5/qtdeclarative/src/qml'
mingw32-make[2]: *** [sub-qml-make_default-ordered] Error 2
mingw32-make[2]: Leaving directory `C:/qt5/qtdeclarative/src'
mingw32-make[1]: *** [module-qtdeclarative-src-make_default] Error 2
mingw32-make[1]: Leaving directory `C:/qt5/qtdeclarative'
mingw32-make: *** [module-qtdeclarative-make_default] Error 2
Could you try using MSVC instead?
Can anyone tell me how to build Qt on windows [successfully]?