init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{ lib, stdenv, cmake, ninja, pkg-config, qt6 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "qt-example";
|
||||
version = "1.0";
|
||||
|
||||
src = ./qt-example;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt6.qtbase
|
||||
qt6.qtdeclarative
|
||||
qt6.qtwayland
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user