From 7810fe355bd75c83bcdaed646cd1dde8d3c94fcb Mon Sep 17 00:00:00 2001 From: ulf69 Date: Fri, 01 Oct 2004 18:10:17 +0000 Subject: added env variables QTDIR and OPIEDIR to search for libraries. This is a fix for pdaXROM users that have not set QPEDIR --- (limited to 'microkde/kdecore') diff --git a/microkde/kdecore/kstandarddirs.cpp b/microkde/kdecore/kstandarddirs.cpp index 500426b..7f2a326 100644 --- a/microkde/kdecore/kstandarddirs.cpp +++ b/microkde/kdecore/kstandarddirs.cpp @@ -1239,7 +1239,18 @@ void KStandardDirs::addKDEDefaults() //US for embedded, add qtopia dir as kdedir #ifndef DESKTOP_VERSION - kdedirList.append(readEnvPath("QPEDIR" )); + QString tmp = readEnvPath("QPEDIR"); + if (!tmp.isEmpty()) + kdedirList.append(tmp); + + tmp = readEnvPath("QTDIR"); + if (!tmp.isEmpty()) + kdedirList.append(tmp); + + tmp = readEnvPath("OPIEDIR"); + if (!tmp.isEmpty()) + kdedirList.append(tmp); + #endif #ifdef __KDE_EXECPREFIX -- cgit v0.9.0.2