qsyncthingtray: fix build

+17
+4
pkgs/applications/misc/qsyncthingtray/default.nix
··· 20 20 21 21 cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1"; 22 22 23 + patches = [ ./qsyncthingtray-0.5.8-qt-5.6.3.patch ]; 24 + 23 25 postPatch = '' 24 26 ${lib.optionalString stdenv.isLinux '' 25 27 substituteInPlace includes/platforms/linux/posixUtils.hpp \ ··· 43 45 44 46 runHook postInstall 45 47 ''; 48 + 49 + enableParallelBuilding = true; 46 50 47 51 meta = with lib; { 48 52 homepage = https://github.com/sieren/QSyncthingTray/;
+13
pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index b778d09..247b606 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -12,7 +12,7 @@ set(CMAKE_AUTOMOC ON) 6 + 7 + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 8 + 9 + -find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport) 10 + +find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport WebEngineWidgets) 11 + if (NOT Qt5_FOUND) 12 + message(FATAL_ERROR 13 + "Some components of Qt5 not found (see above messages for details. "