Hi, Am 08.11.20 um 11:31 schrieb Oliver Eichler: > Hi, > > forget about the unit tests. They are not maintained. Ok, I had my suspicions. Thanks for clarifying. > > Regarding PROJ: The PROJ project does provide all necessary files > needed to integrate PROJ into cmake. However some distributions like > Debian failed to package these files. That is why there is a patch > and some magic in the CMakeLists.txt that will work until the end of > the year to apply this patch for Debian. Hopefully we can drop this > next year if Debian packages all files for development. > > Therefore the better approach from my point of view is to fix > distributions if they do not provide all development files in their > development packages. Understood. So I will patch locally to build.
Btw the recent Manjaro Update to 20.2 Nibia brought a update of quazip to version 1.1 replacing the previous version. Following their migration guide https://github.com/stachenov/quazip/blob/master/QuaZip-1.x-migration.md works just fine. Essentially find_package(QuaZip-Qt5) and using QuaZip::QuaZip as cmake target. I have now a working (at least building) setup. Thanks. Best regards, Andreas > > HTH > > Oliver > >> Gesendet: Samstag, 07. November 2020 um 15:50 Uhr Von: "Andreas >> Holzner" <[email protected]> An: >> [email protected] Betreff: >> [Qlandkartegt-users] development setup qmapshack >> >> Hi, >> >> I am new to qmapshack and trying to learn about the inner workings >> of qmapshack. >> >> When trying to build on Manjaro I ran into two problems for which >> I couldn't find information in the docs. It may well be that I >> missed the relevant parts so any pointers would be much >> appreciated. >> >> - Proj(4) is not found even though it is installed. It turned out >> that the existing patch for Debian solves this problem. Applying >> FindPROJ4.patch in case the find_package(PROJ4) fails is fixing >> this issue for me. If you think this is useful also for others I am >> happy to contribute it. >> >> - I have problems with the test/unittest directory. I can get it >> to build if I create a library of qmapshack and link the test >> against it. However, the result segfaults. My next attempt would be >> to explicitly add the required files from the src directory to the >> build of qttest and go from there. Do you have any tips on how to >> get this to work? >> >> Best regards, Andreas >> >> -- If constructors would build buildings like programmers write >> programs, the first woodpecker that came along would destroy >> civilization. >> >> >> _______________________________________________ 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 > -- If constructors would build buildings like programmers write programs, the first woodpecker that came along would destroy civilization. _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
