Mingw32 undefined reference
-
from Compile output:
08:34:34: Uruchamianie kroków budowania dla projektu analogclock...
08:34:34: Konfiguracja niezmieniona, krok qmake pominięty.
08:34:34: Uruchamianie "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" -j6
C:/Qt/Tools/mingw730_64/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/Qt/Examples/Qt-5.11.3/gui/build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug'
g++ -Wl,-subsystem,windows -mthreads -o debug\analogclock.exe debug/rasterwindow.o debug/main.o debug/moc_rasterwindow.o -lmingw32 -LC:\Qt\5.11.3\mingw53_32\lib C:\Qt\5.11.3\mingw53_32\lib\libqtmaind.a -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-win32\lib -LC:\Utils\postgresql\pgsql\lib -lshell32 C:\Qt\5.11.3\mingw53_32\lib\libQt5Guid.a C:\Qt\5.11.3\mingw53_32\lib\libQt5Cored.a
debug/rasterwindow.o: In functionRasterWindow::RasterWindow(QWindow*)': C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:56: undefined reference to
_imp__ZN7QWindowC2EPS'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:56: undefined reference to__imp__ZN13QBackingStoreC1EP7QWindow' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:58: undefined reference to
__imp__ZN7QWindow11setGeometryEiiii'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:56: undefined reference to__imp__ZN7QWindowD2Ev' debug/rasterwindow.o: In function
RasterWindow::event(QEvent*)':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:70: undefined reference to__imp__ZN7QWindow5eventEP6QEvent' debug/rasterwindow.o: In function
RasterWindow::renderLater()':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:77: undefined reference to__imp__ZN7QWindow13requestUpdateEv' debug/rasterwindow.o: In function
RasterWindow::resizeEvent(QResizeEvent*)':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:85: undefined reference to__imp__ZN13QBackingStore6resizeERK5QSize' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:86: undefined reference to
__imp__ZNK7QWindow9isExposedEv'
debug/rasterwindow.o: In functionRasterWindow::exposeEvent(QExposeEvent*)': C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:94: undefined reference to
__imp__ZNK7QWindow9isExposedEv'
debug/rasterwindow.o: In functionRasterWindow::renderNow()': C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:103: undefined reference to
__imp__ZNK7QWindow9isExposedEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:107: undefined reference to__imp__ZN7QRegionC1ERK5QRectNS_10RegionTypeE' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:107: undefined reference to
__imp__ZN13QBackingStore10beginPaintERK7QRegion'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:107: undefined reference to__imp__ZN7QRegionD1Ev' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:109: undefined reference to
__imp__ZN13QBackingStore11paintDeviceEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:110: undefined reference to__imp__ZN8QPainterC1EP12QPaintDevice' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:114: undefined reference to
__imp__ZN8QPainter3endEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:116: undefined reference to__imp__ZN13QBackingStore8endPaintEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:117: undefined reference to
__imp__ZN7QRegionC1ERK5QRectNS_10RegionTypeE'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:117: undefined reference to__imp__ZN13QBackingStore5flushERK7QRegionP7QWindowRK6QPoint' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:117: undefined reference to
__imp__ZN7QRegionD1Ev'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:110: undefined reference to__imp__ZN8QPainterD1Ev' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:107: undefined reference to
__imp__ZN7QRegionD1Ev'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:117: undefined reference to__imp__ZN7QRegionD1Ev' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:110: undefined reference to
__imp__ZN8QPainterD1Ev'
debug/rasterwindow.o: In functionRasterWindow::render(QPainter*)': C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.cpp:124: undefined reference to
_imp__ZN8QPainter8drawTextERK6QRectFiRK7QStringPS0'
debug/rasterwindow.o: In functionQWindow::width() const': C:/Qt/5.11.3/mingw53_32/include/QtGui/qwindow.h:229: undefined reference to
__imp__ZNK7QWindow8geometryEv'
debug/rasterwindow.o: In functionQWindow::height() const': C:/Qt/5.11.3/mingw53_32/include/QtGui/qwindow.h:230: undefined reference to
__imp__ZNK7QWindow8geometryEv'
debug/rasterwindow.o: In functionQPainter::fillRect(int, int, int, int, Qt::GlobalColor)': C:/Qt/5.11.3/mingw53_32/include/QtGui/qpainter.h:721: undefined reference to
__imp__ZN6QColorC1EN2Qt11GlobalColorE'
C:/Qt/5.11.3/mingw53_32/include/QtGui/qpainter.h:721: undefined reference to__imp__ZN8QPainter8fillRectERK5QRectRK6QColor' debug/rasterwindow.o: In function
QTypedArrayData<unsigned short>::deallocate(QArrayData*)':
C:/Qt/5.11.3/mingw53_32/include/QtCore/qarraydata.h:237: undefined reference to__imp__ZN10QArrayData10deallocateEPS_yy' debug/rasterwindow.o: In function
QStaticStringData<7>::data_ptr() const':
C:/Qt/5.11.3/mingw53_32/include/QtCore/qstringliteral.h:116: undefined reference to__imp__Z9qt_assertPKcS0_i' debug/main.o: In function
AnalogClockWindow::AnalogClockWindow()':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:74: undefined reference to__imp__ZN7QWindow8setTitleERK7QString' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:75: undefined reference to
__imp__ZN7QWindow6resizeEii'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:77: undefined reference to__imp__ZN7QObject10startTimerEiN2Qt9TimerTypeE' debug/main.o: In function
AnalogClockWindow::render(QPainter*)':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:110: undefined reference to__imp__ZN8QPainter13setRenderHintENS_10RenderHintEb' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:115: undefined reference to
__imp__ZN8QPainter5scaleEdd'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:119: undefined reference to__imp__ZN8QPainter6setPenEN2Qt8PenStyleE' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:120: undefined reference to
__imp__ZN6QBrushC1ERK6QColorN2Qt10BrushStyleE'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:120: undefined reference to__imp__ZN8QPainter8setBrushERK6QBrush' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:120: undefined reference to
__imp__ZN6QBrushD1Ev'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:124: undefined reference to__imp__ZN5QTime11currentTimeEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:126: undefined reference to
__imp__ZN8QPainter4saveEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:127: undefined reference to__imp__ZNK5QTime4hourEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:127: undefined reference to
__imp__ZNK5QTime6minuteEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:127: undefined reference to__imp__ZN8QPainter6rotateEd' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:128: undefined reference to
__imp__ZN8QPainter17drawConvexPolygonEPK6QPointi'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:129: undefined reference to__imp__ZN8QPainter7restoreEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:133: undefined reference to
__imp__ZN8QPainter6setPenERK6QColor'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:137: undefined reference to__imp__ZN8QPainter6rotateEd' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:140: undefined reference to
__imp__ZN8QPainter6setPenEN2Qt8PenStyleE'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:141: undefined reference to__imp__ZN6QBrushC1ERK6QColorN2Qt10BrushStyleE' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:141: undefined reference to
__imp__ZN8QPainter8setBrushERK6QBrush'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:141: undefined reference to__imp__ZN6QBrushD1Ev' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:145: undefined reference to
__imp__ZN8QPainter4saveEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:146: undefined reference to__imp__ZNK5QTime6minuteEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:146: undefined reference to
__imp__ZNK5QTime6secondEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:146: undefined reference to__imp__ZN8QPainter6rotateEd' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:147: undefined reference to
__imp__ZN8QPainter17drawConvexPolygonEPK6QPointi'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:148: undefined reference to__imp__ZN8QPainter7restoreEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:152: undefined reference to
__imp__ZN8QPainter6setPenERK6QColor'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:157: undefined reference to__imp__ZN8QPainter6rotateEd' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:120: undefined reference to
__imp__ZN6QBrushD1Ev'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:141: undefined reference to__imp__ZN6QBrushD1Ev' debug/main.o: In function
qMain(int, char**)':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:164: undefined reference to__imp__ZN15QGuiApplicationC1ERiPPci' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:167: undefined reference to
__imp__ZN7QWindow4showEv'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:169: undefined reference to__imp__ZN15QGuiApplication4execEv' C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:164: undefined reference to
__imp__ZN15QGuiApplicationD1Ev'
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../analogclock/main.cpp:164: undefined reference to__imp__ZN15QGuiApplicationD1Ev' debug/main.o: In function
QString::QString(char const*)':
C:/Qt/5.11.3/mingw53_32/include/QtCore/qstring.h:694: undefined reference to__imp__ZN7QString16fromAscii_helperEPKci' debug/main.o: In function
QColor::QColor(int, int, int, int)':
C:/Qt/5.11.3/mingw53_32/include/QtGui/qcolor.h:287: undefined reference to__imp__ZN6QColor6setRgbEiiii' debug/main.o: In function
QWindow::size() const':
C:/Qt/5.11.3/mingw53_32/include/QtGui/qwindow.h:234: undefined reference to__imp__ZNK7QWindow8geometryEv' debug/main.o: In function
QPainter::drawLine(int, int, int, int)':
C:/Qt/5.11.3/mingw53_32/include/QtGui/qpainter.h:511: undefined reference to__imp__ZN8QPainter9drawLinesEPK5QLinei' debug/main.o: In function
QPainter::translate(double, double)':
C:/Qt/5.11.3/mingw53_32/include/QtGui/qpainter.h:902: undefined reference to__imp__ZN8QPainter9translateERK7QPointF' debug/main.o: In function
RasterWindow::~RasterWindow()':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/../rasterwindow/rasterwindow.h:57: undefined reference to__imp__ZN7QWindowD2Ev' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x40): undefined reference to
QObject::eventFilter(QObject*, QEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x50): undefined reference toQObject::childEvent(QChildEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x58): undefined reference to
QObject::customEvent(QEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x60): undefined reference toQObject::connectNotify(QMetaMethod const&)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x68): undefined reference to
QObject::disconnectNotify(QMetaMethod const&)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x70): undefined reference toQWindow::surfaceType() const' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x78): undefined reference to
QWindow::format() const'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x88): undefined reference toQWindow::accessibleRoot() const' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x90): undefined reference to
QWindow::focusObject() const'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xa8): undefined reference toQWindow::moveEvent(QMoveEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xb0): undefined reference to
QWindow::focusInEvent(QFocusEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xb8): undefined reference toQWindow::focusOutEvent(QFocusEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xc0): undefined reference to
QWindow::showEvent(QShowEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xc8): undefined reference toQWindow::hideEvent(QHideEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xd0): undefined reference to
QWindow::keyPressEvent(QKeyEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xd8): undefined reference toQWindow::keyReleaseEvent(QKeyEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xe0): undefined reference to
QWindow::mousePressEvent(QMouseEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xe8): undefined reference toQWindow::mouseReleaseEvent(QMouseEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xf0): undefined reference to
QWindow::mouseDoubleClickEvent(QMouseEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0xf8): undefined reference toQWindow::mouseMoveEvent(QMouseEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x100): undefined reference to
QWindow::wheelEvent(QWheelEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x108): undefined reference toQWindow::touchEvent(QTouchEvent*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x110): undefined reference to
QWindow::tabletEvent(QTabletEvent*)'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x118): undefined reference toQWindow::nativeEvent(QByteArray const&, void*, long*)' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x120): undefined reference to
QWindow::surfaceHandle() const'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x150): undefined reference tonon-virtual thunk to QWindow::format() const' debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x158): undefined reference to
non-virtual thunk to QWindow::surfaceHandle() const'
debug/main.o:main.cpp:(.rdata$_ZTV17AnalogClockWindow[_ZTV17AnalogClockWindow]+0x160): undefined reference tonon-virtual thunk to QWindow::surfaceType() const' debug/moc_rasterwindow.o: In function
RasterWindow::metaObject() const':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/debug/moc_rasterwindow.cpp:90: undefined reference to__imp__ZNK11QObjectData17dynamicMetaObjectEv' debug/moc_rasterwindow.o: In function
RasterWindow::qt_metacast(char const*)':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/debug/moc_rasterwindow.cpp:98: undefined reference to__imp__ZN7QWindow11qt_metacastEPKc' debug/moc_rasterwindow.o: In function
RasterWindow::qt_metacall(QMetaObject::Call, int, void**)':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/debug/moc_rasterwindow.cpp:103: undefined reference to__imp__ZN7QWindow11qt_metacallEN11QMetaObject4CallEiPPv' debug/moc_rasterwindow.o: In function
__static_initialization_and_destruction_0':
C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/debug/moc_rasterwindow.cpp:85: undefined reference to__imp__ZN7QWindow16staticMetaObjectE' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x40): undefined reference to
QObject::eventFilter(QObject*, QEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x48): undefined reference toQObject::timerEvent(QTimerEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x50): undefined reference to
QObject::childEvent(QChildEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x58): undefined reference toQObject::customEvent(QEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x60): undefined reference to
QObject::connectNotify(QMetaMethod const&)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x68): undefined reference toQObject::disconnectNotify(QMetaMethod const&)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x70): undefined reference to
QWindow::surfaceType() const'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x78): undefined reference toQWindow::format() const' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x88): undefined reference to
QWindow::accessibleRoot() const'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x90): undefined reference toQWindow::focusObject() const' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xa8): undefined reference to
QWindow::moveEvent(QMoveEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xb0): undefined reference toQWindow::focusInEvent(QFocusEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xb8): undefined reference to
QWindow::focusOutEvent(QFocusEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xc0): undefined reference toQWindow::showEvent(QShowEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xc8): undefined reference to
QWindow::hideEvent(QHideEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xd0): undefined reference toQWindow::keyPressEvent(QKeyEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xd8): undefined reference to
QWindow::keyReleaseEvent(QKeyEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xe0): undefined reference toQWindow::mousePressEvent(QMouseEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xe8): undefined reference to
QWindow::mouseReleaseEvent(QMouseEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xf0): undefined reference toQWindow::mouseDoubleClickEvent(QMouseEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0xf8): undefined reference to
QWindow::mouseMoveEvent(QMouseEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x100): undefined reference toQWindow::wheelEvent(QWheelEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x108): undefined reference to
QWindow::touchEvent(QTouchEvent*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x110): undefined reference toQWindow::tabletEvent(QTabletEvent*)' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x118): undefined reference to
QWindow::nativeEvent(QByteArray const&, void*, long*)'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x120): undefined reference toQWindow::surfaceHandle() const' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x150): undefined reference to
non-virtual thunk to QWindow::format() const'
debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x158): undefined reference tonon-virtual thunk to QWindow::surfaceHandle() const' debug/moc_rasterwindow.o:moc_rasterwindow.cpp:(.rdata$_ZTV12RasterWindow[_ZTV12RasterWindow]+0x160): undefined reference to
non-virtual thunk to QWindow::surfaceType() const'
debug/moc_rasterwindow.o: In functionRasterWindow::~RasterWindow()': C:\Qt\Examples\Qt-5.11.3\gui\build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug/debug/../../rasterwindow/rasterwindow.h:57: undefined reference to
__imp__ZN7QWindowD2Ev'
C:/Qt/Tools/mingw730_64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o):crt0_c.c:(.text.startup+0x2e): undefined reference to `WinMain'
collect2.exe: error: ld returned 1 exit status
mingw32-make[1]: *** [Makefile.Debug:67: debug\analogclock.exe] Error 1
mingw32-make: *** [Makefile:36: debug] Error 2
mingw32-make[1]: Leaving directory 'C:/Qt/Examples/Qt-5.11.3/gui/build-analogclock-Desktop_Qt_5_11_3_MinGW_32bit-Debug'
08:34:35: Proces "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" zakończył się kodem wyjściowym 2.
Błąd budowania / instalowania projektu analogclock (zestaw narzędzi: Desktop Qt 5.11.3 MinGW 32bit)
Podczas wykonywania kroku "Make"
08:34:35: Czas trwania: 00:01.my pro file:
include(../rasterwindow/rasterwindow.pri)work-around for QTBUG-13496
CONFIG += no_batch
SOURCES +=
main.cpptarget.path = $$[QT_INSTALL_EXAMPLES]/gui/analogclock
INSTALLS += target
all done for analog clock example