Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27560

Error build qwmihelper_win.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 2
    • 5.0.0
    • None
    • Windows 7 64bit, mingw-w64 gcc-4.7.2
    • 966825806db0bc96418a41b13728f262de5e3237

    Description

      mingw32-make[4]: Entering directory 'C:/SDK/sources/qt5/qtsystems/src/systeminfo'
      mingw32-make[4]: warning: -jN forced in submake: disabling jobserver mode.
      mingw32-make[4]: Entering directory 'C:/SDK/sources/qt5/qtsystems/src/systeminfo'
      mingw32-make[4]: warning: -jN forced in submake: disabling jobserver mode.
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\qnetworkinfo_win.o qnetworkinfo_win.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\qwmihelper_win.o windows\qwmihelper_win.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\moc_qdeviceinfo.o debug\moc_qdeviceinfo.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"release" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o release\qnetworkinfo_win.o qnetworkinfo_win.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"release" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o release\qwmihelper_win.o windows\qwmihelper_win.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"release" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o release\moc_qdeviceinfo.o release\moc_qdeviceinfo.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"release" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o release\moc_qstorageinfo.o release\moc_qstorageinfo.cpp
      qnetworkinfo_win.cpp:862:19: warning: unused parameter 'mode' [-Wunused-parameter]
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\moc_qstorageinfo.o debug\moc_qstorageinfo.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"release" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o release\moc_qscreensaver.o release\moc_qscreensaver.cpp
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\moc_qscreensaver.o debug\moc_qscreensaver.cpp
      windows\qwmihelper_win.cpp:56:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:58:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:64:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:69:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:74:10: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'QVariant getWMIData()':
      windows\qwmihelper_win.cpp:78:9: error: 'm_wmiNamespace' was not declared in this scope
      windows\qwmihelper_win.cpp:78:38: error: 'm_className' was not declared in this scope
      windows\qwmihelper_win.cpp:78:64: error: 'm_classProperties' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:84:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void initializeWMI(const QString&)':
      windows\qwmihelper_win.cpp:86:9: error: 'initialized' was not declared in this scope
      windows\qwmihelper_win.cpp:87:9: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:90:5: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:108:5: error: 'wbemServices' was not declared in this scope
      windows\qwmihelper_win.cpp:124:5: error: 'initialized' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:127:10: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'QVariant getWMIData(const QString&, const QString&, const QStringList&)':
      windows\qwmihelper_win.cpp:133:7: error: 'wbemEnumerator' was not declared in this scope
      windows\qwmihelper_win.cpp:135:10: error: 'm_conditional' was not declared in this scope
      windows\qwmihelper_win.cpp:141:54: error: 'm_conditional' was not declared in this scope
      windows\qwmihelper_win.cpp:147:12: error: 'wbemServices' was not declared in this scope
      windows\qwmihelper_win.cpp:152:9: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:159:5: error: 'wbemCLassObject' was not declared in this scope
      windows\qwmihelper_win.cpp:162:5: error: 'wmiVariantList' was not declared in this scope
      windows\qwmihelper_win.cpp:173:71: error: 'msVariantToQVariant' was not declared in this scope
      windows\qwmihelper_win.cpp:184:5: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:189:10: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp:235:8: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setWmiNamespace(const QString&)':
      windows\qwmihelper_win.cpp:237:4: error: 'm_wmiNamespace' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:240:9: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setClassName(const QString&)':
      windows\qwmihelper_win.cpp:242:4: error: 'm_className' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:245:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setClassProperty(const QStringList&)':
      windows\qwmihelper_win.cpp:247:4: error: 'm_classProperties' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:250:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setConditional(const QString&)':
      windows\qwmihelper_win.cpp:252:4: error: 'm_conditional' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:255:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setupNotfication(const QString&, const QString&, const QStringList&)':
      windows\qwmihelper_win.cpp:281:6: error: 'EventSink' was not declared in this scope
      windows\qwmihelper_win.cpp:281:17: error: 'pSink' was not declared in this scope
      windows\qwmihelper_win.cpp:281:29: error: expected type-specifier before 'EventSink'
      windows\qwmihelper_win.cpp:281:29: error: expected ';' before 'EventSink'
      windows\qwmihelper_win.cpp:301:13: error: 'wbemServices' was not declared in this scope
      windows\qwmihelper_win.cpp:310:35: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'HRESULT

      {aka long int}' [-Wformat]
      windows\qwmihelper_win.cpp:311:10: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:312:10: error: 'wbemEnumerator' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:322:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void emitNotificationArrived()':
      windows\qwmihelper_win.cpp:324:33: error: 'wminotificationArrived' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:327:7: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'ULONG AddRef()':
      windows\qwmihelper_win.cpp:329:34: error: 'm_lRef' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:332:7: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'ULONG Release()':
      windows\qwmihelper_win.cpp:334:39: error: 'm_lRef' was not declared in this scope
      windows\qwmihelper_win.cpp:336:16: error: invalid use of 'this' in non-member function
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:340:9: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'HRESULT QueryInterface(const IID&, void**)':
      windows\qwmihelper_win.cpp:345:36: error: invalid use of 'this' in non-member function
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:353:9: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'HRESULT Indicate(long int, IWbemClassObject**)':
      windows\qwmihelper_win.cpp:357:9: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:411:9: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'HRESULT SetStatus(LONG, HRESULT, BSTR, IWbemClassObject*)':
      windows\qwmihelper_win.cpp:418:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'HRESULT {aka long int}

      ' [-Wformat]
      In file included from windows\qwmihelper_win.cpp:426:0:
      release/moc_qwmihelper_win_p.cpp: At global scope:
      release/moc_qwmihelper_win_p.cpp:63:6: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp: In function 'void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
      release/moc_qwmihelper_win_p.cpp:67:9: error: 'WMIHelper' was not declared in this scope
      release/moc_qwmihelper_win_p.cpp:67:20: error: '_t' was not declared in this scope
      release/moc_qwmihelper_win_p.cpp:67:37: error: expected type-specifier before 'WMIHelper'
      release/moc_qwmihelper_win_p.cpp:67:37: error: expected '>' before 'WMIHelper'
      release/moc_qwmihelper_win_p.cpp:67:37: error: expected '(' before 'WMIHelper'
      release/moc_qwmihelper_win_p.cpp:67:48: error: expected primary-expression before '>' token
      release/moc_qwmihelper_win_p.cpp:67:53: error: expected ')' before ';' token
      release/moc_qwmihelper_win_p.cpp:76:27: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp:76:38: error: expected unqualified-id before '*' token
      release/moc_qwmihelper_win_p.cpp:76:38: error: expected ')' before '*' token
      release/moc_qwmihelper_win_p.cpp:77:35: error: expected type-specifier before '_t'
      release/moc_qwmihelper_win_p.cpp:77:35: error: expected '>' before '_t'
      release/moc_qwmihelper_win_p.cpp:77:35: error: expected '(' before '_t'
      release/moc_qwmihelper_win_p.cpp:77:35: error: '_t' was not declared in this scope
      release/moc_qwmihelper_win_p.cpp:77:39: error: expected primary-expression before '>' token
      release/moc_qwmihelper_win_p.cpp:77:62: error: expected type-specifier before '_t'
      release/moc_qwmihelper_win_p.cpp:77:62: error: expected '>' before '_t'
      release/moc_qwmihelper_win_p.cpp:77:62: error: expected '(' before '_t'
      release/moc_qwmihelper_win_p.cpp:77:67: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp:77:103: error: expected ')' before '{' token
      release/moc_qwmihelper_win_p.cpp:77:103: error: expected ')' before '

      {' token release/moc_qwmihelper_win_p.cpp:80:9: error: expected primary-expression before '}

      ' token
      release/moc_qwmihelper_win_p.cpp:80:9: error: expected ';' before '}' token
      release/moc_qwmihelper_win_p.cpp:73:14: warning: unused variable 'result' [-Wunused-variable]
      release/moc_qwmihelper_win_p.cpp: At global scope:
      release/moc_qwmihelper_win_p.cpp:85:19: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp:91:20: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp:91:44: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h: In function 'const QMetaObject* metaObject()':
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: 'QScopedPointer<QObjectData> QObject::d_ptr' is protected
      In file included from windows\qwmihelper_win.cpp:426:0:
      release/moc_qwmihelper_win_p.cpp:93:21: error: within this context
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: invalid use of non-static data member 'QObject::d_ptr'
      In file included from windows\qwmihelper_win.cpp:426:0:
      release/moc_qwmihelper_win_p.cpp:93:21: error: from this location
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: 'QScopedPointer<QObjectData> QObject::d_ptr' is protected
      In file included from windows\qwmihelper_win.cpp:426:0:
      release/moc_qwmihelper_win_p.cpp:93:50: error: within this context
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: invalid use of non-static data member 'QObject::d_ptr'
      In file included from windows\qwmihelper_win.cpp:426:0:
      release/moc_qwmihelper_win_p.cpp:93:50: error: from this location
      release/moc_qwmihelper_win_p.cpp: At global scope:
      release/moc_qwmihelper_win_p.cpp:96:7: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp: In function 'void* qt_metacast(const char*)':
      release/moc_qwmihelper_win_p.cpp:100:47: error: expected type-specifier before 'WMIHelper'
      release/moc_qwmihelper_win_p.cpp:100:47: error: expected '>' before 'WMIHelper'
      release/moc_qwmihelper_win_p.cpp:100:47: error: expected '(' before 'WMIHelper'
      release/moc_qwmihelper_win_p.cpp:100:47: error: 'WMIHelper' was not declared in this scope
      release/moc_qwmihelper_win_p.cpp:100:57: error: expected primary-expression before '>' token
      release/moc_qwmihelper_win_p.cpp:100:59: error: invalid use of 'this' in non-member function
      release/moc_qwmihelper_win_p.cpp:100:65: error: expected ')' before ';' token
      release/moc_qwmihelper_win_p.cpp:101:40: error: cannot call member function 'virtual void* QObject::qt_metacast(const char*)' without object
      release/moc_qwmihelper_win_p.cpp: At global scope:
      release/moc_qwmihelper_win_p.cpp:104:5: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp: In function 'int qt_metacall(QMetaObject::Call, int, void**)':
      release/moc_qwmihelper_win_p.cpp:106:43: error: cannot call member function 'virtual int QObject::qt_metacall(QMetaObject::Call, int, void**)' without object
      release/moc_qwmihelper_win_p.cpp:111:32: error: invalid use of 'this' in non-member function
      release/moc_qwmihelper_win_p.cpp: At global scope:
      release/moc_qwmihelper_win_p.cpp:122:6: error: 'WMIHelper' has not been declared
      release/moc_qwmihelper_win_p.cpp: In function 'void wminotificationArrived()':
      release/moc_qwmihelper_win_p.cpp:124:27: error: invalid use of 'this' in non-member function
      C:\SDK\sources\qt5\qtbase\bin\moc.exe -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"release" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g++" -D_GNUC_ -DWIN32 qbatteryinfo.h -o release\moc_qbatteryinfo.cpp
      release/moc_qwmihelper_win_p.cpp: In function 'void* qt_metacast(const char*)':
      release/moc_qwmihelper_win_p.cpp:102:1: warning: control reaches end of non-void function [-Wreturn-type]
      release/moc_qwmihelper_win_p.cpp: In function 'const QMetaObject* metaObject()':
      release/moc_qwmihelper_win_p.cpp:94:1: warning: control reaches end of non-void function [-Wreturn-type]
      windows\qwmihelper_win.cpp: In function 'ULONG AddRef()':
      windows\qwmihelper_win.cpp:330:1: warning: control reaches end of non-void function [-Wreturn-type]
      Makefile.Release:3668: recipe for target 'release/qwmihelper_win.o' failed
      mingw32-make[4]: *** [release/qwmihelper_win.o] Error 1
      mingw32-make[4]: *** Waiting for unfinished jobs....
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\moc_qbatteryinfo.o debug\moc_qbatteryinfo.cpp
      mingw32-make[4]: Leaving directory 'C:/SDK/sources/qt5/qtsystems/src/systeminfo'
      qnetworkinfo_win.cpp:862:19: warning: unused parameter 'mode' [-Wunused-parameter]
      Makefile:51: recipe for target 'release-all' failed
      mingw32-make[3]: *** [release-all] Error 2
      mingw32-make[3]: *** Waiting for unfinished jobs....
      g++ -c -pipe -fno-keep-inline-dllexport -g -std=c+0x -Wall -Wextra -fno-exceptions -frtti -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g+" -o debug\moc_qnetworkinfo.o debug\moc_qnetworkinfo.cpp
      windows\qwmihelper_win.cpp:56:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:58:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:64:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:69:1: error: 'WMIHelper' does not name a type
      windows\qwmihelper_win.cpp:74:10: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'QVariant getWMIData()':
      windows\qwmihelper_win.cpp:78:9: error: 'm_wmiNamespace' was not declared in this scope
      windows\qwmihelper_win.cpp:78:38: error: 'm_className' was not declared in this scope
      windows\qwmihelper_win.cpp:78:64: error: 'm_classProperties' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:84:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void initializeWMI(const QString&)':
      windows\qwmihelper_win.cpp:86:9: error: 'initialized' was not declared in this scope
      windows\qwmihelper_win.cpp:87:9: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:90:5: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:108:5: error: 'wbemServices' was not declared in this scope
      windows\qwmihelper_win.cpp:124:5: error: 'initialized' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:127:10: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'QVariant getWMIData(const QString&, const QString&, const QStringList&)':
      windows\qwmihelper_win.cpp:133:7: error: 'wbemEnumerator' was not declared in this scope
      windows\qwmihelper_win.cpp:135:10: error: 'm_conditional' was not declared in this scope
      windows\qwmihelper_win.cpp:141:54: error: 'm_conditional' was not declared in this scope
      windows\qwmihelper_win.cpp:147:12: error: 'wbemServices' was not declared in this scope
      windows\qwmihelper_win.cpp:152:9: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:159:5: error: 'wbemCLassObject' was not declared in this scope
      windows\qwmihelper_win.cpp:162:5: error: 'wmiVariantList' was not declared in this scope
      windows\qwmihelper_win.cpp:173:71: error: 'msVariantToQVariant' was not declared in this scope
      windows\qwmihelper_win.cpp:184:5: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:189:10: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp:235:8: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setWmiNamespace(const QString&)':
      windows\qwmihelper_win.cpp:237:4: error: 'm_wmiNamespace' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:240:9: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setClassName(const QString&)':
      windows\qwmihelper_win.cpp:242:4: error: 'm_className' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:245:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setClassProperty(const QStringList&)':
      windows\qwmihelper_win.cpp:247:4: error: 'm_classProperties' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:250:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setConditional(const QString&)':
      windows\qwmihelper_win.cpp:252:4: error: 'm_conditional' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:255:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void setupNotfication(const QString&, const QString&, const QStringList&)':
      windows\qwmihelper_win.cpp:281:6: error: 'EventSink' was not declared in this scope
      windows\qwmihelper_win.cpp:281:17: error: 'pSink' was not declared in this scope
      windows\qwmihelper_win.cpp:281:29: error: expected type-specifier before 'EventSink'
      windows\qwmihelper_win.cpp:281:29: error: expected ';' before 'EventSink'
      windows\qwmihelper_win.cpp:301:13: error: 'wbemServices' was not declared in this scope
      windows\qwmihelper_win.cpp:310:35: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'HRESULT

      {aka long int}' [-Wformat]
      windows\qwmihelper_win.cpp:311:10: error: 'wbemLocator' was not declared in this scope
      windows\qwmihelper_win.cpp:312:10: error: 'wbemEnumerator' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:322:6: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: In function 'void emitNotificationArrived()':
      windows\qwmihelper_win.cpp:324:33: error: 'wminotificationArrived' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:327:7: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'ULONG AddRef()':
      windows\qwmihelper_win.cpp:329:34: error: 'm_lRef' was not declared in this scope
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:332:7: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'ULONG Release()':
      windows\qwmihelper_win.cpp:334:39: error: 'm_lRef' was not declared in this scope
      windows\qwmihelper_win.cpp:336:16: error: invalid use of 'this' in non-member function
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:340:9: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'HRESULT QueryInterface(const IID&, void**)':
      windows\qwmihelper_win.cpp:345:36: error: invalid use of 'this' in non-member function
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:353:9: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'HRESULT Indicate(long int, IWbemClassObject**)':
      windows\qwmihelper_win.cpp:357:9: error: 'WMIHelper' has not been declared
      windows\qwmihelper_win.cpp: At global scope:
      windows\qwmihelper_win.cpp:411:9: error: 'EventSink' has not been declared
      windows\qwmihelper_win.cpp: In function 'HRESULT SetStatus(LONG, HRESULT, BSTR, IWbemClassObject*)':
      windows\qwmihelper_win.cpp:418:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'HRESULT {aka long int}

      ' [-Wformat]
      In file included from windows\qwmihelper_win.cpp:426:0:
      debug/moc_qwmihelper_win_p.cpp: At global scope:
      debug/moc_qwmihelper_win_p.cpp:63:6: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp: In function 'void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
      debug/moc_qwmihelper_win_p.cpp:66:9: error: 'staticMetaObject' was not declared in this scope
      debug/moc_qwmihelper_win_p.cpp:67:9: error: 'WMIHelper' was not declared in this scope
      debug/moc_qwmihelper_win_p.cpp:67:20: error: '_t' was not declared in this scope
      debug/moc_qwmihelper_win_p.cpp:67:37: error: expected type-specifier before 'WMIHelper'
      debug/moc_qwmihelper_win_p.cpp:67:37: error: expected '>' before 'WMIHelper'
      debug/moc_qwmihelper_win_p.cpp:67:37: error: expected '(' before 'WMIHelper'
      debug/moc_qwmihelper_win_p.cpp:67:48: error: expected primary-expression before '>' token
      debug/moc_qwmihelper_win_p.cpp:67:53: error: expected ')' before ';' token
      debug/moc_qwmihelper_win_p.cpp:76:27: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp:76:38: error: expected unqualified-id before '*' token
      debug/moc_qwmihelper_win_p.cpp:76:38: error: expected ')' before '*' token
      debug/moc_qwmihelper_win_p.cpp:77:35: error: expected type-specifier before '_t'
      debug/moc_qwmihelper_win_p.cpp:77:35: error: expected '>' before '_t'
      debug/moc_qwmihelper_win_p.cpp:77:35: error: expected '(' before '_t'
      debug/moc_qwmihelper_win_p.cpp:77:35: error: '_t' was not declared in this scope
      debug/moc_qwmihelper_win_p.cpp:77:39: error: expected primary-expression before '>' token
      debug/moc_qwmihelper_win_p.cpp:77:62: error: expected type-specifier before '_t'
      debug/moc_qwmihelper_win_p.cpp:77:62: error: expected '>' before '_t'
      debug/moc_qwmihelper_win_p.cpp:77:62: error: expected '(' before '_t'
      debug/moc_qwmihelper_win_p.cpp:77:67: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp:77:103: error: expected ')' before '{' token
      debug/moc_qwmihelper_win_p.cpp:77:103: error: expected ')' before '

      {' token debug/moc_qwmihelper_win_p.cpp:80:9: error: expected primary-expression before '}

      ' token
      debug/moc_qwmihelper_win_p.cpp:80:9: error: expected ';' before '}' token
      debug/moc_qwmihelper_win_p.cpp:73:14: warning: unused variable 'result' [-Wunused-variable]
      debug/moc_qwmihelper_win_p.cpp: At global scope:
      debug/moc_qwmihelper_win_p.cpp:85:19: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp:91:20: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp:91:44: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h: In function 'const QMetaObject* metaObject()':
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: 'QScopedPointer<QObjectData> QObject::d_ptr' is protected
      In file included from windows\qwmihelper_win.cpp:426:0:
      debug/moc_qwmihelper_win_p.cpp:93:21: error: within this context
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: invalid use of non-static data member 'QObject::d_ptr'
      In file included from windows\qwmihelper_win.cpp:426:0:
      debug/moc_qwmihelper_win_p.cpp:93:21: error: from this location
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: 'QScopedPointer<QObjectData> QObject::d_ptr' is protected
      In file included from windows\qwmihelper_win.cpp:426:0:
      debug/moc_qwmihelper_win_p.cpp:93:50: error: within this context
      In file included from C:\SDK\sources\qt5\qtbase\include/QtCore/qobject.h:1:0,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qiodevice.h:46,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qiodevice.h:1,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/io/qtextstream.h:45,
      from C:\SDK\sources\qt5\qtbase\include/QtCore/qtextstream.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/../../src/corelib/io/qdebug.h:50,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/qdebug.h:1,
      from C:\SDK\sources\qt5\qtbase\include\QtCore/QDebug:1,
      from windows\qwmihelper_win.cpp:46:
      C:\SDK\sources\qt5\qtbase\include/QtCore/../../src/corelib/kernel/qobject.h:379:33: error: invalid use of non-static data member 'QObject::d_ptr'
      In file included from windows\qwmihelper_win.cpp:426:0:
      debug/moc_qwmihelper_win_p.cpp:93:50: error: from this location
      debug/moc_qwmihelper_win_p.cpp: At global scope:
      debug/moc_qwmihelper_win_p.cpp:96:7: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp: In function 'void* qt_metacast(const char*)':
      debug/moc_qwmihelper_win_p.cpp:100:47: error: expected type-specifier before 'WMIHelper'
      debug/moc_qwmihelper_win_p.cpp:100:47: error: expected '>' before 'WMIHelper'
      debug/moc_qwmihelper_win_p.cpp:100:47: error: expected '(' before 'WMIHelper'
      debug/moc_qwmihelper_win_p.cpp:100:47: error: 'WMIHelper' was not declared in this scope
      debug/moc_qwmihelper_win_p.cpp:100:57: error: expected primary-expression before '>' token
      debug/moc_qwmihelper_win_p.cpp:100:59: error: invalid use of 'this' in non-member function
      debug/moc_qwmihelper_win_p.cpp:100:65: error: expected ')' before ';' token
      debug/moc_qwmihelper_win_p.cpp:101:40: error: cannot call member function 'virtual void* QObject::qt_metacast(const char*)' without object
      debug/moc_qwmihelper_win_p.cpp: At global scope:
      debug/moc_qwmihelper_win_p.cpp:104:5: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp: In function 'int qt_metacall(QMetaObject::Call, int, void**)':
      debug/moc_qwmihelper_win_p.cpp:106:43: error: cannot call member function 'virtual int QObject::qt_metacall(QMetaObject::Call, int, void**)' without object
      debug/moc_qwmihelper_win_p.cpp:111:32: error: invalid use of 'this' in non-member function
      debug/moc_qwmihelper_win_p.cpp: At global scope:
      debug/moc_qwmihelper_win_p.cpp:122:6: error: 'WMIHelper' has not been declared
      debug/moc_qwmihelper_win_p.cpp: In function 'void wminotificationArrived()':
      debug/moc_qwmihelper_win_p.cpp:124:27: error: invalid use of 'this' in non-member function
      debug/moc_qwmihelper_win_p.cpp: In function 'void* qt_metacast(const char*)':
      debug/moc_qwmihelper_win_p.cpp:102:1: warning: control reaches end of non-void function [-Wreturn-type]
      debug/moc_qwmihelper_win_p.cpp: In function 'const QMetaObject* metaObject()':
      debug/moc_qwmihelper_win_p.cpp:94:1: warning: control reaches end of non-void function [-Wreturn-type]
      windows\qwmihelper_win.cpp: In function 'ULONG AddRef()':
      windows\qwmihelper_win.cpp:330:1: warning: control reaches end of non-void function [-Wreturn-type]
      C:\SDK\sources\qt5\qtbase\bin\moc.exe -DUNICODE -DQT_BUILD_SYSTEMINFO_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -I. -I"..\..\include" -I"..\..\include\QtSystemInfo" -I"..\..\include\QtSystemInfo\5.0.0" -I"..\..\include\QtSystemInfo\5.0.0\QtSystemInfo" -I"tmp" -I"C:\SDK\sources\qt5\qtbase\include" -I"C:\SDK\sources\qt5\qtbase\include\QtGui" -I"C:\SDK\sources\qt5\qtbase\include\QtNetwork" -I"C:\SDK\sources\qt5\qtbase\include\QtCore" -I"debug" -I"C:\SDK\sources\qt5\qtbase\mkspecs\win32-g++" -D_GNUC_ -DWIN32 qdeviceprofile.h -o debug\moc_qdeviceprofile.cpp
      Makefile.Debug:3668: recipe for target 'debug/qwmihelper_win.o' failed
      mingw32-make[4]: *** [debug/qwmihelper_win.o] Error 1
      mingw32-make[4]: *** Waiting for unfinished jobs....
      mingw32-make[4]: Leaving directory 'C:/SDK/sources/qt5/qtsystems/src/systeminfo'
      Makefile:37: recipe for target 'debug-all' failed
      mingw32-make[3]: *** [debug-all] Error 2
      mingw32-make[3]: Leaving directory 'C:/SDK/sources/qt5/qtsystems/src/systeminfo'
      Makefile:127: recipe for target 'sub-systeminfo-make_first-ordered' failed
      mingw32-make[2]: *** [sub-systeminfo-make_first-ordered] Error 2
      mingw32-make[2]: Leaving directory 'C:/SDK/sources/qt5/qtsystems/src'
      Makefile:39: recipe for target 'sub-src-make_first-ordered' failed
      mingw32-make[1]: *** [sub-src-make_first-ordered] Error 2
      mingw32-make[1]: Leaving directory 'C:/SDK/sources/qt5/qtsystems'
      makefile:296: recipe for target 'module-qtsystems-make_first' failed
      mingw32-make: *** [module-qtsystems-make_first] Error 2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            alexpux Alexey Pavlov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes