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?

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.


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/qmapshack_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/qmapshack_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.

cheers,

Fabian
------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to