Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 16:39:00: Running steps for project untitled3...
- 16:39:00: Configuration unchanged, skipping qmake step.
- 16:39:00: Starting: "C:\Qt\Tools\mingw491_32\bin\mingw32-make.exe"
- C:/Qt/Tools/mingw491_32/bin/mingw32-make -f Makefile.Debug
- mingw32-make[1]: Entering directory 'C:/Workspace/NewProjects/build-untitled3-Desktop_Qt_5_4_2_MinGW_32bit-Debug'
- 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
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qglobal.h:1083:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qwindowdefs.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:178:31: error: invalid application of 'sizeof' to incomplete type 'QImage'
- isLarge = (sizeof(TYPE)>sizeof(void*)), \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
- Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS)
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:214:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
- Q_DECLARE_TYPEINFO(TYPE, Q_MOVABLE_TYPE); \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
- Q_DECLARE_SHARED(QImage)
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:182:29: error: invalid application of 'sizeof' to incomplete type 'QImage'
- sizeOf = sizeof(TYPE) \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:189:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO_BODY'
- Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS)
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:214:1: note: in expansion of macro 'Q_DECLARE_TYPEINFO'
- Q_DECLARE_TYPEINFO(TYPE, Q_MOVABLE_TYPE); \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
- Q_DECLARE_SHARED(QImage)
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h: In function 'void qSwap(T&, T&) [with T = QImage]':
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:216:9: error: invalid use of incomplete type 'class QImage'
- { value1.swap(value2); } \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
- Q_DECLARE_SHARED(QImage)
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qobject.h:48:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:38,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:131:19: error: forward declaration of 'class QImage'
- F(QImage, 70, QImage) \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1746:11: note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
- class Name;
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1749:1: note: in expansion of macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
- QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qglobal.h:1083:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qwindowdefs.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h: In function 'void std::swap(_Tp&, _Tp&) [with _Tp = QImage]':
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:209:13: error: invalid use of incomplete type 'class QImage'
- { value1.swap(value2); } \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qtypeinfo.h:217:1: note: in expansion of macro 'Q_DECLARE_SHARED_STL'
- Q_DECLARE_SHARED_STL(TYPE)
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:345:1: note: in expansion of macro 'Q_DECLARE_SHARED'
- Q_DECLARE_SHARED(QImage)
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qobject.h:48:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:38,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:131:19: error: forward declaration of 'class QImage'
- F(QImage, 70, QImage) \
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1746:11: note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
- class Name;
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtCore/qmetatype.h:1749:1: note: in expansion of macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
- QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:45:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h: At global scope:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h:54:20: error: redefinition of 'class QPixmap'
- class Q_GUI_EXPORT QPixmap : public QPaintDevice
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:44:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:85:20: error: previous definition of 'class QPixmap'
- class Q_GUI_EXPORT QPixmap : public QPaintDevice
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:45:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpixmap.h:199:16: error: redefinition of 'QPixmap QPixmap::copy(int, int, int, int) const'
- inline QPixmap QPixmap::copy(int ax, int ay, int awidth, int aheight) const
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:44:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:167:20: note: 'QPixmap QPixmap::copy(int, int, int, int) const' previously defined here
- inline QPixmap copy(int x, int y, int w, int h) const
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:45:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\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'
- inline void QPixmap::scroll(int dx, int dy, int ax, int ay, int awidth, int aheight, QRegion *exposed)
- ^
- ..\..\..\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'
- inline bool QPixmap::loadFromData(const QByteArray &buf, const char *format,
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:44:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:276:17: error: candidates are: bool QPixmap::loadFromData(const QByteArray&, const char*)
- inline bool loadFromData(const QByteArray &data, const char* aformat=0)
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qimage.h:275:10: error: bool QPixmap::loadFromData(const uchar*, int, const char*)
- bool loadFromData(const uchar *buf, int len, const char *format = 0);
- ^
- In file included from ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qpalette.h:39:0,
- from ..\..\..\Qt\5.4\mingw491_32\include/QtWidgets/qwidget.h:41,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/qmainwindow.h:37,
- from ..\..\..\Qt\5.4\mingw491_32\include\QtWidgets/QMainWindow:1,
- from ..\untitled3\mainwindow.h:4,
- from ..\untitled3\main.cpp:1:
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:67:5: error: 'QBrush::QBrush(const QPixmap&)' cannot be overloaded
- QBrush(const QPixmap &image);
- ^
- ..\..\..\Qt\5.4\mingw491_32\include/QtGui/qbrush.h:66:5: error: with 'QBrush::QBrush(const QPixmap&)'
- QBrush(const QPixmap &pixmap);
- ^
- Makefile.Debug:352: recipe for target 'debug/main.o' failed
- mingw32-make[1]: *** [debug/main.o] Error 1
- mingw32-make[1]: Leaving directory 'C:/Workspace/NewProjects/build-untitled3-Desktop_Qt_5_4_2_MinGW_32bit-Debug'
- mingw32-make: *** [debug] Error 2
- makefile:34: recipe for target 'debug' failed
- 16:39:01: The process "C:\Qt\Tools\mingw491_32\bin\mingw32-make.exe" exited with code 2.
- Error while building/deploying project untitled3 (kit: Desktop Qt 5.4.2 MinGW 32bit)
- When executing step "Make"
- 16:39:01: Elapsed time: 00:01.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement