zeal-qt6: fix build with qt 6.5
This commit is contained in:
parent
e15575e3ad
commit
6e8561539e
@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i CMakeLists.txt \
|
sed -i CMakeLists.txt \
|
||||||
-e 's@^project.*@project(Zeal VERSION ${version})@'
|
-e 's@^project.*@project(Zeal VERSION ${version})@'
|
||||||
|
'' + lib.optionalString (!isQt5) ''
|
||||||
|
substituteInPlace src/app/CMakeLists.txt \
|
||||||
|
--replace "COMPONENTS Widgets" "COMPONENTS Widgets QmlIntegration"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config wrapQtAppsHook ];
|
||||||
|
Loading…
Reference in New Issue
Block a user