代码如下:
#include <QtCore>
#include <QCoreApplication>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
return a.exec();
}
出错信息如下:
mingw32-make debug
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/wp_Cpp/HelloQt'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'../../Qt/4.4.0/include/QtCore' -I'../../Qt/4.4.0/include/QtCore' -I'../../Qt/4.4.0/include/QtGui' -I'../../Qt/4.4.0/include/QtGui' -I'../../Qt/4.4.0/include' -I'c:/Qt/4.4.0/include/ActiveQt' -I'debug' -I'.' -I'../../Qt/4.4.0/mkspecs/win32-g++' -o debug/main.o main.cpp
In file included from ../../Qt/4.4.0/include/QtCore/qglobal.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qchar.h:47,
from ../../Qt/4.4.0/include/QtCore/qchar.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:47,
from ../../Qt/4.4.0/include/QtCore/qstring.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:47,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:47:20: stddef.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qglobal.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qchar.h:47,
from ../../Qt/4.4.0/include/QtCore/qchar.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:47,
from ../../Qt/4.4.0/include/QtCore/qstring.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:47,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1850: error: variable `qMalloc' definition is marked dllimport.
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1850: error: `size_t' was not declared in this scope
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1852: error: `size_t' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1852: error: ISO C++ forbids declaration of `size' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1853: error: `size_t' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1853: error: ISO C++ forbids declaration of `n' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1854: error: `size_t' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/global/qglobal.h:1854: error: ISO C++ forbids declaration of `n' with no type
In file included from ../../Qt/4.4.0/include/QtCore/qbytearray.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:48,
from ../../Qt/4.4.0/include/QtCore/qstring.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:47,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:50:20: string.h: No such file or directory
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:51:20: stdarg.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qbytearray.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:48,
from ../../Qt/4.4.0/include/QtCore/qstring.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:47,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h: In function `uint qstrlen(const char*)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:70: error: `strlen' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:70: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h: In function `int qstrncmp(const char*, const char*, uint)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:93: error: `strncmp' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:100: error: `size_t' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:100: error: `va_list' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:100: error: ISO C++ forbids declaration of `n' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:100: error: ISO C++ forbids declaration of `ap' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:101: error: `size_t' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:101: error: ISO C++ forbids declaration of `n' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h: In function `bool operator==(const QByteArray&, const QByteArray&)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qbytearray.h:495: error: `memcmp' undeclared (first use this function)
In file included from ../../Qt/4.4.0/include/QtCore/qstring.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:47,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:62:22: string: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qstring.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:47,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:67: error: expected init-declarator before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:67: error: expected `,' or `;' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:177: error: `va_list' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:177: error: ISO C++ forbids declaration of `ap' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:456: error: expected unqualified-id before '&' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:456: error: expected `,' or `...' before '&' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:456: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:457: error: ISO C++ forbids declaration of `string' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:457: error: invalid use of `::'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:457: error: `string' declared as an `inline' field
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:457: error: expected `;' before "toStdString"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:463: error: expected `,' or `...' before '&' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:463: error: ISO C++ forbids declaration of `QStdWString' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:464: error: `QStdWString' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:991: error: expected init-declarator before "QString"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:991: error: expected `,' or `;' before "QString"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:994: error: expected unqualified-id before '&' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:994: error: expected `,' or `...' before '&' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:995: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h: In static member function `static QString QString::fromStdString(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:995: error: `s' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:998: error: `QStdWString' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:1012: error: expected `,' or `...' before '&' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:1013: error: ISO C++ forbids declaration of `QStdWString' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h: In static member function `static QString QString::fromStdWString(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstring.h:1013: error: `s' undeclared (first use this function)
In file included from ../../Qt/4.4.0/include/QtCore/qlist.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:48,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:52:20: iterator: No such file or directory
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:53:16: list: No such file or directory
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:56:15: new: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qlist.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/codecs/qtextcodec.h:48,
from ../../Qt/4.4.0/include/QtCore/qtextcodec.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:1,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:156: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:203: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:279: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:313: error: expected unqualified-id before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:313: error: expected `,' or `...' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:314: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:315: error: ISO C++ forbids declaration of `list' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:315: error: invalid use of `::'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:315: error: `list' declared as an `inline' field
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:315: error: expected `;' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:319: error: expected `;' before "private"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h: In static member function `static QList<T> QList<T>::fromStdList(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:314: error: `list' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:314: error: `back_inserter' is not a member of `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:314: error: no matching function for call to `qCopy(<type error>, <type error>, <type error>)'
In file included from ../../Qt/4.4.0/include/QtCore/qtconcurrentexception.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:52,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentexception.h:54:23: exception: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qtconcurrentexception.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:52,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentexception.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentexception.h:68: error: expected class-name before '{' token
In file included from ../../Qt/4.4.0/include/QtCore/qmap.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:52:15: map: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qmap.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:157: error: no class template named `map' in `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:157: error: expected `,' or `...' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:157: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:158: error: using-declaration for non-member at class scope
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:158: error: expected `;' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:202: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:270: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:373: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:879: error: expected unqualified-id before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:879: error: expected `,' or `...' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:880: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h: In constructor `QMap<Key, T>::QMap(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: no class template named `map' in `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: no class template named `map' in `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: expected `(' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: expected primary-expression before ',' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: expected primary-expression before '>' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: `::const_iterator' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:883: error: expected `;' before "it"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:884: error: `it' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:884: error: `other' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:892: error: expected constructor, destructor, or type conversion before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qmap.h:892: error: expected `;' before '<' token
In file included from ../../Qt/4.4.0/include/QtCore/qhash.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdebug.h:48,
from ../../Qt/4.4.0/include/QtCore/qdebug.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:52,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qhash.h:319: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qhash.h:384: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qhash.h:468: error: `ptrdiff_t' does not name a type
In file included from ../../Qt/4.4.0/include/QtCore/qtextstream.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdebug.h:52,
from ../../Qt/4.4.0/include/QtCore/qdebug.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:52,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qtextstream.h:57:19: stdio.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qtextstream.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdebug.h:52,
from ../../Qt/4.4.0/include/QtCore/qdebug.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:52,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qtextstream.h:105: error: expected `)' before '*' token
In file included from ../../Qt/4.4.0/include/QtCore/qvector.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdebug.h:54,
from ../../Qt/4.4.0/include/QtCore/qdebug.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:52,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:54:18: vector: No such file or directory
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:56:20: stdlib.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qvector.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdebug.h:54,
from ../../Qt/4.4.0/include/QtCore/qdebug.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:52,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:255: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:289: error: expected unqualified-id before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:289: error: expected `,' or `...' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:290: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:291: error: ISO C++ forbids declaration of `vector' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:291: error: invalid use of `::'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:291: error: `vector' declared as an `inline' field
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:291: error: expected `;' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:295: error: expected `;' before "private"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h: In static member function `static QVector<T> QVector<T>::fromStdVector(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:290: error: `vector' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:290: error: `back_inserter' is not a member of `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvector.h:290: error: no matching function for call to `qCopy(<type error>, <type error>, <type error>)'
In file included from ../../Qt/4.4.0/include/QtCore/qset.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdebug.h:55,
from ../../Qt/4.4.0/include/QtCore/qdebug.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentresultstore.h:52,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentresultstore.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfutureinterface.h:53,
from ../../Qt/4.4.0/include/QtCore/qfutureinterface.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:51,
from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qset.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qset.h:100: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qset.h:135: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qset.h:191: error: `ptrdiff_t' does not name a type
In file included from ../../Qt/4.4.0/include/QtCore/qfuture.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:3,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qfuture.h:116: error: `ptrdiff_t' does not name a type
In file included from ../../Qt/4.4.0/include/QtCore/qthread.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qthreadpool.h:49,
from ../../Qt/4.4.0/include/QtCore/qthreadpool.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentthreadengine.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentthreadengine.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:53,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentiteratekernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilterkernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilter.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:10,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/thread/qthread.h:49:20: limits.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qthread.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qthreadpool.h:49,
from ../../Qt/4.4.0/include/QtCore/qthreadpool.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentthreadengine.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentthreadengine.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:53,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentiteratekernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilterkernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilter.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:10,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/thread/qthread.h:103: error: `ULONG_MAX' was not declared in this scope
In file included from ../../Qt/4.4.0/include/QtCore/qwaitcondition.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentthreadengine.h:55,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentthreadengine.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:53,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentiteratekernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilterkernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilter.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:10,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/thread/qwaitcondition.h:69: error: `ULONG_MAX' was not declared in this scope
../../Qt/4.4.0/include/QtCore/../../src/corelib/thread/qwaitcondition.h:70: error: `ULONG_MAX' was not declared in this scope
In file included from ../../Qt/4.4.0/include/QtCore/qtconcurrentiteratekernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilterkernel.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilterkernel.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentfilter.h:51,
from ../../Qt/4.4.0/include/QtCore/qtconcurrentfilter.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:10,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h: In function `bool QtConcurrent::selectIteration(std::bidirectional_iterator_tag)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:144: error: `<anonymous>' has incomplete type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qiterator.h:52: error: forward declaration of `struct std::bidirectional_iterator_tag'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:148: error: `QtConcurrent::selectIteration' declared as an `inline' variable
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:148: error: `bool QtConcurrent::selectIteration' redeclared as different kind of symbol
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:144: error: previous declaration of `bool QtConcurrent::selectIteration(std::bidirectional_iterator_tag)'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:148: error: declaration of `bool QtConcurrent::selectIteration'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:144: error: conflicts with previous declaration `bool QtConcurrent::selectIteration(std::bidirectional_iterator_tag)'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:148: error: `forward_iterator_tag' is not a member of `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:149: error: expected `,' or `;' before '{' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h: In function `bool QtConcurrent::selectIteration(std::random_access_iterator_tag)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:154: error: `<anonymous>' has incomplete type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qiterator.h:53: error: forward declaration of `struct std::random_access_iterator_tag'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h: In constructor `QtConcurrent::IterateKernel<Iterator, T>::IterateKernel(Iterator, Iterator)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:167: error: no class template named `iterator_traits' in `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:167: error: expected `(' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:167: error: expected primary-expression before '>' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:167: error: `::iterator_category' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:167: error: no matching function for call to `selectIteration(<type error>)'
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:144: note: candidates are: bool QtConcurrent::selectIteration(std::bidirectional_iterator_tag)
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:154: note: bool QtConcurrent::selectIteration(std::random_access_iterator_tag)
../../Qt/4.4.0/include/QtCore/../../src/corelib/concurrent/qtconcurrentiteratekernel.h:173: error: `distance' is not a member of `std'
In file included from ../../Qt/4.4.0/include/QtCore/qfile.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qfileinfo.h:47,
from ../../Qt/4.4.0/include/QtCore/qfileinfo.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qdir.h:48,
from ../../Qt/4.4.0/include/QtCore/qdir.h:1,
from ../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qabstractfileengine.h:47,
from ../../Qt/4.4.0/include/QtCore/qabstractfileengine.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:30,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qfile.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qfile.h:148: error: expected `;' before '(' token
In file included from ../../Qt/4.4.0/include/QtCore/qfsfileengine.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:39,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qfsfileengine.h:68: error: `FILE' has not been declared
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qfsfileengine.h:68: error: ISO C++ forbids declaration of `fh' with no type
In file included from ../../Qt/4.4.0/include/QtCore/qsettings.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:43,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/io/qsettings.h:63:19: ctype.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qmath.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:53,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:47:18: math.h: No such file or directory
In file included from ../../Qt/4.4.0/include/QtCore/qmath.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:53,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `int qCeil(qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:64: error: `ceil' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `int qFloor(qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:74: error: `floor' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `qreal qSin(qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:84: error: `sin' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `qreal qCos(qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:94: error: `cos' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `qreal qSqrt(qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:104: error: `sqrt' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `qreal qLn(qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:114: error: `log' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h: In function `qreal qPow(qreal, qreal)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/kernel/qmath.h:124: error: `pow' undeclared (first use this function)
In file included from ../../Qt/4.4.0/include/QtCore/qlinkedlist.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:93,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h: At global scope:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:118: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:151: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:215: error: `ptrdiff_t' does not name a type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:218: error: expected unqualified-id before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:218: error: expected `,' or `...' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:219: error: ISO C++ forbids declaration of `parameter' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:220: error: ISO C++ forbids declaration of `list' with no type
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:220: error: invalid use of `::'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:220: error: `list' declared as an `inline' field
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:220: error: expected `;' before '<' token
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:240: error: expected `;' before "QLinkedList"
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h: In static member function `static QLinkedList<T> QLinkedList<T>::fromStdList(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:219: error: `list' undeclared (first use this function)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:219: error: `back_inserter' is not a member of `std'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlinkedlist.h:219: error: no matching function for call to `qCopy(<type error>, <type error>, <type error>)'
In file included from ../../Qt/4.4.0/include/QtCore/qvarlengtharray.h:1,
from ../../Qt/4.4.0/include/QtCore/QtCore:111,
from main.cpp:31:
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvarlengtharray.h: In constructor `QVarLengthArray<T, Prealloc>::QVarLengthArray(int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvarlengtharray.h:140: error: `qMalloc' cannot be used as a function
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvarlengtharray.h: In member function `void QVarLengthArray<T, Prealloc>::realloc(int, int)':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qvarlengtharray.h:194: error: `qMalloc' cannot be used as a function
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h: In member function `void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = QString]':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:424: instantiated from `void QList<T>::append(const T&) [with T = QString]'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstringlist.h:72: instantiated from here
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:339: error: no matching function for call to `operator new(unsigned int, QList<QString>::Node*&)'
<internal>:0: note: candidates are: void* operator new(unsigned int)
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h: In member function `void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = QString]':
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:616: instantiated from `QList<T>& QList<T>::operator+=(const QList<T>&) [with T = QString]'
mingw32-make[1]: Leaving directory `C:/wp_Cpp/HelloQt'
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qstringlist.h:86: instantiated from here
../../Qt/4.4.0/include/QtCore/../../src/corelib/tools/qlist.h:358: error: no matching function for call to `operator new(unsigned int, QList<QString>::Node*)'
<internal>:0: note: candidates are: void* operator new(unsigned int)
mingw32-make[1]: *** [debug/main.o] Error 1
mingw32-make: *** [debug] Error 2