forked from mirrors/nixpkgs
be8e1b9917
- Updated to use qt5 - Added a required cmake patch (like this one for kdenlive https://github.com/NixOS/nixpkgs/issues/26160) - Optional, by default true, dependency on qtwebkit
13 lines
378 B
Diff
13 lines
378 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index d910299e..69888477 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -99,6 +99,7 @@ endif()
|
|
|
|
# Qt modules
|
|
if (WITH_QT5)
|
|
+ find_package(Qt5 REQUIRED COMPONENTS Network Svg Xml Script)
|
|
qt5_use_modules(copyq Widgets Network Svg Xml Script ${copyq_Qt5_Modules})
|
|
else()
|
|
set(QT_USE_QTNETWORK TRUE)
|