Encountered an issue while running 'make'.
Closed this issue · 1 comments
[ 2%] Automatic MOC for target lightlycommon5
[ 2%] Built target lightlycommon5_autogen
[ 2%] Building CXX object liblightlycommon/CMakeFiles/lightlycommon5.dir/lightlyboxshadowrenderer.cpp.o
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:85:39: error: expected ‘)’ before ‘name’
85 | explicit inline QColor(QStringView name);
| ~ ^~~~~
| )
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:112:24: error: ‘QStringView’ has not been declared
112 | void setNamedColor(QStringView name);
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:248:30: error: ‘QStringView’ has not been declared
248 | static bool isValidColor(QStringView) noexcept;
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:324:8: error: ‘int QColor::QColor’ is not a static data member of ‘class QColor’
324 | inline QColor::QColor(QStringView aname)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:324:23: error: ‘QStringView’ was not declared in this scope; did you mean ‘QStringList’?
324 | inline QColor::QColor(QStringView aname)
| ^~~~~~~~~~~
| QStringList
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:26,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:223:5: error: ‘qsizetype’ does not name a type
223 | qsizetype sizeInBytes() const;
| ^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:25:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:92:33: error: expected ‘}’ before ‘Q_DECL_ENUMERATOR_DEPRECATED_X’
92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:87:21: note: to match this ‘{’
87 | enum RenderHint {
| ^
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:92:64: error: expected identifier before string constant
92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:92:64: error: expected ‘,’ or ‘...’ before string constant
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:87:5: error: new types may not be defined in a return type
87 | enum RenderHint {
| ^~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:87:5: note: (perhaps a semicolon is missing after the definition of ‘QPainter::RenderHint’)
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:92:98: error: invalid pure specifier (only ‘= 0’ is allowed) before ‘,’ token
92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08,
| ^
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:96:38: error: expected ‘;’ at end of member declaration
96 | LosslessImageRendering = 0x40,
| ^
| ;
In file included from /home/sahilgarg/anaconda3/include/qt/QtGui/qtguiglobal.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h: In member function ‘QPainterPrivate* QPainter::d_func()’:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:83:5: error: ‘d_ptr’ was not declared in this scope
83 | Q_DECLARE_PRIVATE(QPainter)
| ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h: In member function ‘const QPainterPrivate* QPainter::d_func() const’:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:83:5: error: ‘d_ptr’ was not declared in this scope
83 | Q_DECLARE_PRIVATE(QPainter)
| ^~~~~~~~~~~~~~~~~
In file included from /home/sahilgarg/anaconda3/include/qt/QtGui/qwindowdefs.h:44,
from /home/sahilgarg/anaconda3/include/qt/QtGui/qpaintdevice.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:26,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h: At global scope:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:98:5: error: ‘friend’ used outside of class
98 | Q_FLAG(RenderHint)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:98:5: error: ‘constexpr const QMetaObject* const qt_getEnumMetaObject’ redeclared as different kind of entity
98 | Q_FLAG(RenderHint)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:139:5: note: previous declaration ‘constexpr const QMetaObject* qt_getEnumMetaObject(QImage::Format)’
139 | Q_ENUM(Format)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:98:5: error: ‘RenderHint’ was not declared in this scope
98 | Q_FLAG(RenderHint)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:98:5: error: ‘friend’ used outside of class
98 | Q_FLAG(RenderHint)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:98:5: error: ‘constexpr const char* const qt_getEnumName’ redeclared as different kind of entity
98 | Q_FLAG(RenderHint)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:139:5: note: previous declaration ‘constexpr const char* qt_getEnumName(QImage::Format)’
139 | Q_ENUM(Format)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:98:5: error: ‘RenderHint’ was not declared in this scope
98 | Q_FLAG(RenderHint)
| ^~~~~~
In file included from /home/sahilgarg/anaconda3/include/qt/QtCore/qglobal.h:1156,
from /home/sahilgarg/anaconda3/include/qt/QtGui/qtguiglobal.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:100:5: error: ‘RenderHint’ was not declared in this scope
100 | Q_DECLARE_FLAGS(RenderHints, RenderHint)
| ^~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:100:5: error: template argument 1 is invalid
100 | Q_DECLARE_FLAGS(RenderHints, RenderHint)
| ^~~~~~~~~~~~~~~
In file included from /home/sahilgarg/anaconda3/include/qt/QtGui/qwindowdefs.h:44,
from /home/sahilgarg/anaconda3/include/qt/QtGui/qpaintdevice.h:44,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:26,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:101:5: error: ‘friend’ used outside of class
101 | Q_FLAG(RenderHints)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h: In function ‘constexpr const QMetaObject* qt_getEnumMetaObject(RenderHints)’:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:101:5: error: ‘staticMetaObject’ was not declared in this scope; did you mean ‘qt_getQtMetaObject’?
101 | Q_FLAG(RenderHints)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:101:5: error: body of ‘constexpr’ function ‘constexpr const QMetaObject* qt_getEnumMetaObject(RenderHints)’not a return-statement
101 | Q_FLAG(RenderHints)
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h: At global scope:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:101:5: error: ‘friend’ used outside of class
101 | Q_FLAG(RenderHints)
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:25:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:126:14: error: expected unqualified-id before ‘)’ token
126 | QPainter();
| ^
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:127:35: error: expected ‘)’ before ‘*’ token
127 | explicit QPainter(QPaintDevice );
| ~ ^~
| )
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:128:16: error: expected constructor, destructor, or type conversion before ‘;’ token
128 | ~QPainter();
| ^
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:130:28: error: non-member function ‘QPaintDevice device()’ cannot have cv-qualifier
130 | QPaintDevice device() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:134:21: error: non-member function ‘bool isActive()’ cannot have cv-qualifier
134 | bool isActive() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:186:39: error: non-member function ‘CompositionMode compositionMode()’ cannot have cv-qualifier
186 | CompositionMode compositionMode() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:188:25: error: non-member function ‘const QFont& font()’ cannot have cv-qualifier
188 | const QFont &font() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:191:32: error: non-member function ‘QFontMetrics fontMetrics()’ cannot have cv-qualifier
191 | QFontMetrics fontMetrics() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:192:26: error: non-member function ‘QFontInfo fontInfo()’ cannot have cv-qualifier
192 | QFontInfo fontInfo() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:197:23: error: non-member function ‘const QPen& pen()’ cannot have cv-qualifier
197 | const QPen &pen() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:201:27: error: non-member function ‘const QBrush& brush()’ cannot have cv-qualifier
201 | const QBrush &brush() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:205:33: error: non-member function ‘Qt::BGMode backgroundMode()’ cannot have cv-qualifier
205 | Qt::BGMode backgroundMode() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:207:26: error: non-member function ‘QPoint brushOrigin()’ cannot have cv-qualifier
207 | QPoint brushOrigin() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:213:32: error: non-member function ‘const QBrush& background()’ cannot have cv-qualifier
213 | const QBrush &background() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:215:21: error: non-member function ‘qreal opacity()’ cannot have cv-qualifier
215 | qreal opacity() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:219:26: error: non-member function ‘QRegion clipRegion()’ cannot have cv-qualifier
219 | QRegion clipRegion() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:220:29: error: non-member function ‘QPainterPath clipPath()’ cannot have cv-qualifier
220 | QPainterPath clipPath() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:231:24: error: non-member function ‘bool hasClipping()’ cannot have cv-qualifier
231 | bool hasClipping() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:233:31: error: non-member function ‘QRectF clipBoundingRect()’ cannot have cv-qualifier
233 | QRectF clipBoundingRect() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:243:29: error: non-member function ‘const QMatrix& matrix()’ cannot have cv-qualifier
243 | const QMatrix &matrix() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:245:35: error: non-member function ‘const QMatrix& deviceMatrix()’ cannot have cv-qualifier
245 | const QMatrix &deviceMatrix() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:251:35: error: non-member function ‘const QTransform& transform()’ cannot have cv-qualifier
251 | const QTransform &transform() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:252:41: error: non-member function ‘const QTransform& deviceTransform()’ cannot have cv-qualifier
252 | const QTransform &deviceTransform() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:259:34: error: non-member function ‘const QMatrix& worldMatrix()’ cannot have cv-qualifier
259 | const QMatrix &worldMatrix() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:261:30: error: non-member function ‘QMatrix combinedMatrix()’ cannot have cv-qualifier
261 | QMatrix combinedMatrix() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:265:26: error: non-member function ‘bool matrixEnabled()’ cannot have cv-qualifier
265 | bool matrixEnabled() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:269:40: error: non-member function ‘const QTransform& worldTransform()’ cannot have cv-qualifier
269 | const QTransform &worldTransform() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:271:36: error: non-member function ‘QTransform combinedTransform()’ cannot have cv-qualifier
271 | QTransform combinedTransform() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:274:31: error: non-member function ‘bool worldMatrixEnabled()’ cannot have cv-qualifier
274 | bool worldMatrixEnabled() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:284:20: error: non-member function ‘QRect window()’ cannot have cv-qualifier
284 | QRect window() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:288:22: error: non-member function ‘QRect viewport()’ cannot have cv-qualifier
288 | QRect viewport() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:293:33: error: non-member function ‘bool viewTransformEnabled()’ cannot have cv-qualifier
293 | bool viewTransformEnabled() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:425:43: error: non-member function ‘Qt::LayoutDirection layoutDirection()’ cannot have cv-qualifier
425 | Qt::LayoutDirection layoutDirection() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:473:65: error: ‘QGradient::Preset’ has not been declared
473 | inline void fillRect(int x, int y, int w, int h, QGradient::Preset preset);
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:474:53: error: ‘QGradient::Preset’ has not been declared
474 | inline void fillRect(const QRect &r, QGradient::Preset preset);
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:475:54: error: ‘QGradient::Preset’ has not been declared
475 | inline void fillRect(const QRectF &r, QGradient::Preset preset);
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:481:24: error: variable or field ‘setRenderHint’ declared void
481 | void setRenderHint(RenderHint hint, bool on = true);
| ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:481:24: error: ‘RenderHint’ was not declared in this scope; did you mean ‘RenderHints’?
481 | void setRenderHint(RenderHint hint, bool on = true);
| ^~~~~~~~~~
| RenderHints
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:481:41: error: expected primary-expression before ‘bool’
481 | void setRenderHint(RenderHint hint, bool on = true);
| ^~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:483:31: error: non-member function ‘RenderHints renderHints()’ cannot have cv-qualifier
483 | RenderHints renderHints() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:484:32: error: ‘RenderHint’ was not declared in this scope; did you mean ‘RenderHints’?
484 | inline bool testRenderHint(RenderHint hint) const { return renderHints() & hint; }
| ^~~~~~~~~~
| RenderHints
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:486:33: error: non-member function ‘QPaintEngine paintEngine()’ cannot have cv-qualifier
486 | QPaintEngine *paintEngine() const;
| ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:501:1: error: expected unqualified-id before ‘private’
501 | private:
| ^~~~~~~
In file included from /home/sahilgarg/anaconda3/include/qt/QtGui/qtguiglobal.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:502:5: error: ‘QPainter& operator=(const QPainter&)’ must be a nonstatic member function
502 | Q_DISABLE_COPY(QPainter)
| ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1,
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:25:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:506:5: error: ‘friend’ used outside of class
506 | friend class QWidget;
^~~~~~ |
---|
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:507:5: error: ‘friend’ used outside of class |
507 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:508:5: error: ‘friend’ used outside of class |
508 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:509:5: error: ‘friend’ used outside of class |
509 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:510:5: error: ‘friend’ used outside of class |
510 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:511:5: error: ‘friend’ used outside of class |
511 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:512:5: error: ‘friend’ used outside of class |
512 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:513:5: error: ‘friend’ used outside of class |
513 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:514:5: error: ‘friend’ used outside of class |
514 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:515:5: error: ‘friend’ used outside of class |
515 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:516:5: error: ‘friend’ used outside of class |
516 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:517:5: error: ‘friend’ used outside of class |
517 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:518:5: error: ‘friend’ used outside of class |
518 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:519:5: error: ‘friend’ used outside of class |
519 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:520:5: error: ‘friend’ used outside of class |
520 |
^~~~~~ |
------ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:521:1: error: expected declaration before ‘}’ token |
521 |
^ |
In file included from /home/sahilgarg/anaconda3/include/qt/QtCore/qglobal.h:1152, |
from /home/sahilgarg/anaconda3/include/qt/QtGui/qtguiglobal.h:43, |
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:43, |
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22: |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:522:1: error: ‘PixmapFragment’ is not a member of ‘QPainter’ |
522 |
^~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:522:1: error: ‘PixmapFragment’ is not a member of ‘QPainter’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:522:1: error: template argument 1 is invalid |
522 |
^~~~~~~~~~~~~~~~~~ |
In file included from /home/sahilgarg/anaconda3/include/qt/QtCore/qglobal.h:1156, |
from /home/sahilgarg/anaconda3/include/qt/QtGui/qtguiglobal.h:43, |
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:43, |
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QColor:1, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22: |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘RenderHints’ is not a member of ‘QPainter’ |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘RenderHints’ is not a member of ‘QPainter’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: template argument 1 is invalid |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: declaration of ‘operator |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘QPainter::RenderHints’ has not been declared |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘QPainter::RenderHints’ has not been declared |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘RenderHints’ is not a member of ‘QPainter’ |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘RenderHints’ is not a member of ‘QPainter’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: template argument 1 is invalid |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: declaration of ‘operator |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘QPainter::RenderHints’ has not been declared |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘RenderHints’ is not a member of ‘QPainter’ |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘RenderHints’ is not a member of ‘QPainter’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: template argument 1 is invalid |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: declaration of ‘operator |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: ‘QPainter::RenderHints’ has not been declared |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:524:1: error: expected primary-expression before ‘int’ |
524 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:25: |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:529:13: error: no declaration matches ‘void QPainter::drawLine(const QLineF&)’ |
529 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:529:13: note: no functions named ‘void QPainter::drawLine(const QLineF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:534:13: error: no declaration matches ‘void QPainter::drawLine(const QLine&)’ |
534 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:534:13: note: no functions named ‘void QPainter::drawLine(const QLine&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:539:13: error: no declaration matches ‘void QPainter::drawLine(int, int, int, int)’ |
539 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:539:13: note: no functions named ‘void QPainter::drawLine(int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:545:13: error: no declaration matches ‘void QPainter::drawLine(const QPoint&, const QPoint&)’ |
545 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:545:13: note: no functions named ‘void QPainter::drawLine(const QPoint&, const QPoint&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:551:13: error: no declaration matches ‘void QPainter::drawLine(const QPointF&, const QPointF&)’ |
551 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:551:13: note: no functions named ‘void QPainter::drawLine(const QPointF&, const QPointF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:556:13: error: no declaration matches ‘void QPainter::drawLines(const QVector&)’ |
556 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:556:13: note: no functions named ‘void QPainter::drawLines(const QVector&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:561:13: error: no declaration matches ‘void QPainter::drawLines(const QVector&)’ |
561 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:561:13: note: no functions named ‘void QPainter::drawLines(const QVector&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:566:13: error: no declaration matches ‘void QPainter::drawLines(const QVector&)’ |
566 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:566:13: note: no functions named ‘void QPainter::drawLines(const QVector&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:571:13: error: no declaration matches ‘void QPainter::drawLines(const QVector&)’ |
571 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:571:13: note: no functions named ‘void QPainter::drawLines(const QVector&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:576:13: error: no declaration matches ‘void QPainter::drawPolyline(const QPolygonF&)’ |
576 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:576:13: note: no functions named ‘void QPainter::drawPolyline(const QPolygonF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:581:13: error: no declaration matches ‘void QPainter::drawPolyline(const QPolygon&)’ |
581 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:581:13: note: no functions named ‘void QPainter::drawPolyline(const QPolygon&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:586:13: error: no declaration matches ‘void QPainter::drawPolygon(const QPolygonF&, Qt::FillRule)’ |
586 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:586:13: note: no functions named ‘void QPainter::drawPolygon(const QPolygonF&, Qt::FillRule)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:591:13: error: no declaration matches ‘void QPainter::drawPolygon(const QPolygon&, Qt::FillRule)’ |
591 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:591:13: note: no functions named ‘void QPainter::drawPolygon(const QPolygon&, Qt::FillRule)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:596:13: error: no declaration matches ‘void QPainter::drawConvexPolygon(const QPolygonF&)’ |
596 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:596:13: note: no functions named ‘void QPainter::drawConvexPolygon(const QPolygonF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:601:13: error: no declaration matches ‘void QPainter::drawConvexPolygon(const QPolygon&)’ |
601 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:601:13: note: no functions named ‘void QPainter::drawConvexPolygon(const QPolygon&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:606:13: error: no declaration matches ‘void QPainter::drawRect(const QRectF&)’ |
606 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:606:13: note: no functions named ‘void QPainter::drawRect(const QRectF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:611:13: error: no declaration matches ‘void QPainter::drawRect(int, int, int, int)’ |
611 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:611:13: note: no functions named ‘void QPainter::drawRect(int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:617:13: error: no declaration matches ‘void QPainter::drawRect(const QRect&)’ |
617 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:617:13: note: no functions named ‘void QPainter::drawRect(const QRect&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:622:13: error: no declaration matches ‘void QPainter::drawRects(const QVector&)’ |
622 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:622:13: note: no functions named ‘void QPainter::drawRects(const QVector&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:627:13: error: no declaration matches ‘void QPainter::drawRects(const QVector&)’ |
627 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:627:13: note: no functions named ‘void QPainter::drawRects(const QVector&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:632:13: error: no declaration matches ‘void QPainter::drawPoint(const QPointF&)’ |
632 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:632:13: note: no functions named ‘void QPainter::drawPoint(const QPointF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:637:13: error: no declaration matches ‘void QPainter::drawPoint(int, int)’ |
637 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:637:13: note: no functions named ‘void QPainter::drawPoint(int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:643:13: error: no declaration matches ‘void QPainter::drawPoint(const QPoint&)’ |
643 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:643:13: note: no functions named ‘void QPainter::drawPoint(const QPoint&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:648:13: error: no declaration matches ‘void QPainter::drawPoints(const QPolygonF&)’ |
648 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:648:13: note: no functions named ‘void QPainter::drawPoints(const QPolygonF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:653:13: error: no declaration matches ‘void QPainter::drawPoints(const QPolygon&)’ |
653 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:653:13: note: no functions named ‘void QPainter::drawPoints(const QPolygon&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:658:13: error: no declaration matches ‘void QPainter::drawRoundedRect(int, int, int, int, qreal, qreal, Qt::SizeMode)’ |
658 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:658:13: note: no functions named ‘void QPainter::drawRoundedRect(int, int, int, int, qreal, qreal, Qt::SizeMode)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:664:13: error: no declaration matches ‘void QPainter::drawRoundedRect(const QRect&, qreal, qreal, Qt::SizeMode)’ |
664 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:664:13: note: no functions named ‘void QPainter::drawRoundedRect(const QRect&, qreal, qreal, Qt::SizeMode)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:670:13: error: no declaration matches ‘void QPainter::drawEllipse(int, int, int, int)’ |
670 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:670:13: note: no functions named ‘void QPainter::drawEllipse(int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:675:13: error: no declaration matches ‘void QPainter::drawEllipse(const QPointF&, qreal, qreal)’ |
675 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:675:13: note: no functions named ‘void QPainter::drawEllipse(const QPointF&, qreal, qreal)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:680:13: error: no declaration matches ‘void QPainter::drawEllipse(const QPoint&, int, int)’ |
680 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:680:13: note: no functions named ‘void QPainter::drawEllipse(const QPoint&, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:685:13: error: no declaration matches ‘void QPainter::drawArc(const QRect&, int, int)’ |
685 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:685:13: note: no functions named ‘void QPainter::drawArc(const QRect&, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:690:13: error: no declaration matches ‘void QPainter::drawArc(int, int, int, int, int, int)’ |
690 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:690:13: note: no functions named ‘void QPainter::drawArc(int, int, int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:695:13: error: no declaration matches ‘void QPainter::drawPie(const QRect&, int, int)’ |
695 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:695:13: note: no functions named ‘void QPainter::drawPie(const QRect&, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:700:13: error: no declaration matches ‘void QPainter::drawPie(int, int, int, int, int, int)’ |
700 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:700:13: note: no functions named ‘void QPainter::drawPie(int, int, int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:705:13: error: no declaration matches ‘void QPainter::drawChord(const QRect&, int, int)’ |
705 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:705:13: note: no functions named ‘void QPainter::drawChord(const QRect&, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:710:13: error: no declaration matches ‘void QPainter::drawChord(int, int, int, int, int, int)’ |
710 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:710:13: note: no functions named ‘void QPainter::drawChord(int, int, int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:715:13: error: no declaration matches ‘void QPainter::setClipRect(int, int, int, int, Qt::ClipOperation)’ |
715 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:715:13: note: no functions named ‘void QPainter::setClipRect(int, int, int, int, Qt::ClipOperation)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:720:13: error: no declaration matches ‘void QPainter::eraseRect(const QRect&)’ |
720 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:720:13: note: no functions named ‘void QPainter::eraseRect(const QRect&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:725:13: error: no declaration matches ‘void QPainter::eraseRect(int, int, int, int)’ |
725 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:725:13: note: no functions named ‘void QPainter::eraseRect(int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:730:13: error: no declaration matches ‘void QPainter::fillRect(int, int, int, int, const QBrush&)’ |
730 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:730:13: note: no functions named ‘void QPainter::fillRect(int, int, int, int, const QBrush&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:735:13: error: no declaration matches ‘void QPainter::fillRect(int, int, int, int, const QColor&)’ |
735 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:735:13: note: no functions named ‘void QPainter::fillRect(int, int, int, int, const QColor&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:740:13: error: no declaration matches ‘void QPainter::fillRect(int, int, int, int, Qt::GlobalColor)’ |
740 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:740:13: note: no functions named ‘void QPainter::fillRect(int, int, int, int, Qt::GlobalColor)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:745:13: error: no declaration matches ‘void QPainter::fillRect(const QRect&, Qt::GlobalColor)’ |
745 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:745:13: note: no functions named ‘void QPainter::fillRect(const QRect&, Qt::GlobalColor)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:750:13: error: no declaration matches ‘void QPainter::fillRect(const QRectF&, Qt::GlobalColor)’ |
750 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:750:13: note: no functions named ‘void QPainter::fillRect(const QRectF&, Qt::GlobalColor)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:755:13: error: no declaration matches ‘void QPainter::fillRect(int, int, int, int, Qt::BrushStyle)’ |
755 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:755:13: note: no functions named ‘void QPainter::fillRect(int, int, int, int, Qt::BrushStyle)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:760:13: error: no declaration matches ‘void QPainter::fillRect(const QRect&, Qt::BrushStyle)’ |
760 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:760:13: note: no functions named ‘void QPainter::fillRect(const QRect&, Qt::BrushStyle)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:765:13: error: no declaration matches ‘void QPainter::fillRect(const QRectF&, Qt::BrushStyle)’ |
765 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:765:13: note: no functions named ‘void QPainter::fillRect(const QRectF&, Qt::BrushStyle)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:770:71: error: ‘QGradient::Preset’ has not been declared |
770 |
^~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:770:13: error: no declaration matches ‘void QPainter::fillRect(int, int, int, int, int)’ |
770 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:770:13: note: no functions named ‘void QPainter::fillRect(int, int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:775:59: error: ‘QGradient::Preset’ has not been declared |
775 |
^~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:775:13: error: no declaration matches ‘void QPainter::fillRect(const QRect&, int)’ |
775 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:775:13: note: no functions named ‘void QPainter::fillRect(const QRect&, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:780:60: error: ‘QGradient::Preset’ has not been declared |
780 |
^~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:780:13: error: no declaration matches ‘void QPainter::fillRect(const QRectF&, int)’ |
780 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:780:13: note: no functions named ‘void QPainter::fillRect(const QRectF&, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:785:13: error: no declaration matches ‘void QPainter::setBrushOrigin(int, int)’ |
785 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:785:13: note: no functions named ‘void QPainter::setBrushOrigin(int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:790:13: error: no declaration matches ‘void QPainter::setBrushOrigin(const QPoint&)’ |
790 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:790:13: note: no functions named ‘void QPainter::setBrushOrigin(const QPoint&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:795:13: error: no declaration matches ‘void QPainter::drawTiledPixmap(const QRect&, const QPixmap&, const QPoint&)’ |
795 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:795:13: note: no functions named ‘void QPainter::drawTiledPixmap(const QRect&, const QPixmap&, const QPoint&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:800:13: error: no declaration matches ‘void QPainter::drawTiledPixmap(int, int, int, int, const QPixmap&, int, int)’ |
800 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:800:13: note: no functions named ‘void QPainter::drawTiledPixmap(int, int, int, int, const QPixmap&, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:805:13: error: no declaration matches ‘void QPainter::drawPixmap(const QRect&, const QPixmap&, const QRect&)’ |
805 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:805:13: note: no functions named ‘void QPainter::drawPixmap(const QRect&, const QPixmap&, const QRect&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:810:13: error: no declaration matches ‘void QPainter::drawPixmap(const QPoint&, const QPixmap&)’ |
810 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:810:13: note: no functions named ‘void QPainter::drawPixmap(const QPoint&, const QPixmap&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:815:13: error: no declaration matches ‘void QPainter::drawPixmap(const QRect&, const QPixmap&)’ |
815 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:815:13: note: no functions named ‘void QPainter::drawPixmap(const QRect&, const QPixmap&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:820:13: error: no declaration matches ‘void QPainter::drawPixmap(int, int, const QPixmap&)’ |
820 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:820:13: note: no functions named ‘void QPainter::drawPixmap(int, int, const QPixmap&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:825:13: error: no declaration matches ‘void QPainter::drawPixmap(int, int, int, int, const QPixmap&)’ |
825 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:825:13: note: no functions named ‘void QPainter::drawPixmap(int, int, int, int, const QPixmap&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:830:13: error: no declaration matches ‘void QPainter::drawPixmap(int, int, int, int, const QPixmap&, int, int, int, int)’ |
830 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:830:13: note: no functions named ‘void QPainter::drawPixmap(int, int, int, int, const QPixmap&, int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:836:13: error: no declaration matches ‘void QPainter::drawPixmap(int, int, const QPixmap&, int, int, int, int)’ |
836 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:836:13: note: no functions named ‘void QPainter::drawPixmap(int, int, const QPixmap&, int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:842:13: error: no declaration matches ‘void QPainter::drawPixmap(const QPointF&, const QPixmap&, const QRectF&)’ |
842 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:842:13: note: no functions named ‘void QPainter::drawPixmap(const QPointF&, const QPixmap&, const QRectF&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:847:13: error: no declaration matches ‘void QPainter::drawPixmap(const QPoint&, const QPixmap&, const QRect&)’ |
847 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:847:13: note: no functions named ‘void QPainter::drawPixmap(const QPoint&, const QPixmap&, const QRect&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:852:13: error: no declaration matches ‘void QPainter::drawTextItem(int, int, const QTextItem&)’ |
852 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:852:13: note: no functions named ‘void QPainter::drawTextItem(int, int, const QTextItem&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:857:13: error: no declaration matches ‘void QPainter::drawImage(const QRect&, const QImage&, const QRect&, Qt::ImageConversionFlags)’ |
857 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:857:13: note: no functions named ‘void QPainter::drawImage(const QRect&, const QImage&, const QRect&, Qt::ImageConversionFlags)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:863:13: error: no declaration matches ‘void QPainter::drawImage(const QPointF&, const QImage&, const QRectF&, Qt::ImageConversionFlags)’ |
863 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:863:13: note: no functions named ‘void QPainter::drawImage(const QPointF&, const QImage&, const QRectF&, Qt::ImageConversionFlags)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:869:13: error: no declaration matches ‘void QPainter::drawImage(const QPoint&, const QImage&, const QRect&,Qt::ImageConversionFlags)’ |
869 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:869:13: note: no functions named ‘void QPainter::drawImage(const QPoint&, const QImage&, const QRect&, Qt::ImageConversionFlags)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:876:13: error: no declaration matches ‘void QPainter::drawImage(const QRectF&, const QImage&)’ |
876 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:876:13: note: no functions named ‘void QPainter::drawImage(const QRectF&, const QImage&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:881:13: error: no declaration matches ‘void QPainter::drawImage(const QRect&, const QImage&)’ |
881 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:881:13: note: no functions named ‘void QPainter::drawImage(const QRect&, const QImage&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:886:13: error: no declaration matches ‘void QPainter::drawImage(const QPoint&, const QImage&)’ |
886 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:886:13: note: no functions named ‘void QPainter::drawImage(const QPoint&, const QImage&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:891:13: error: no declaration matches ‘void QPainter::drawImage(int, int, const QImage&, int, int, int, int, Qt::ImageConversionFlags)’ |
891 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:891:13: note: no functions named ‘void QPainter::drawImage(int, int, const QImage&, int, int, int, int, Qt::ImageConversionFlags)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:900:13: error: no declaration matches ‘void QPainter::drawStaticText(const QPoint&, const QStaticText&)’ |
900 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:900:13: note: no functions named ‘void QPainter::drawStaticText(const QPoint&, const QStaticText&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:905:13: error: no declaration matches ‘void QPainter::drawStaticText(int, int, const QStaticText&)’ |
905 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:905:13: note: no functions named ‘void QPainter::drawStaticText(int, int, const QStaticText&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:910:13: error: no declaration matches ‘void QPainter::drawTextItem(const QPoint&, const QTextItem&)’ |
910 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:910:13: note: no functions named ‘void QPainter::drawTextItem(const QPoint&, const QTextItem&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:915:13: error: no declaration matches ‘void QPainter::drawText(const QPoint&, const QString&)’ |
915 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:915:13: note: no functions named ‘void QPainter::drawText(const QPoint&, const QString&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:920:13: error: no declaration matches ‘void QPainter::drawText(int, int, int, int, int, const QString&, QRect*)’ |
920 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:920:13: note: no functions named ‘void QPainter::drawText(int, int, int, int, int, const QString&, QRect*)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:925:13: error: no declaration matches ‘void QPainter::drawText(int, int, const QString&)’ |
925 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:925:13: note: no functions named ‘void QPainter::drawText(int, int, const QString&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:930:14: error: no declaration matches ‘QRect QPainter::boundingRect(int, int, int, int, int, const QString&)’ |
930 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:930:14: note: no functions named ‘QRect QPainter::boundingRect(int, int, int, int, int, const QString&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:935:13: error: no declaration matches ‘void QPainter::translate(qreal, qreal)’ |
935 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:935:13: note: no functions named ‘void QPainter::translate(qreal, qreal)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:940:13: error: no declaration matches ‘void QPainter::translate(const QPoint&)’ |
940 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:940:13: note: no functions named ‘void QPainter::translate(const QPoint&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:945:13: error: no declaration matches ‘void QPainter::setViewport(int, int, int, int)’ |
945 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:945:13: note: no functions named ‘void QPainter::setViewport(int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:950:13: error: no declaration matches ‘void QPainter::setWindow(int, int, int, int)’ |
950 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:950:13: note: no functions named ‘void QPainter::setWindow(int, int, int, int)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:956:13: error: no declaration matches ‘void QPainter::drawPicture(int, int, const QPicture&)’ |
956 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:956:13: note: no functions named ‘void QPainter::drawPicture(int, int, const QPicture&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:961:13: error: no declaration matches ‘void QPainter::drawPicture(const QPoint&, const QPicture&)’ |
961 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:961:13: note: no functions named ‘void QPainter::drawPicture(const QPoint&, const QPicture&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: ‘class QPainter’ defined here |
81 |
^~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp: In function ‘void Lightly::renderShadow(QPainter*, const QRect&, qreal, const QPoint&, int, const QColor&)’: |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:250:32: error: ‘class QPainter’ has no member named ‘device’ |
250 |
^~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:263:19: error: ‘class QPainter’ has no member named ‘begin’ |
263 |
^~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:264:19: error: ‘class QPainter’ has no member named ‘setRenderHint’; did you mean ‘RenderHint’? |
264 |
^~~~~~~~~~~~~ |
RenderHint |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:265:19: error: ‘class QPainter’ has no member named ‘setPen’ |
265 |
^~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:266:19: error: ‘class QPainter’ has no member named ‘setBrush’ |
266 |
^~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:269:19: error: ‘class QPainter’ has no member named ‘drawRoundedRect’ |
269 |
^~~~~~~~~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:270:19: error: ‘class QPainter’ has no member named ‘end’ |
270 |
^~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:280:19: error: ‘class QPainter’ has no member named ‘begin’ |
280 |
^~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:281:19: error: ‘class QPainter’ has no member named ‘setCompositionMode’ |
281 |
^~~~~~~~~~~~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:281:48: error: ‘CompositionMode_SourceIn’ is not a member of ‘QPainter’ |
281 |
^~~~~~~~~~~~~~~~~~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:282:19: error: ‘class QPainter’ has no member named ‘fillRect’ |
282 |
^~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:283:19: error: ‘class QPainter’ has no member named ‘end’ |
283 |
^~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:289:14: error: ‘class QPainter’ has no member named ‘drawImage’ |
289 |
^~~~~~~~~ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp: In member function ‘QImage Lightly::BoxShadowRenderer::render() const’: |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:335:29: error: no matching function for call to ‘QPainter::QPainter(QImage*)’ |
335 |
^ |
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QPainter:1, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:25: |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: candidate: ‘constexpr QPainter::QPainter()’ |
81 |
^~~~~~~~ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: candidate expects 0 arguments, 1 provided |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: candidate: ‘constexpr QPainter::QPainter(const QPainter&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: no known conversion for argument 1 from ‘QImage*’ to ‘const QPainter&’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: candidate: ‘constexpr QPainter::QPainter(QPainter&&)’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:81:20: note: no known conversion for argument 1 from ‘QImage*’ to ‘QPainter&&’ |
/home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:339:13: error: ‘class QPainter’ has no member named ‘end’ |
339 |
^~~ |
In file included from /home/sahilgarg/anaconda3/include/qt/QtCore/qdatastream.h:43, |
from /home/sahilgarg/anaconda3/include/qt/QtGui/qregion.h:49, |
from /home/sahilgarg/anaconda3/include/qt/QtGui/qmatrix.h:45, |
from /home/sahilgarg/anaconda3/include/qt/QtGui/qtransform.h:43, |
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48, |
from /usr/include/x86_64-linux-gnu/qt5/QtGui/QImage:1, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:26, |
from /home/sahilgarg/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22: |
/home/sahilgarg/anaconda3/include/qt/QtCore/qscopedpointer.h: In instantiation of ‘static void QScopedPointerDeleter::cleanup(T*) [with T = QPainterPrivate]’: |
/home/sahilgarg/anaconda3/include/qt/QtCore/qscopedpointer.h:107:25: required from ‘QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QPainterPrivate;Cleanup = QScopedPointerDeleter]’ |
/usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:504:37: required from here |
/home/sahilgarg/anaconda3/include/qt/QtCore/qscopedpointer.h:57:40: error: invalid application of ‘sizeof’ to incomplete type ‘QPainterPrivate’ |
57 |
^~~~~~~~~ |
make[2]: *** [liblightlycommon/CMakeFiles/lightlycommon5.dir/build.make:76: liblightlycommon/CMakeFiles/lightlycommon5.dir/lightlyboxshadowrenderer.cpp.o] Error 1 |
make[1]: *** [CMakeFiles/Makefile2:658: liblightlycommon/CMakeFiles/lightlycommon5.dir/all] Error 2 |
make: *** [Makefile:130: all] Error 2 |
I had the same issue. It actually came from anaconda, so running :
conda deactivate
Before running make worked for me.