Date: Tuesday, February 28, 2023 @ 21:29:47 Author: jelle Revision: 1405697
archrelease: copy trunk to community-x86_64 Added: psi/repos/community-x86_64/PKGBUILD (from rev 1405696, psi/trunk/PKGBUILD) psi/repos/community-x86_64/appdata.patch (from rev 1405696, psi/trunk/appdata.patch) psi/repos/community-x86_64/no-qca-qt4.patch (from rev 1405696, psi/trunk/no-qca-qt4.patch) psi/repos/community-x86_64/qt-5.11.patch (from rev 1405696, psi/trunk/qt-5.11.patch) psi/repos/community-x86_64/qt-5.15.patch (from rev 1405696, psi/trunk/qt-5.15.patch) Deleted: psi/repos/community-x86_64/PKGBUILD psi/repos/community-x86_64/appdata.patch psi/repos/community-x86_64/no-qca-qt4.patch psi/repos/community-x86_64/qt-5.11.patch psi/repos/community-x86_64/qt-5.15.patch ------------------+ PKGBUILD | 140 ++++++++++++++++++++++++++--------------------------- appdata.patch | 88 ++++++++++++++++----------------- no-qca-qt4.patch | 72 +++++++++++++-------------- qt-5.11.patch | 42 +++++++-------- qt-5.15.patch | 140 ++++++++++++++++++++++++++--------------------------- 5 files changed, 241 insertions(+), 241 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-02-28 21:29:35 UTC (rev 1405696) +++ PKGBUILD 2023-02-28 21:29:47 UTC (rev 1405697) @@ -1,70 +0,0 @@ -# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> - -pkgname=('psi' 'psi-nowebengine') -pkgver=1.5 -pkgrel=2 -pkgdesc="Powerful XMPP (Jabber) client (Qt, C++) designed for power users" -url="https://psi-im.org" -license=('GPL2') -arch=('x86_64') -depends=('hunspell' 'qca' 'qt5-svg' 'qt5-webengine' 'qt5-x11extras' 'libidn') -makedepends=('cmake' 'qt5-multimedia') -source=("https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" - "no-qca-qt4.patch" - "qt-5.11.patch" - "qt-5.15.patch" - "appdata.patch") -sha256sums=('3167350fd43fab4dc948cb5179ca10159a7aa318472d1a8a7617e41f5aa8b5b7' - 'a6ea9a62100b6990b8a6c8590a6d0e9df095b99b6527bb5490a7fd3f6929ac23' - 'e56ec1a250488b2cf9d42887aac432ff2e0ef482eb7cc8500f3d52cb53949119' - '5786131a946f8d50a0ef35dac6f3ea4b3abfe40c6e281cf3f52b22922850e7bc' - '671bfebedbeebf3a159d3aa04caf62b8cb5f20bb31a95b0adb057619380cf6dd') - -prepare() { - cd $pkgname-$pkgver - patch -p1 <"$srcdir"/no-qca-qt4.patch -# patch -p1 <"$srcdir"/qt-5.11.patch -# patch -p1 <"$srcdir"/qt-5.15.patch - - # Upgrade appdata to meet with current spec - # https://github.com/psi-im/psi/pull/590 -# patch -p1 <"$srcdir"/appdata.patch -} - -build() { - cd $pkgname-$pkgver - mkdir -p build - cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. - make - cd .. - - mkdir -p build-nowebengine - cd build-nowebengine - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_WEBKIT=OFF .. - make -} - -package_psi() { - cd "$srcdir"/psi-$pkgver/build - make DESTDIR="$pkgdir" install - install -dm755 "$pkgdir/usr/include/psi/plugins" - install -m644 ../src/plugins/include/*.h "$pkgdir/usr/include/psi/plugins" - install -Dm644 ../$pkgbase.appdata.xml "$pkgdir/usr/share/metainfo/$pkgbase.appdata.xml" -} - -package_psi-nowebengine() { - pkgdesc+=" without WebEngine support" - depends=('hunspell' 'minizip' 'qca-qt5' 'qt5-svg' 'qt5-x11extras' 'libidn') - provides=("$pkgbase=$pkgver") - conflicts=("$pkgbase") - replaces=('psi-nowebkit') - - cd "$srcdir"/psi-$pkgver/build-nowebengine - make DESTDIR="$pkgdir" install - install -dm755 "$pkgdir/usr/include/psi/plugins" - install -m644 ../src/plugins/include/*.h "$pkgdir/usr/include/psi/plugins" - - # Ignore package by AppStream to avoid duplicated IDs - echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/$pkgbase.desktop" -} Copied: psi/repos/community-x86_64/PKGBUILD (from rev 1405696, psi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-02-28 21:29:47 UTC (rev 1405697) @@ -0,0 +1,70 @@ +# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> + +pkgname=('psi' 'psi-nowebengine') +pkgver=1.5 +pkgrel=3 +pkgdesc="Powerful XMPP (Jabber) client (Qt, C++) designed for power users" +url="https://psi-im.org" +license=('GPL2') +arch=('x86_64') +depends=('hunspell' 'qca' 'qt5-svg' 'qt5-webengine' 'qt5-x11extras' 'libidn') +makedepends=('cmake' 'qt5-multimedia') +source=("https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" + "no-qca-qt4.patch" + "qt-5.11.patch" + "qt-5.15.patch" + "appdata.patch") +sha256sums=('3167350fd43fab4dc948cb5179ca10159a7aa318472d1a8a7617e41f5aa8b5b7' + 'a6ea9a62100b6990b8a6c8590a6d0e9df095b99b6527bb5490a7fd3f6929ac23' + 'e56ec1a250488b2cf9d42887aac432ff2e0ef482eb7cc8500f3d52cb53949119' + '5786131a946f8d50a0ef35dac6f3ea4b3abfe40c6e281cf3f52b22922850e7bc' + '671bfebedbeebf3a159d3aa04caf62b8cb5f20bb31a95b0adb057619380cf6dd') + +prepare() { + cd $pkgname-$pkgver + patch -p1 <"$srcdir"/no-qca-qt4.patch +# patch -p1 <"$srcdir"/qt-5.11.patch +# patch -p1 <"$srcdir"/qt-5.15.patch + + # Upgrade appdata to meet with current spec + # https://github.com/psi-im/psi/pull/590 +# patch -p1 <"$srcdir"/appdata.patch +} + +build() { + cd $pkgname-$pkgver + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make + cd .. + + mkdir -p build-nowebengine + cd build-nowebengine + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_WEBKIT=OFF .. + make +} + +package_psi() { + cd "$srcdir"/psi-$pkgver/build + make DESTDIR="$pkgdir" install + install -dm755 "$pkgdir/usr/include/psi/plugins" + install -m644 ../src/plugins/include/*.h "$pkgdir/usr/include/psi/plugins" + install -Dm644 ../$pkgbase.appdata.xml "$pkgdir/usr/share/metainfo/$pkgbase.appdata.xml" +} + +package_psi-nowebengine() { + pkgdesc+=" without WebEngine support" + depends=('hunspell' 'minizip' 'qca-qt5' 'qt5-svg' 'qt5-x11extras' 'libidn') + provides=("$pkgbase=$pkgver") + conflicts=("$pkgbase") + replaces=('psi-nowebkit') + + cd "$srcdir"/psi-$pkgver/build-nowebengine + make DESTDIR="$pkgdir" install + install -dm755 "$pkgdir/usr/include/psi/plugins" + install -m644 ../src/plugins/include/*.h "$pkgdir/usr/include/psi/plugins" + + # Ignore package by AppStream to avoid duplicated IDs + echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/$pkgbase.desktop" +} Deleted: appdata.patch =================================================================== --- appdata.patch 2023-02-28 21:29:35 UTC (rev 1405696) +++ appdata.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -1,44 +0,0 @@ -From 52b16c046de34e2659766f06877a70c6611e4664 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballog...@gmail.com> -Date: Thu, 4 Jun 2020 19:14:54 +0200 -Subject: [PATCH] Upgrade appdata to meet with current spec - ---- - psi.appdata.xml | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -diff --git a/psi.appdata.xml b/psi.appdata.xml -index d3816ba3..f33280d4 100644 ---- a/psi.appdata.xml -+++ b/psi.appdata.xml -@@ -1,7 +1,9 @@ - <?xml version="1.0" encoding="UTF-8"?> --<application> -- <id type="desktop">psi.desktop</id> -- <licence>GPL-2.0</licence> -+<component type="desktop"> -+ <id>org.psi_im.Psi</id> -+ <launchable type="desktop-id">psi.desktop</launchable> -+ <metadata_license>CC0-1.0</metadata_license> -+ <project_license>GPL-2.0</project_license> - <name>Psi</name> - <name xml:lang="ru">Psi</name> - <summary>The cross-platform XMPP client aimed at experienced users.</summary> -@@ -13,7 +15,6 @@ - <p xml:lang="ru"> - Psi - это мессенджер для Windows, Linux и Mac OS X подключающийся к свободной и открытой XMPP сети. - </p> -- - <p>Features:</p> - <p xml:lang="ru">Features:</p> - <ul> -@@ -31,7 +32,7 @@ - <url type="bugtracker">https://github.com/psi-im/psi/issues</url> - <screenshots> - <screenshot type="default"> -- <image>http://psi-im.org/content/home/feature_default.png</image> -+ <image>https://psi-im.org/content/home/feature_default.png</image> - </screenshot> - </screenshots> --</application> -+</component> Copied: psi/repos/community-x86_64/appdata.patch (from rev 1405696, psi/trunk/appdata.patch) =================================================================== --- appdata.patch (rev 0) +++ appdata.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -0,0 +1,44 @@ +From 52b16c046de34e2659766f06877a70c6611e4664 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballog...@gmail.com> +Date: Thu, 4 Jun 2020 19:14:54 +0200 +Subject: [PATCH] Upgrade appdata to meet with current spec + +--- + psi.appdata.xml | 13 +++++++------ + 1 file changed, 7 insertions(+), 6 deletions(-) + +diff --git a/psi.appdata.xml b/psi.appdata.xml +index d3816ba3..f33280d4 100644 +--- a/psi.appdata.xml ++++ b/psi.appdata.xml +@@ -1,7 +1,9 @@ + <?xml version="1.0" encoding="UTF-8"?> +-<application> +- <id type="desktop">psi.desktop</id> +- <licence>GPL-2.0</licence> ++<component type="desktop"> ++ <id>org.psi_im.Psi</id> ++ <launchable type="desktop-id">psi.desktop</launchable> ++ <metadata_license>CC0-1.0</metadata_license> ++ <project_license>GPL-2.0</project_license> + <name>Psi</name> + <name xml:lang="ru">Psi</name> + <summary>The cross-platform XMPP client aimed at experienced users.</summary> +@@ -13,7 +15,6 @@ + <p xml:lang="ru"> + Psi - это мессенджер для Windows, Linux и Mac OS X подключающийся к свободной и открытой XMPP сети. + </p> +- + <p>Features:</p> + <p xml:lang="ru">Features:</p> + <ul> +@@ -31,7 +32,7 @@ + <url type="bugtracker">https://github.com/psi-im/psi/issues</url> + <screenshots> + <screenshot type="default"> +- <image>http://psi-im.org/content/home/feature_default.png</image> ++ <image>https://psi-im.org/content/home/feature_default.png</image> + </screenshot> + </screenshots> +-</application> ++</component> Deleted: no-qca-qt4.patch =================================================================== --- no-qca-qt4.patch 2023-02-28 21:29:35 UTC (rev 1405696) +++ no-qca-qt4.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -1,36 +0,0 @@ -From f3372d84595d10b757de4568399707bc721f6850 Mon Sep 17 00:00:00 2001 -From: sirlucjan <lucjan.lucja...@gmail.com> -Date: Sun, 7 Jan 2018 21:04:37 +0100 -Subject: [PATCH] Update cmakelist.txt - ---- - iris/CMakeLists.txt | 2 +- - src/CMakeLists.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/iris/CMakeLists.txt b/iris/CMakeLists.txt -index 50228489..85dcec60 100644 ---- a/iris/CMakeLists.txt -+++ b/iris/CMakeLists.txt -@@ -39,7 +39,7 @@ if(USE_QJDNS) - add_definitions(-DNEED_JDNS) - endif() - --find_package(Qca REQUIRED) -+find_package(Qca-qt5 REQUIRED) - set(QCA_INCLUDES ${Qca_INCLUDE_DIR}) - set(qca_LIB ${Qca_LIBRARY}) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 1f78cd05..57c73c4c 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -73,7 +73,7 @@ if(APPLE) - list(APPEND EXTRA_LDFLAGS ${SPARKLE_LIBRARY} "-framework Carbon" "-framework AppKit" "-framework IOKit" "-framework CoreAudio" "-framework AudioToolbox") - endif() - --find_package( Qca REQUIRED ) -+find_package( Qca-qt5 REQUIRED ) - - if(LINUX) - find_package(X11 REQUIRED) Copied: psi/repos/community-x86_64/no-qca-qt4.patch (from rev 1405696, psi/trunk/no-qca-qt4.patch) =================================================================== --- no-qca-qt4.patch (rev 0) +++ no-qca-qt4.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -0,0 +1,36 @@ +From f3372d84595d10b757de4568399707bc721f6850 Mon Sep 17 00:00:00 2001 +From: sirlucjan <lucjan.lucja...@gmail.com> +Date: Sun, 7 Jan 2018 21:04:37 +0100 +Subject: [PATCH] Update cmakelist.txt + +--- + iris/CMakeLists.txt | 2 +- + src/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/iris/CMakeLists.txt b/iris/CMakeLists.txt +index 50228489..85dcec60 100644 +--- a/iris/CMakeLists.txt ++++ b/iris/CMakeLists.txt +@@ -39,7 +39,7 @@ if(USE_QJDNS) + add_definitions(-DNEED_JDNS) + endif() + +-find_package(Qca REQUIRED) ++find_package(Qca-qt5 REQUIRED) + set(QCA_INCLUDES ${Qca_INCLUDE_DIR}) + set(qca_LIB ${Qca_LIBRARY}) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 1f78cd05..57c73c4c 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -73,7 +73,7 @@ if(APPLE) + list(APPEND EXTRA_LDFLAGS ${SPARKLE_LIBRARY} "-framework Carbon" "-framework AppKit" "-framework IOKit" "-framework CoreAudio" "-framework AudioToolbox") + endif() + +-find_package( Qca REQUIRED ) ++find_package( Qca-qt5 REQUIRED ) + + if(LINUX) + find_package(X11 REQUIRED) Deleted: qt-5.11.patch =================================================================== --- qt-5.11.patch 2023-02-28 21:29:35 UTC (rev 1405696) +++ qt-5.11.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -1,21 +0,0 @@ -From 4b838c04fa90ab56974bc4c57aaf7d4e80b8fff8 Mon Sep 17 00:00:00 2001 -From: Vitozz <the...@gmail.com> -Date: Mon, 28 May 2018 20:45:04 +0300 -Subject: [PATCH] Try to fix build with qt-5.11 - ---- - src/accountmanagedlg.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/accountmanagedlg.cpp b/src/accountmanagedlg.cpp -index 3770906d..6150349f 100644 ---- a/src/accountmanagedlg.cpp -+++ b/src/accountmanagedlg.cpp -@@ -28,6 +28,7 @@ - #include <QTimer> - #include <QHeaderView> - #include <QDropEvent> -+#include <QButtonGroup> - - #include "psicon.h" - #include "psiaccount.h" Copied: psi/repos/community-x86_64/qt-5.11.patch (from rev 1405696, psi/trunk/qt-5.11.patch) =================================================================== --- qt-5.11.patch (rev 0) +++ qt-5.11.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -0,0 +1,21 @@ +From 4b838c04fa90ab56974bc4c57aaf7d4e80b8fff8 Mon Sep 17 00:00:00 2001 +From: Vitozz <the...@gmail.com> +Date: Mon, 28 May 2018 20:45:04 +0300 +Subject: [PATCH] Try to fix build with qt-5.11 + +--- + src/accountmanagedlg.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/accountmanagedlg.cpp b/src/accountmanagedlg.cpp +index 3770906d..6150349f 100644 +--- a/src/accountmanagedlg.cpp ++++ b/src/accountmanagedlg.cpp +@@ -28,6 +28,7 @@ + #include <QTimer> + #include <QHeaderView> + #include <QDropEvent> ++#include <QButtonGroup> + + #include "psicon.h" + #include "psiaccount.h" Deleted: qt-5.15.patch =================================================================== --- qt-5.15.patch 2023-02-28 21:29:35 UTC (rev 1405696) +++ qt-5.15.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -1,70 +0,0 @@ -From b6c9fddd0dbd0554d2c6ec096f42d0557101178a Mon Sep 17 00:00:00 2001 -From: Sergey Ilinykh <rion...@gmail.com> -Date: Fri, 29 May 2020 14:50:56 +0300 -Subject: [PATCH] Added missing QPainterPath header - ---- - src/avatars.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/avatars.cpp b/src/avatars.cpp -index bc60ad14..b24f0799 100644 ---- a/src/avatars.cpp -+++ b/src/avatars.cpp -@@ -50,6 +50,7 @@ - #include <QFile> - #include <QBuffer> - #include <QPainter> -+#include <QPainterPath> - - #include "xmpp_xmlcommon.h" - #include "xmpp_vcard.h" -From 1b0421f01b9c1cd5f27e0888469a53be34e92a40 Mon Sep 17 00:00:00 2001 -From: Sergey Ilinykh <rion...@gmail.com> -Date: Fri, 29 May 2020 15:07:35 +0300 -Subject: [PATCH] Add include to QPainterPath wherever it's not added - ---- - src/contactlistdragview.cpp | 1 + - src/multifiletransferdelegate.cpp | 1 + - src/rosteravatarframe.cpp | 2 ++ - src/whiteboarding/wbnewpath.cpp | 1 + - 4 files changed, 5 insertions(+) - -diff --git a/src/contactlistdragview.cpp b/src/contactlistdragview.cpp -index a3885a99..091984fe 100644 ---- a/src/contactlistdragview.cpp -+++ b/src/contactlistdragview.cpp -@@ -43,6 +43,7 @@ - #include <QMimeData> - #include <QMouseEvent> - #include <QPainter> -+#include <QPainterPath> - #include <QScrollBar> - - ContactListDragView::ContactListDragView(QWidget *parent) : -diff --git a/src/rosteravatarframe.cpp b/src/rosteravatarframe.cpp -index e3945aff..5a15db24 100644 ---- a/src/rosteravatarframe.cpp -+++ b/src/rosteravatarframe.cpp -@@ -23,6 +23,8 @@ - #include "iconset.h" - #include "qpainter.h" - -+#include <QPainterPath> -+ - RosterAvatarFrame::RosterAvatarFrame(QWidget *parent) - : QFrame(parent) - , statusMessage_("") -diff --git a/src/whiteboarding/wbnewpath.cpp b/src/whiteboarding/wbnewpath.cpp -index fbd20c17..cbb4fbf4 100644 ---- a/src/whiteboarding/wbnewpath.cpp -+++ b/src/whiteboarding/wbnewpath.cpp -@@ -23,6 +23,7 @@ - #include "../sxe/sxesession.h" - - #include <QGraphicsScene> -+#include <QPainterPath> - - WbNewPath::WbNewPath(QGraphicsScene *s, QPointF startPos, int strokeWidth, const QColor &strokeColor, - const QColor &fillColor) : Copied: psi/repos/community-x86_64/qt-5.15.patch (from rev 1405696, psi/trunk/qt-5.15.patch) =================================================================== --- qt-5.15.patch (rev 0) +++ qt-5.15.patch 2023-02-28 21:29:47 UTC (rev 1405697) @@ -0,0 +1,70 @@ +From b6c9fddd0dbd0554d2c6ec096f42d0557101178a Mon Sep 17 00:00:00 2001 +From: Sergey Ilinykh <rion...@gmail.com> +Date: Fri, 29 May 2020 14:50:56 +0300 +Subject: [PATCH] Added missing QPainterPath header + +--- + src/avatars.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/avatars.cpp b/src/avatars.cpp +index bc60ad14..b24f0799 100644 +--- a/src/avatars.cpp ++++ b/src/avatars.cpp +@@ -50,6 +50,7 @@ + #include <QFile> + #include <QBuffer> + #include <QPainter> ++#include <QPainterPath> + + #include "xmpp_xmlcommon.h" + #include "xmpp_vcard.h" +From 1b0421f01b9c1cd5f27e0888469a53be34e92a40 Mon Sep 17 00:00:00 2001 +From: Sergey Ilinykh <rion...@gmail.com> +Date: Fri, 29 May 2020 15:07:35 +0300 +Subject: [PATCH] Add include to QPainterPath wherever it's not added + +--- + src/contactlistdragview.cpp | 1 + + src/multifiletransferdelegate.cpp | 1 + + src/rosteravatarframe.cpp | 2 ++ + src/whiteboarding/wbnewpath.cpp | 1 + + 4 files changed, 5 insertions(+) + +diff --git a/src/contactlistdragview.cpp b/src/contactlistdragview.cpp +index a3885a99..091984fe 100644 +--- a/src/contactlistdragview.cpp ++++ b/src/contactlistdragview.cpp +@@ -43,6 +43,7 @@ + #include <QMimeData> + #include <QMouseEvent> + #include <QPainter> ++#include <QPainterPath> + #include <QScrollBar> + + ContactListDragView::ContactListDragView(QWidget *parent) : +diff --git a/src/rosteravatarframe.cpp b/src/rosteravatarframe.cpp +index e3945aff..5a15db24 100644 +--- a/src/rosteravatarframe.cpp ++++ b/src/rosteravatarframe.cpp +@@ -23,6 +23,8 @@ + #include "iconset.h" + #include "qpainter.h" + ++#include <QPainterPath> ++ + RosterAvatarFrame::RosterAvatarFrame(QWidget *parent) + : QFrame(parent) + , statusMessage_("") +diff --git a/src/whiteboarding/wbnewpath.cpp b/src/whiteboarding/wbnewpath.cpp +index fbd20c17..cbb4fbf4 100644 +--- a/src/whiteboarding/wbnewpath.cpp ++++ b/src/whiteboarding/wbnewpath.cpp +@@ -23,6 +23,7 @@ + #include "../sxe/sxesession.h" + + #include <QGraphicsScene> ++#include <QPainterPath> + + WbNewPath::WbNewPath(QGraphicsScene *s, QPointF startPos, int strokeWidth, const QColor &strokeColor, + const QColor &fillColor) :