/var/vabs/qt3/src/profile.d/qt.csh

https://bitbucket.org/VLCore/vl71 · C Shell · 22 lines · 17 code · 0 blank · 5 comment · 4 complexity · 71ab2d0ae43f03dbd35730667b011eed MD5 · raw file

  1. #!/bin/csh
  2. # Environment path variables for the Qt package:
  3. if ( ! $?QTDIR ) then
  4. # It's best to use the generic directory to avoid
  5. # compiling in a version-containing path:
  6. if ( -d /opt/kde3/lib/qt3 ) then
  7. setenv QTDIR /opt/kde3/lib/qt3
  8. else
  9. # Find the newest Qt directory and set $QTDIR to that:
  10. foreach qtd ( /opt/kde3/lib/qt-* )
  11. if ( -d $qtd ) then
  12. setenv QTDIR $qtd
  13. endif
  14. end
  15. endif
  16. endif
  17. set path = ( $path $QTDIR/bin /opt/kde3/bin )
  18. if ( $?CPLUS_INCLUDE_PATH ) then
  19. setenv CPLUS_INCLUDE_PATH $QTDIR/include:$CPLUS_INCLUDE_PATH
  20. else
  21. setenv CPLUS_INCLUDE_PATH $QTDIR/include
  22. endif