Welcome, Guest
Username: Password: Remember me

TOPIC: Building error on Fedora 33

Building error on Fedora 33 1 year 11 months ago #1

  • Diego Muñoz
  • Diego Muñoz's Avatar
  • Offline
  • New Member
  • Posts: 1
Hello, i'm trying to compile Polyphone 2.2 on Fedora 33 and i made sure to follow all steps indicated in this forum and the official build guide for Fedora, namely i:
- Installed all dependencies
- Edited the LIBS += -lqcustomplot line
- Uncommented the 3 defines at the start of polyphone.pro
- Gave the additional argument PREFIX=/usr to qmake-qt5

And yet i get this:

editor/tree/treeitemdelegate.cpp: In member function ‘void TreeItemDelegate::drawRoot(QPainter*, const QStyleOptionViewItem&, const QModelIndex&, bool) const’:
editor/tree/treeitemdelegate.cpp:144:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
144 | QPainterPath path;
| ^~~~
make: *** [Makefile:8536: generated_files/treeitemdelegate.o] Error 1

Help much appreciated, as there is no official Polyphone package on the Fedora repository.
The administrator has disabled public write access.

Building error on Fedora 33 1 year 1 week ago #2

  • Davy
  • Davy's Avatar
  • Offline
  • Administrator
  • Organ enthusiast and creator of Polyphone
  • Posts: 413
  • Thank you received: 98
This line was missing at the beginning of the file:
#include <QPainterPath>
The administrator has disabled public write access.
Time to create page: 0.058 seconds
Cron Job Starts