Closed yjun123 closed 4 years ago
g++ -c -pipe -std=c++11 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_MAJOR_VERSION=5 -DQT_MINOR_VERSION=15 -DQT_PATCH_VERSION=0 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iclasses -Iclasses/action-handlers -Iclasses/compression -Iclasses/data -Iclasses/cmdline -Iclasses/imageeditor -Iclasses/operations -Iclasses/status -Iclasses/parser -Iclasses/parser/convert -I/home/yjun/.cache/yay/lcd-image-converter/src/lcd-image-converter/classes/preview-models -Iclasses/settings -Iclasses/settings/presets -Icontrols -Icontrols/about -Icontrols/fonts/font-changed -Icontrols/fonts/font-editor -Icontrols/fonts/font-new -Icontrols/fonts/font-preview -Icontrols/fonts/font-range -Icontrols/images -Icontrols/imageeditor -Icontrols/main -Icontrols/resize -Icontrols/save-changes -Icontrols/start -Icontrols/setup -Icontrols/setup/parts -Icontrols/setup/parts/font -Icontrols/setup/parts/image -Icontrols/setup/parts/matrix -Icontrols/setup/parts/prepare -Icontrols/setup/parts/prepare/scanning -Icontrols/setup/parts/prepare/preprocessing -Icontrols/setup/parts/reordering -Icontrols/setup/parts/templates -Icontrols/updates -Iinterfaces -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Irelease/linux/.moc -Irelease/linux/.uic -I/usr/lib/qt/mkspecs/linux-g++ -o release/linux/.obj/imageexport.o classes/operations/imageexport.cpp classes/imageeditor/toolfill.cpp: In member function ‘bool ImageEditor::Tools::ToolFill::fillArea(int, int, const QColor&)’: classes/imageeditor/toolfill.cpp:194:41: error: invalid use of incomplete type ‘const class QPainterPath’ 194 | if (!this->mParameters->selectedPath().isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt/QtGui/qtransform.h:43, from /usr/include/qt/QtGui/qimage.h:48, from /usr/include/qt/QtGui/QImage:1, from classes/imageeditor/toolfill.h:24, from classes/imageeditor/toolfill.cpp:20: /usr/include/qt/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ classes/imageeditor/toolrect.cpp: In member function ‘void ImageEditor::Tools::ToolRect::drawRect(const QRect&, ImageEditor::Tools::ToolRect::OutlineMode, int, bool)’: classes/imageeditor/toolrect.cpp:233:39: error: invalid use of incomplete type ‘const class QPainterPath’ 233 | if (!this->mParameters->selectedPath().isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt/QtGui/qtransform.h:43, from /usr/include/qt/QtGui/qimage.h:48, from /usr/include/qt/QtGui/QImage:1, from classes/imageeditor/toolrect.h:24, from classes/imageeditor/toolrect.cpp:20: /usr/include/qt/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ classes/imageeditor/toolline.cpp: In member function ‘void ImageEditor::Tools::ToolLine::drawLine(const QRect&, int, bool)’: classes/imageeditor/toolline.cpp:193:39: error: invalid use of incomplete type ‘const class QPainterPath’ 193 | if (!this->mParameters->selectedPath().isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt/QtGui/qtransform.h:43, from /usr/include/qt/QtGui/qimage.h:48, from /usr/include/qt/QtGui/QImage:1, from classes/imageeditor/toolline.h:24, from classes/imageeditor/toolline.cpp:20: /usr/include/qt/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ classes/imageeditor/toolpen.cpp: In member function ‘void ImageEditor::Tools::ToolPen::drawPixel(int, int, const QColor&)’: classes/imageeditor/toolpen.cpp:187:39: error: invalid use of incomplete type ‘const class QPainterPath’ 187 | if (!this->mParameters->selectedPath().isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt/QtGui/qtransform.h:43, from /usr/include/qt/QtGui/qimage.h:48, from /usr/include/qt/QtGui/QImage:1, from classes/imageeditor/toolpen.h:24, from classes/imageeditor/toolpen.cpp:20: /usr/include/qt/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ g++ -c -pipe -std=c++11 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_MAJOR_VERSION=5 -DQT_MINOR_VERSION=15 -DQT_PATCH_VERSION=0 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iclasses -Iclasses/action-handlers -Iclasses/compression -Iclasses/data -Iclasses/cmdline -Iclasses/imageeditor -Iclasses/operations -Iclasses/status -Iclasses/parser -Iclasses/parser/convert -I/home/yjun/.cache/yay/lcd-image-converter/src/lcd-image-converter/classes/preview-models -Iclasses/settings -Iclasses/settings/presets -Icontrols -Icontrols/about -Icontrols/fonts/font-changed -Icontrols/fonts/font-editor -Icontrols/fonts/font-new -Icontrols/fonts/font-preview -Icontrols/fonts/font-range -Icontrols/images -Icontrols/imageeditor -Icontrols/main -Icontrols/resize -Icontrols/save-changes -Icontrols/start -Icontrols/setup -Icontrols/setup/parts -Icontrols/setup/parts/font -Icontrols/setup/parts/image -Icontrols/setup/parts/matrix -Icontrols/setup/parts/prepare -Icontrols/setup/parts/prepare/scanning -Icontrols/setup/parts/prepare/preprocessing -Icontrols/setup/parts/reordering -Icontrols/setup/parts/templates -Icontrols/updates -Iinterfaces -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Irelease/linux/.moc -Irelease/linux/.uic -I/usr/lib/qt/mkspecs/linux-g++ -o release/linux/.obj/imageflip.o classes/operations/imageflip.cpp make: *** [Makefile:2399: release/linux/.obj/toolfill.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:2407: release/linux/.obj/toolline.o] Error 1 make: *** [Makefile:2454: release/linux/.obj/toolrect.o] Error 1 make: *** [Makefile:2446: release/linux/.obj/toolpen.o] Error 1
Qt version: 5.15.0 make version: 4.3 gcc version: 10.1.0
Look at just previous issue https://github.com/riuson/lcd-image-converter/issues/58
Qt version: 5.15.0 make version: 4.3 gcc version: 10.1.0