Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt6.qtshadertools: add mingw support #296194

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
qt6.qtshadertools: add mingw support
Part of a larger effort to add mingw support for qtmultimedia.
seanybaggins committed Mar 15, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
ivan-magda Ivan Magda
commit 930ce12264497d695dba8c657e6376f6a9a361ca
6 changes: 6 additions & 0 deletions pkgs/development/libraries/qt-6/modules/qtshadertools.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{ qtModule
, qtbase
, stdenv
, lib
, pkgsBuildBuild
}:

qtModule {
pname = "qtshadertools";
propagatedBuildInputs = [ qtbase ];
cmakeFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"-DQt6ShaderToolsTools_DIR=${pkgsBuildBuild.qt6.qtshadertools}/lib/cmake/Qt6ShaderToolsTools"
];
}