Hi Fabian, I can't tell you much concerning OS X. I tried to port as much knowledge from QLGT as I understood.
> Hi, > > First of all, qmapshack looks very promising to me! I built version 1.2.2 on > OSX 10.10, where it crashes when I try to import a gpx file: > <https://gist.github.com/anonymous/a2489173e56dfc259a92> Is there something > I can do to help debug this? There seems to miss the SQLite plugin. But I can't tell if that is the crucial problem. I can not make any sense of the reset. > > Also, a small UI problem: When doing a right-click on an entry in the map or > dem lists, the context menu is offset to the top by about half a screen > height. So it cannot be seen on screen when clicking on a map entry, but > will show when clicking on the dem list at the bottom. If the code summons a context menu it usually moves it to a position right where the mouse points to. That works for Linux and Windows. If OS X does something different it's either a bug in Qt or OS X needs some special treatment. Either way you have to find the root cause to decide on an appropriate fix. > > > As for installing on a current OS X, I'd suggest to get homebrew from > <http://brew.sh>. Then: > > brew install gdal proj cmake > brew install qt52 --with-d-bus > export CMAKE_PREFIX_PATH=/usr/local/opt/qt52 > mkdir build_QMapShack > cd build_QMapShack > cmake ../qmapshack-1.2.2 -Wno-dev > make > > The build will fail due to a missing "mklocversion.sh", referenced from > CMakeLists.txt. I'd guess that the lines 520 following can be removed from > that file? > > In attempting to get this to work I downloaded the qlandkartegt source and > copied over the MacOSX directory from qlandkartegt: > > cp -Rp qlandkartegt-code/MacOSX qmapshack-1.2.2 > > Then I ran cmake and make again, which failed with this: > > Scanning dependencies of target locversion.plist > Mac locale /Users/foo/src/build_QMapShack/src/qmapshack_cs.qm... > mkdir: > /QMapShack.app/Contents/Resources//Users/foo/src/build_QMapShack/src/qmapsh > ack_cs.qm.lproj: Permission denied > /Users/foo/src/qmapshack-1.2.2/MacOSX/mklocversion.sh: line 23: > /QMapShack.app/Contents/Resources//Users/foo/src/build_QMapShack/src/qmapsh > ack_cs.qm.lproj/locversion.plist: No such file or directory Mac locale > /Users/foo/src/build_QMapShack/src/qmapshack_de.qm... > …[more locales]… > make[2]: *** [src/CMakeFiles/locversion.plist] Error 1 > make[1]: *** [src/CMakeFiles/locversion.plist.dir/all] Error 2 > make: *** [all] Error 2 > > Which I guess is to be expected? At any rate, I just made mklocversion.sh do > nothing and the build then completed. This is about localization. The *qm files have to be copied to a location OS X expects them. Try to understand the QLGT code or search the Net how to do it properly. If you manage to create an installable package and are interested into supporting QMS on a long term I can grant you write access to provide packages for each release. Oliver > > cheers, > > Fabian > ---------------------------------------------------------------------------- > -- _______________________________________________ > Qlandkartegt-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
_______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
