Skip to content

Commit

Permalink
swift-im: fix build with Qt 5.11 and split QtWebKit
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Sep 4, 2018
1 parent 93a5947 commit 205f3e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
sha256 = "0w0aiszjd58ynxpacwcgf052zpmbpcym4dhci64vbfgch6wryz0w";
};

patches = [ ./scons.patch ];
patches = [ ./qt-5.11.patch ./scons.patch ];

nativeBuildInputs = [ pkgconfig qttools scons ];

Expand All @@ -28,6 +28,8 @@ in stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [
"-I${libxml2.dev}/include/libxml2"
"-I${miniupnpc}/include/miniupnpc"
"-I${qtwebkit.dev}/include/QtWebKit"
"-I${qtwebkit.dev}/include/QtWebKitWidgets"
];

buildPhase = ''
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.h
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.h
@@ -8,6 +8,7 @@

#include <set>

+#include <QAbstractItemModel>
#include <QWizard>

#include <Swiften/Base/Override.h>

0 comments on commit 205f3e9

Please sign in to comment.