--- SavvyCAN-213.orig/SavvyCAN.pro +++ SavvyCAN-213/SavvyCAN.pro @@ -251,7 +251,7 @@ } examplefiles.files=examples -examplefiles.path = $$PREFIX/share/savvycan/examples +examplefiles.path = $$PREFIX/share/doc/savvycan INSTALLS += examplefiles iconfiles.files=icons @@ -259,7 +259,7 @@ INSTALLS += iconfiles helpfiles.files=help/* -helpfiles.path = $$PREFIX/bin/help +helpfiles.path = $$PREFIX/share/savvycan/help INSTALLS += helpfiles INSTALLS += target --- SavvyCAN-213.orig/helpwindow.cpp +++ SavvyCAN-213/helpwindow.cpp @@ -60,7 +60,7 @@ void HelpWindow::showHelp(QString help) { - QString helpfile = QCoreApplication::applicationDirPath() + "/help/" + help; + QString helpfile = "/usr/share/savvycan/help/" + help; QUrl url = QUrl::fromLocalFile(helpfile); qDebug() << "Searching for " << url; ui->textHelp->setSource(url);