comparison src/converter.cpp @ 98:dd322a4b90d9 tip

Fix resource finding and installation
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 07 Oct 2016 12:44:50 +0200
parents ccd1dbea2536
children
comparison
equal deleted inserted replaced
97:ccd1dbea2536 98:dd322a4b90d9
189 189
190 /* Look in ../share/apps/PROJECT_NAME */ 190 /* Look in ../share/apps/PROJECT_NAME */
191 #ifndef Q_OS_MAC 191 #ifndef Q_OS_MAC
192 ourDir.cd(QStringLiteral("../share/apps/" APPNAME).toLower()); 192 ourDir.cd(QStringLiteral("../share/apps/" APPNAME).toLower());
193 #else 193 #else
194 ourDir.cd(QStringLiteral("../../Resources")); 194 ourDir.cd(QStringLiteral("../Resources"));
195 #endif 195 #endif
196 if (ourDir.exists(filename)) { 196 if (ourDir.exists(filename)) {
197 regexs = loadExpressionsFromFile(ourDir.filePath(filename), errors); 197 regexs = loadExpressionsFromFile(ourDir.filePath(filename), errors);
198 } else { 198 } else {
199 qDebug() << "Failed to find regular expressions."; 199 qDebug() << "Failed to find regular expressions.";
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)