Connexion
Ce forum permet à des personnes du monde entier de communiquer, c′est pourquoi les messages échangés sont en anglais.

Building error on Fedora 33

  • DM 1 0
    Message de Diego Muñoz le
    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:rawRoot(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.
  • 417 0
    Message de Davy le
    This line was missing at the beginning of the file:#include <QPainterPath>

Connectez-vous ou inscrivez-vous pour participer à la discussion.

Polyphone a besoin de vous !

Polyphone est gratuit mais il y a des coûts associés à son site web et à son développement. Un petit coup de pouce aidera beaucoup.

Faire un don
Apprenez les bases Voir le tutoriel
Haut de
page