Advertisement
Guest User

Untitled

a guest
May 19th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.20 KB | None | 0 0
  1. 16:39:00: Running steps for project untitled3...
  2. 16:39:00: Configuration unchanged, skipping qmake step.
  3. 16:39:00: Starting: "C:\Qt\Tools\mingw491_32\bin\mingw32-make.exe"
  4. C:/Qt/Tools/mingw491_32/bin/mingw32-make -f Makefile.Debug
  5. mingw32-make[1]: Entering directory 'C:/Workspace/NewProjects/build-untitled3-Desktop_Qt_5_4_2_MinGW_32bit-Debug'
  6. g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\untitled3" -I"." -I"..\..\..\Qt\5.4\mingw491_32\include" -I"..\..\..\Qt\5.4\mingw491_32\include\QtWidgets" -I"..\..\..\Qt\5.4\mingw491_32\include\QtGui" -I"..\..\..\Qt\5.4\mingw491_32\include\QtCore" -I"debug" -I"." -I"..\..\..\Qt\5.4\mingw491_32\mkspecs\win32-g++" -o debug\main.o ..\untitled3\main.cpp
  7. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qglobal.h:1083:0,
  8. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qwindowdefs.h:37,
  9. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:37,
  10. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  11. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  12. from ..\untitled3\mainwindow.h:4,
  13. from ..\untitled3\main.cpp:1:
  14. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:178:31: error: invalid application of 'sizeof' to incomplete type 'QImage'
  15. isLarge = (sizeof(TYPE)>sizeof(void*)), \
  16. ^
  17. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  18. Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS)
  19. ^
  20. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:214:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  21. Q_DECLARE_TYPEINFO(TYPE, Q_MOVABLE_TYPE); \
  22. ^
  23. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  24. Q_DECLARE_SHARED(QImage)
  25. ^
  26. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:182:29: error: invalid application of 'sizeof' to incomplete type 'QImage'
  27. sizeOf = sizeof(TYPE) \
  28. ^
  29. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
  30. Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS)
  31. ^
  32. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:214:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
  33. Q_DECLARE_TYPEINFO(TYPE, Q_MOVABLE_TYPE); \
  34. ^
  35. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  36. Q_DECLARE_SHARED(QImage)
  37. ^
  38. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h: In function 'void qSwap(T&, T&) [with T = QImage]':
  39. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:216:9: error: invalid use of incomplete type 'class QImage'
  40. { value1.swap(value2); } \
  41. ^
  42. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  43. Q_DECLARE_SHARED(QImage)
  44. ^
  45. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qobject.h:48:0,
  46. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:38,
  47. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  48. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  49. from ..\untitled3\mainwindow.h:4,
  50. from ..\untitled3\main.cpp:1:
  51. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:131:19: error: forward declaration of 'class QImage'
  52. F(QImage, 70, QImage) \
  53. ^
  54. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1746:11: note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
  55. class Name;
  56. ^
  57. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1749:1: note: in expansion of macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
  58. QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
  59. ^
  60. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qglobal.h:1083:0,
  61. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qwindowdefs.h:37,
  62. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:37,
  63. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  64. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  65. from ..\untitled3\mainwindow.h:4,
  66. from ..\untitled3\main.cpp:1:
  67. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h: In function 'void std::swap(_Tp&, _Tp&) [with _Tp = QImage]':
  68. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:209:13: error: invalid use of incomplete type 'class QImage'
  69. { value1.swap(value2); } \
  70. ^
  71. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED_STL'
  72. Q_DECLARE_SHARED_STL(TYPE)
  73. ^
  74. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
  75. Q_DECLARE_SHARED(QImage)
  76. ^
  77. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qobject.h:48:0,
  78. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:38,
  79. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  80. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  81. from ..\untitled3\mainwindow.h:4,
  82. from ..\untitled3\main.cpp:1:
  83. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:131:19: error: forward declaration of 'class QImage'
  84. F(QImage, 70, QImage) \
  85. ^
  86. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1746:11: note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
  87. class Name;
  88. ^
  89. ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1749:1: note: in expansion of macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
  90. QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
  91. ^
  92. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:45:0,
  93. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
  94. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  95. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  96. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  97. from ..\untitled3\mainwindow.h:4,
  98. from ..\untitled3\main.cpp:1:
  99. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h: At global scope:
  100. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h:54:20: error: redefinition of 'class QPixmap'
  101. class Q_GUI_EXPORT QPixmap : public QPaintDevice
  102. ^
  103. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:44:0,
  104. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
  105. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  106. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  107. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  108. from ..\untitled3\mainwindow.h:4,
  109. from ..\untitled3\main.cpp:1:
  110. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:85:20: error: previous definition of 'class QPixmap'
  111. class Q_GUI_EXPORT QPixmap : public QPaintDevice
  112. ^
  113. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:45:0,
  114. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
  115. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  116. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  117. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  118. from ..\untitled3\mainwindow.h:4,
  119. from ..\untitled3\main.cpp:1:
  120. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h:199:16: error: redefinition of 'QPixmap QPixmap::copy(int, int, int, int) const'
  121. inline QPixmap QPixmap::copy(int ax, int ay, int awidth, int aheight) const
  122. ^
  123. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:44:0,
  124. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
  125. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  126. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  127. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  128. from ..\untitled3\mainwindow.h:4,
  129. from ..\untitled3\main.cpp:1:
  130. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:167:20: note: 'QPixmap QPixmap::copy(int, int, int, int) const' previously defined here
  131. inline QPixmap copy(int x, int y, int w, int h) const
  132. ^
  133. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:45:0,
  134. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
  135. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  136. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  137. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  138. from ..\untitled3\mainwindow.h:4,
  139. from ..\untitled3\main.cpp:1:
  140. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h:204:102: error: no 'void QPixmap::scroll(int, int, int, int, int, int, QRegion*)' member function declared in class 'QPixmap'
  141. inline void QPixmap::scroll(int dx, int dy, int ax, int ay, int awidth, int aheight, QRegion *exposed)
  142. ^
  143. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h:209:13: error: prototype for 'bool QPixmap::loadFromData(const QByteArray&, const char*, Qt::ImageConversionFlags)' does not match any in class 'QPixmap'
  144. inline bool QPixmap::loadFromData(const QByteArray &buf, const char *format,
  145. ^
  146. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:44:0,
  147. from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
  148. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  149. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  150. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  151. from ..\untitled3\mainwindow.h:4,
  152. from ..\untitled3\main.cpp:1:
  153. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:276:17: error: candidates are: bool QPixmap::loadFromData(const QByteArray&, const char*)
  154. inline bool loadFromData(const QByteArray &data, const char* aformat=0)
  155. ^
  156. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:275:10: error: bool QPixmap::loadFromData(const uchar*, int, const char*)
  157. bool loadFromData(const uchar *buf, int len, const char *format = 0);
  158. ^
  159. In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39:0,
  160. from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
  161. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
  162. from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
  163. from ..\untitled3\mainwindow.h:4,
  164. from ..\untitled3\main.cpp:1:
  165. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:67:5: error: 'QBrush::QBrush(const QPixmap&)' cannot be overloaded
  166. QBrush(const QPixmap &image);
  167. ^
  168. ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:66:5: error: with 'QBrush::QBrush(const QPixmap&)'
  169. QBrush(const QPixmap &pixmap);
  170. ^
  171. Makefile.Debug:352: recipe for target 'debug/main.o' failed
  172. mingw32-make[1]: *** [debug/main.o] Error 1
  173. mingw32-make[1]: Leaving directory 'C:/Workspace/NewProjects/build-untitled3-Desktop_Qt_5_4_2_MinGW_32bit-Debug'
  174. mingw32-make: *** [debug] Error 2
  175. makefile:34: recipe for target 'debug' failed
  176. 16:39:01: The process "C:\Qt\Tools\mingw491_32\bin\mingw32-make.exe" exited with code 2.
  177. Error while building/deploying project untitled3 (kit: Desktop Qt 5.4.2 MinGW 32bit)
  178. When executing step "Make"
  179. 16:39:01: Elapsed time: 00:01.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement