diff options
Diffstat (limited to 'libraries/qt6/profile.d/qt6.csh')
-rw-r--r-- | libraries/qt6/profile.d/qt6.csh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/qt6/profile.d/qt6.csh b/libraries/qt6/profile.d/qt6.csh new file mode 100644 index 0000000000..7764724e0d --- /dev/null +++ b/libraries/qt6/profile.d/qt6.csh @@ -0,0 +1,17 @@ +#!/bin/csh +# Environment path variables for the Qt package: +if ( ! $?QT6DIR ) then + # It's best to use the generic directory to avoid + # compiling in a version-containing path: + if ( -d /usr/lib@LIBDIRSUFFIX@/qt6 ) then + setenv QT6DIR /usr/lib@LIBDIRSUFFIX@/qt6 + else + # Find the newest Qt directory and set $QT6DIR to that: + foreach qtd ( /usr/lib@LIBDIRSUFFIX@/qt6-* ) + if ( -d $qtd ) then + setenv QT6DIR $qtd + endif + end + endif +endif +set path = ( $path $QT6DIR/bin ) |