29 lines
1.6 KiB
Diff
29 lines
1.6 KiB
Diff
--- Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx.orig 2016-11-15 01:41:57.000000000 +1000
|
|
+++ Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx 2016-11-16 11:34:49.709313333 +1000
|
|
@@ -322,9 +322,9 @@
|
|
QString appdir = QCoreApplication::applicationDirPath();
|
|
QString documentationPath = QFileInfo(appdir).fileName() == "bin"
|
|
?
|
|
- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc"
|
|
+ /* w/o shared forwarding */ appdir + "/../doc/paraview-" PARAVIEW_VERSION_FULL
|
|
:
|
|
- /* w/ shared forwarding */ appdir + "/../../share/paraview-" PARAVIEW_VERSION "/doc";
|
|
+ /* w/ shared forwarding */ appdir + "/../../doc/paraview-" PARAVIEW_VERSION_FULL ;
|
|
#endif
|
|
|
|
QString paraViewGuideFile = documentationPath + "/Guide.pdf";
|
|
--- Qt/ApplicationComponents/pqWelcomeDialog.cxx.orig 2016-11-15 01:41:57.000000000 +1000
|
|
+++ Qt/ApplicationComponents/pqWelcomeDialog.cxx 2016-11-16 11:37:26.936328667 +1000
|
|
@@ -45,9 +45,9 @@
|
|
QString appdir = QCoreApplication::applicationDirPath();
|
|
QString documentationPath = QFileInfo(appdir).fileName() == "bin"
|
|
?
|
|
- /* w/o shared forwarding */ appdir + "/../share/paraview-" PARAVIEW_VERSION "/doc"
|
|
+ /* w/o shared forwarding */ appdir + "/../doc/paraview-" PARAVIEW_VERSION_FULL
|
|
:
|
|
- /* w/ shared forwarding */ appdir + "/../../share/paraview-" PARAVIEW_VERSION "/doc";
|
|
+ /* w/ shared forwarding */ appdir + "/../../doc/paraview-" PARAVIEW_VERSION_FULL ;
|
|
#endif
|
|
QString paraViewGettingStartedFile = documentationPath + "/GettingStarted.pdf";
|
|
QUrl gettingStartedURL = QUrl::fromLocalFile(paraViewGettingStartedFile);
|