Hi Oliver,
>time to clean sweep the repository. All in all just little fixes. And a bit of
>updated translation.
thanks!
>
>There are two new features:
And two minor issues in the OSX version (10.5.8 PPC, QT 4.8.x) ;-)
1) there are linker errors because of QDeviceWatcher, which needs
the DiskArbitration framework.
Fix:
--- src/CMakeLists.txt.orig 2014-07-10 22:22:08.000000000 +0200
+++ src/CMakeLists.txt 2014-07-10 22:22:26.000000000 +0200
@@ -747,7 +747,7 @@
add_executable(${PROGNAME} MACOSX_BUNDLE ${qlandkarte_ALLINP}
${MAC_EXTRA_RES})
set_target_properties(${PROGNAME} PROPERTIES
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/MacOSX/Info.plist.in
- LINK_FLAGS "-framework CoreFoundation"
+ LINK_FLAGS "-framework CoreFoundation -framework DiskArbitration"
)
add_custom_target(mac-deploy macdeployqt "${MAC_BUNDLE_PATH}"
2) 1.7.7 doesn't pick up preferences from earlier versions, because the
name of the plist file has changed from "org.qlandkarte.QLandkarteGT.plist" to
"com.org-qlandkarte.QLandkarte GT.plist". This came with Qt5 support
added in r3933.
Why was applicationName and organizationDomain changed? Is this really
needed for Qt5?
For the MacPorts port I'll add the following patch (depends on qt4-mac
anyway):
--- src/main.cpp.orig 2014-07-10 22:22:18.000000000 +0200
+++ src/main.cpp 2014-07-10 22:22:26.000000000 +0200
@@ -284,15 +284,11 @@
GDALAllRegister();
#ifdef Q_OS_MAC
- QCoreApplication::setApplicationName("QLandkarte GT");
QCoreApplication::setApplicationVersion(VER_STR);
- QCoreApplication::setOrganizationName("org.qlandkarte");
- QCoreApplication::setOrganizationDomain("org.qlandkarte");
-#else
+#endif
QCoreApplication::setApplicationName("QLandkarteGT");
QCoreApplication::setOrganizationName("QLandkarteGT");
QCoreApplication::setOrganizationDomain("qlandkarte.org");
-#endif
QApplication::setWindowIcon(QIcon(":/icons/qlandkartegt.png"));
#ifdef WIN32
Regards
Michael
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users