guix_mirror_bot pushed a commit to branch qt-team
in repository guix.

commit 57ebe3102ac5cb18e8dcebd355f043c0309fb9ca
Author: Maxim Cournoyer <ma...@guixotic.coop>
AuthorDate: Thu Sep 4 23:01:56 2025 +0900

    gnu: Add qtquick3d.
    
    * gnu/packages/qt.scm (qtquick3d): New variable.
    
    Change-Id: I3d1f87c96191e613b3f50c507470f6cf2120c602
---
 gnu/packages/qt.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index aab07b282b..13bfeca637 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -19,7 +19,7 @@
 ;;; Copyright © 2020 TomZ <t...@freedommail.ch>
 ;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielma...@web.de>
 ;;; Copyright © 2020 Michael Rohleder <m...@rohleder.de>
-;;; Copyright © 2020, 2021, 2022, 2023, 2024, 2025 Maxim Cournoyer 
<maxim.courno...@gmail.com>
+;;; Copyright © 2020-2025 Maxim Cournoyer <ma...@guixotic.coop>
 ;;; Copyright © 2021, 2022 Brendan Tildesley <m...@brendan.scot>
 ;;; Copyright © 2021, 2022, 2023 Guillaume Le Vaillant <g...@posteo.net>
 ;;; Copyright © 2021 Nicolò Balzarotti <nic...@nixo.xyz>
@@ -2712,6 +2712,50 @@ the Qt community.")
 The following guides and references cover aspects of programming with
 ECMAScript and Qt.")))
 
+(define-public qtquick3d
+  (package
+    (name "qtquick3d")
+    (version "6.9.2")
+    (source (origin
+              (method url-fetch)
+              (uri (qt-url name version))
+              (sha256
+               (base32
+                "002888xfnkxmvn8413fllidl3mm2fcwc4gbzdnbvpjlysaq9f3ig"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (delete 'check)          ;moved after install phase
+               (add-after 'install 'check
+                 (assoc-ref %standard-phases 'check))
+               (add-before 'check 'prepare-for-tests
+                 (lambda _
+                   (setenv "QT_QPA_PLATFORM" "offscreen")
+                   (setenv "QT_PLUGIN_PATH"
+                           (string-append #$output "/lib/qt6/plugins:"
+                                          (getenv "QT_PLUGIN_PATH")))
+                   (setenv "QML_IMPORT_PATH"
+                           (string-append #$output "/lib/qt6/qml:"
+                                          (getenv "QML_IMPORT_PATH"))))))))
+    (inputs (list qtbase qtdeclarative qtshadertools))
+    (synopsis "Qt module and API for defining 3D content in Qt Quick")
+    (description "Qt Quick 3D is a module within the Qt framework that
+provides a high-level interface for creating 3D content for user interfaces.  
Its key features include:
+@itemize
+@item Spatial (3D) scene graph
+@item Mixing 2D and 3D Qt Quick content
+@item Physically based rendering (PBR) materials
+@item Punctual and image based lighting
+@item Custom material and effect system
+@item GLTF (Graphics Library Transmission Format) 2.0 model import
+@item Animation support
+@item 3D input handling and picking
+@item 3D particle system
+@end itemize")
+    (home-page (package-home-page qtbase))
+    (license (package-license qtbase))))
+
 (define-public qtquickcontrols-5
   (package
     (inherit qtsvg-5)

Reply via email to