[rkward/frameworks] rkward/misc: More compilation and runtime fixes for Windows.
Thomas Friedrichsmeier
null at kde.org
Fri May 19 14:17:52 UTC 2017
Git commit 69cf554b9345bcd056accc18ff95b7f17f33e4f2 by Thomas Friedrichsmeier.
Committed on 19/05/2017 at 14:17.
Pushed by tfry into branch 'frameworks'.
More compilation and runtime fixes for Windows.
M +1 -1 rkward/misc/CMakeLists.txt
M +1 -1 rkward/misc/rkcommonfunctions.cpp
https://commits.kde.org/rkward/69cf554b9345bcd056accc18ff95b7f17f33e4f2
diff --git a/rkward/misc/CMakeLists.txt b/rkward/misc/CMakeLists.txt
index eba6c797..97f5a16d 100644
--- a/rkward/misc/CMakeLists.txt
+++ b/rkward/misc/CMakeLists.txt
@@ -1,4 +1,4 @@
-INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${LibIntl_INCLUDE_DIRS} )
SET(misc_STAT_SRCS
rkspinbox.cpp
diff --git a/rkward/misc/rkcommonfunctions.cpp b/rkward/misc/rkcommonfunctions.cpp
index 431014f7..09f7dccb 100644
--- a/rkward/misc/rkcommonfunctions.cpp
+++ b/rkward/misc/rkcommonfunctions.cpp
@@ -155,7 +155,7 @@ namespace RKCommonFunctions {
}
QString getRKWardDataDir () {
- return (QStandardPaths::locate (QStandardPaths::AppDataLocation, "resource.ver").replace ("resource.ver", QString ()));
+ return (QStandardPaths::locate (QStandardPaths::GenericDataLocation, "rkward/resource.ver").replace ("resource.ver", QString ()));
}
QString getUseableRKWardSavefileName (const QString &prefix, const QString &postfix) {
More information about the rkward-tracker
mailing list