From 03e1ed04d7a06d039e5dc317638aa5a6b4773f8c Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 24 Jan 2015 19:37:30 +0100 Subject: Add support for Qt4 applications to dock to the Plasma 5 systray. qt-4.8.6: added dep; compared to the Slackware original, I have applied several patches to impement qsystemtrayicon support. sni-qt: added dep; this application actually provides the systray support for Qt4 apps in Plasma 5. --- deps/qt/profile.d/qt4.csh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 deps/qt/profile.d/qt4.csh (limited to 'deps/qt/profile.d/qt4.csh') diff --git a/deps/qt/profile.d/qt4.csh b/deps/qt/profile.d/qt4.csh new file mode 100644 index 0000000..6e2c726 --- /dev/null +++ b/deps/qt/profile.d/qt4.csh @@ -0,0 +1,22 @@ +#!/bin/csh +# Environment path variables for the Qt package: +if ( ! $?QT4DIR ) then + # It's best to use the generic directory to avoid + # compiling in a version-containing path: + if ( -d /usr/lib/qt ) then + setenv QT4DIR /usr/lib/qt + else + # Find the newest Qt directory and set $QT4DIR to that: + foreach qtd ( /usr/lib/qt-* ) + if ( -d $qtd ) then + setenv QT4DIR $qtd + endif + end + endif +endif +set path = ( $path $QT4DIR/bin ) +if ( $?CPLUS_INCLUDE_PATH ) then + setenv CPLUS_INCLUDE_PATH $QT4DIR/include:$CPLUS_INCLUDE_PATH +else + setenv CPLUS_INCLUDE_PATH $QT4DIR/include +endif -- cgit v1.2.3