Hello all,


I was really planning to add a wiki section about how to build with Ubuntu v24 
and Qt5 in June this year... but then Qt6 arrived. And it is December now.

And build instructions below do not work for me :(



Is it possible to have a quick list a of commands to build, and this time 
hopefully I will update the wiki.



Thanks,



Christophe





De : zero <[email protected]>
À : [email protected]
Objet : Re: [Qlandkartegt-users] Cannot compile using Ubuntu v24
Date : 01/06/2025 21:40:05 Europe/Paris

Thanks again Torsten,

I am a bit overloaded right now, but knowing how to build in dev mode is 
also very useful.
Some years ago I did some pull requests.

Christophe

Le 30/05/2025 à 23:13, Torsten Metzner a écrit :
> Hi Christophe,
>
> if you want to build qmapshack-dev you must install a little bit more:
>   - sudo apt install libquazip1-qt6-dev libcups2-dev
>   - sudo apt  install cmake-curses-gui # if you want to use ccmake 
> instead of cmake
>
> Because qmapshack-dev need at least QT 6.8 you must also install a 
> newer QT version, because Ubuntu 24.04.2 came with QT 6.4.2
>
> I used QT 6.9 for this. You should use Custom Installation, because in 
> addition to the standard installation you also need, must install:
>  - Qt 5 Compatibility module, Qt WebChannel, Qt Positioning and the Qt 
> WebEngine Extension.
>
> Let us assume QT 6.9 is installed in /sharedBuild/QT
>
> Then you can build qmapshack-dev as usual, the cmake command using 
> your local QT installation is then:
>
> cmake ../qmapshack-dev -DCMAKE_PREFIX_PATH=/sharedBuild/QT/6.9.0/gcc_64
>
> For me this work and I can build QMapShack and start it again with 
> ./bin/qmapshack
> I did not test more.
>
> You do not have to set the LD_LIBRARY_PATH for starting it, because if 
> you use ldd ./bin/qmapshack you will see that it is linked against the 
> correct libraries, e.g.:
> $ ldd ./bin/qmapshack | grep Qt6Core.so
>   libQt6Core.so.6 => /sharedBuild/QT/6.9.0/gcc_64/lib/libQt6Core.so.6 
> (0x0000738628c00000)
>
> Some remark concerning libquazip1-qt6-dev from the system. It is 
> linked against the qt6 libraries which came together with the system, 
> e.g.:
>
> $ ldd /usr/lib/x86_64-linux-gnu/libquazip1-qt6.so | grep libQt6Core.so
>   libQt6Core.so.6 => /lib/x86_64-linux-gnu/libQt6Core.so.6 
> (0x0000780287000000)
>
> Potentially this can lead to problems because we have a flat namespace 
> for symbols under Linux.
>
> I hope this is helpful,
> Torsten
>
>
> On 30.05.25 15:55, [email protected] wrote:
>> Thanks Torsten !
>>
>> It compiles like a charm.
>> I will find some time to create a new Wiki page for Ubuntu 24.
>>
>> Have a good day,
>>
>> Christophe
>>
>>
>> _______________________________________________
>> 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


-- 
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com




_______________________________________________
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

Reply via email to