amarok: fix building against Qt-5.11

This commit is contained in:
Evgeny Egorochkin 2018-06-24 05:10:38 +03:00
parent 9c1edbddee
commit ff4351ac3b
2 changed files with 13 additions and 0 deletions

View file

@ -21,6 +21,8 @@ in mkDerivation {
sha256 = "05w7kl6qfmkjz0y1bhgkkbmsqdll30bkjd6npkzvivrvp7dplmbh";
};
patches = [ ./qt5_11.patch ];
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [
qca-qt5 qjson qtscript qtwebkit

View file

@ -0,0 +1,11 @@
--- a/src/aboutdialog/ExtendedAboutDialog.cpp
+++ b/src/aboutdialog/ExtendedAboutDialog.cpp
@@ -30,6 +30,7 @@
#include <QLayout>
#include <QPushButton>
#include <QScrollBar>
+#include <QStyle>
#include <QTabWidget>
#include <qapplication.h>