audio/polyphone: prepare for Qt5-5.15

This commit is contained in:
Tobias C. Berner 2020-05-21 08:14:59 +00:00
parent 4440b7c858
commit f4738a2fd6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536087
3 changed files with 23 additions and 1 deletions

View File

@ -21,7 +21,9 @@ LIB_DEPENDS= libFLAC.so:audio/flac \
USES= compiler:c++11-lang desktop-file-utils dos2unix gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl xorg
USE_GITHUB= yes
GH_ACCOUNT= davy7125
DOS2UNIX_FILES= polyphone.pro
DOS2UNIX_FILES= polyphone.pro \
editor/graphics/graphiquefourier.cpp \
editor/tree/treeitemdelegate.cpp
USE_GL= gl
USE_QT= core concurrent gui network printsupport svg widgets buildtools_build qmake_build
USE_GNOME= glib20

View File

@ -0,0 +1,10 @@
--- editor/graphics/graphiquefourier.cpp.orig 2020-05-21 08:02:47 UTC
+++ editor/graphics/graphiquefourier.cpp
@@ -30,6 +30,7 @@
#include <QMenu>
#include <QFileDialog>
#include <QPainter>
+#include <QPainterPath>
GraphiqueFourier::GraphiqueFourier(QWidget * parent) : QCustomPlot(parent),
_fixedTickerX(new QCPAxisTickerFixed()),

View File

@ -0,0 +1,10 @@
--- editor/tree/treeitemdelegate.cpp.orig 2020-05-21 08:02:47 UTC
+++ editor/tree/treeitemdelegate.cpp
@@ -29,6 +29,7 @@
#include "basetypes.h"
#include <QToolTip>
#include <QHelpEvent>
+#include <QPainterPath>
TreeItemDelegate::Icons * TreeItemDelegate::s_icons = nullptr;
TreeItemDelegate::Colors * TreeItemDelegate::s_colors = nullptr;