2
1

0011-qt-fix-missing-header-when-compiling-with-Qt-5.15.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. From a44d2f3aa6075fb6e63da75f84a257294d21d161 Mon Sep 17 00:00:00 2001
  2. From: Pierre Lamot <pierre@videolabs.io>
  3. Date: Wed, 27 May 2020 11:05:53 +0200
  4. Subject: [PATCH] qt: fix missing header when compiling with Qt 5.15
  5. Upstream bug report: https://trac.videolan.org/vlc/ticket/24882
  6. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  7. [backported upstream commit for modules/gui/qt/dialogs/plugins.cpp
  8. http://git.videolan.org/?p=vlc.git;a=patch;h=0e88143ed2fe8eedfa4d3afdafcd0df901644c1d
  9. the other two patches were proposed on the upstream bugtracker]
  10. ---
  11. modules/gui/qt/components/playlist/views.cpp | 1 +
  12. modules/gui/qt/dialogs/plugins.cpp | 1 +
  13. modules/gui/qt/util/timetooltip.hpp | 1 +
  14. 3 files changed, 3 insertions(+)
  15. diff --git a/modules/gui/qt/components/playlist/views.cpp b/modules/gui/qt/components/playlist/views.cpp
  16. index ecc6b9918d..d3fd76da1a 100644
  17. --- a/modules/gui/qt/components/playlist/views.cpp
  18. +++ b/modules/gui/qt/components/playlist/views.cpp
  19. @@ -35,6 +35,7 @@
  20. #include <QMetaType>
  21. #include <QHeaderView>
  22. #include <QSvgRenderer>
  23. +#include <QPainterPath>
  24. #include <assert.h>
  25. diff --git a/modules/gui/qt/dialogs/plugins.cpp b/modules/gui/qt/dialogs/plugins.cpp
  26. index 93c92b9fa6..e05ec0594a 100644
  27. --- a/modules/gui/qt/dialogs/plugins.cpp
  28. +++ b/modules/gui/qt/dialogs/plugins.cpp
  29. @@ -66,6 +66,7 @@
  30. #include <QSplitter>
  31. #include <QToolButton>
  32. #include <QStackedWidget>
  33. +#include <QPainterPath>
  34. //match the image source (width/height)
  35. #define SCORE_ICON_WIDTH_SCALE 4
  36. diff --git a/modules/gui/qt/util/timetooltip.hpp b/modules/gui/qt/util/timetooltip.hpp
  37. index b6d7c646c9..f213eac459 100644
  38. --- a/modules/gui/qt/util/timetooltip.hpp
  39. +++ b/modules/gui/qt/util/timetooltip.hpp
  40. @@ -25,6 +25,7 @@
  41. #include "qt.hpp"
  42. #include <QWidget>
  43. +#include <QPainterPath>
  44. class TimeTooltip : public QWidget
  45. {
  46. --
  47. 2.27.0