Description: Use hard-coded paths for Debian package. Author: Miriam Ruiz Index: sankore/Sankore-3.1/src/frameworks/UBPlatformUtils_linux.cpp =================================================================== --- sankore.orig/Sankore-3.1/src/frameworks/UBPlatformUtils_linux.cpp 2013-09-04 23:38:04.187421264 +0200 +++ sankore/Sankore-3.1/src/frameworks/UBPlatformUtils_linux.cpp 2013-09-04 23:38:43.000000000 +0200 @@ -39,7 +39,7 @@ QString UBPlatformUtils::applicationResourcesDirectory() { - return QApplication::applicationDirPath(); + return QString("/usr/share/open-sankore/"); } void UBPlatformUtils::hideFile(const QString &filePath) Index: sankore/Sankore-3.1/src/web/UBWebController.cpp =================================================================== --- sankore.orig/Sankore-3.1/src/web/UBWebController.cpp 2013-09-04 23:38:04.187421264 +0200 +++ sankore/Sankore-3.1/src/web/UBWebController.cpp 2013-09-04 23:38:04.179421264 +0200 @@ -193,11 +193,8 @@ QString tutorialHtmlIndexFile = 0; QString tutorialPath = "/etc/Tutorial/tutorial" + language + "/index.html"; -#if defined(Q_WS_MAC) - tutorialHtmlIndexFile = QApplication::applicationDirPath()+ "/../Resources" + tutorialPath; -#else - tutorialHtmlIndexFile = QApplication::applicationDirPath() + tutorialPath; -#endif + + tutorialHtmlIndexFile = "/usr/share/open-sankore/" + tutorialPath; QUrl currentUrl = QUrl::fromLocalFile(tutorialHtmlIndexFile);