1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 06:18:17 +01:00

Fix build with Qt 5.15 (missing QPainterPath)

This commit is contained in:
Andreas Sturmlechner 2020-05-08 23:55:43 +02:00
parent 777b312191
commit 4fb44c931b
No known key found for this signature in database
GPG Key ID: 508AA000E0EE83E0
9 changed files with 15 additions and 5 deletions

View File

@ -28,6 +28,7 @@
#include <QApplication> #include <QApplication>
#include <QHideEvent> #include <QHideEvent>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QPaintEvent> #include <QPaintEvent>
#include <QShowEvent> #include <QShowEvent>

View File

@ -32,6 +32,7 @@
#include <QLayout> #include <QLayout>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QPixmap> #include <QPixmap>
#include <QBitmap> #include <QBitmap>
#include <QPalette> #include <QPalette>

View File

@ -19,6 +19,8 @@
#include "DropDownButton.h" #include "DropDownButton.h"
#include <QMouseEvent> #include <QMouseEvent>
#include <QPaintEvent>
#include <QPainterPath>
#include "Artist.h" #include "Artist.h"
#include "Album.h" #include "Album.h"

View File

@ -27,6 +27,7 @@
#include <QPixmap> #include <QPixmap>
#include <QPaintEvent> #include <QPaintEvent>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
using namespace Tomahawk; using namespace Tomahawk;

View File

@ -22,6 +22,7 @@
#include <QApplication> #include <QApplication>
#include <QPaintEvent> #include <QPaintEvent>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QHBoxLayout> #include <QHBoxLayout>

View File

@ -19,10 +19,11 @@
#include "SearchButton.h" #include "SearchButton.h"
#include <qcompleter.h> #include <QCompleter>
#include <qevent.h> #include <QEvent>
#include <qlineedit.h> #include <QLineEdit>
#include <qpainter.h> #include <QPainter>
#include <QPainterPath>
SearchButton::SearchButton(QWidget *parent) SearchButton::SearchButton(QWidget *parent)
: QAbstractButton(parent) : QAbstractButton(parent)

View File

@ -24,6 +24,7 @@
#include <QDebug> #include <QDebug>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QPaintEvent> #include <QPaintEvent>
#include <QVBoxLayout> #include <QVBoxLayout>

View File

@ -24,6 +24,7 @@
#include <QMouseEvent> #include <QMouseEvent>
#include <QPainter> #include <QPainter>
#include <QPainterPath>
#include <QPropertyAnimation> #include <QPropertyAnimation>
#include <QStyleOptionButton> #include <QStyleOptionButton>
#include <QPixmap> #include <QPixmap>

View File

@ -29,8 +29,9 @@
#include "Source.h" #include "Source.h"
#include "Track.h" #include "Track.h"
#include <QPainter>
#include <QDialog> #include <QDialog>
#include <QPainter>
#include <QPainterPath>
#include <QPropertyAnimation> #include <QPropertyAnimation>
#define ARROW_HEIGHT 6 #define ARROW_HEIGHT 6