summary refs log tree commit diff
path: root/gnu/packages/qt.scm
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-25 17:20:22 +0200
committerDavid Craven <david@craven.ch>2016-08-30 22:37:45 +0200
commited02e1fec882bb7fb0ce72423c42b7bd245b5ec1 (patch)
tree985217bb9fc90148e6ff103d5aad5b3eb30db809 /gnu/packages/qt.scm
parent18f747350437136b203ef6400176d1fb07b131ea (diff)
downloadguix-ed02e1fec882bb7fb0ce72423c42b7bd245b5ec1.tar.gz
gnu: qtbase: Add native search paths.
* gnu/packages/qt.scm (qtbase)[native-search-paths]: Add
  QML2_IMPORT_PATH, QT_PLUGIN_PATH, XDG_DATA_DIRS and XDG_CONFIG_DIRS.
Diffstat (limited to 'gnu/packages/qt.scm')
-rw-r--r--gnu/packages/qt.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index a7eee7c06c..5a93ea22bc 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -474,7 +474,19 @@ developers using C++ or QML, a CSS & JavaScript like language.")
     (native-search-paths
      (list (search-path-specification
             (variable "QMAKEPATH")
-            (files '("")))))
+            (files '("")))
+           (search-path-specification
+            (variable "QML2_IMPORT_PATH")
+            (files '("qml")))
+           (search-path-specification
+            (variable "QT_PLUGIN_PATH")
+            (files '("plugins")))
+           (search-path-specification
+            (variable "XDG_DATA_DIRS")
+            (files '("share")))
+           (search-path-specification
+            (variable "XDG_CONFIG_DIRS")
+            (files '("etc/xdg")))))
     (home-page "https://www.qt.io/")
     (synopsis "Cross-platform GUI library")
     (description "Qt is a cross-platform application and UI framework for