Hi Christophe, I built the QMapShack.AppImage for QMS V1.19.0 based on Ubuntu 22.04.
May be the dockerfile can help to find the needed instructions. https://github.com/kkarsten62/QMapShack.AppImage/blob/main/Dockerfile_Ubuntu-22.04 Or you can try the QMapShack.AppImage directly w/o building yourself: https://github.com/kkarsten62/QMapShack.AppImage/releases/tag/V_1.19.0.development.0 https://github.com/kkarsten62/QMapShack.AppImage/releases/download/V_1.19.0.development.0/QMapShack-x86_64.AppImage QMapShack.AppImage works for Ubuntu 22.04, 24.04 and 25.10. You need a manual installation of Qt6 for Ubuntu 22.04, I use Qt 6.8.3. May be for Ubuntu 24.04 you can try a newer version and a manual online Qt6 installation is not necessary - you have to check if the Qt6 package are available in the Ubuntu 24.04 package repository. I have noticed for me the following install instruction for a Qt6 manual online installation: --- Install Qt 6.8.3 Ubuntu 22.04 official packages provides no Qt version > 6.8 which is needed by QMapShack Version > V_1.18.0. So a online installation of the Qt environment is required. Register for a Qt Account and download the Qt Maintenance Tool https://doc.qt.io/qt-6/qt-online-installation.html Make the Qt Maintenance Tool executable chmod u+x qt-online-installer-linux-x64-4.10.0.run Start the *Qt Maintenance Tool ./qt-online-installer-linux-x64-4.10.0.run For the Install directory use your home directory e.x: `/home/user/Qt` Uncheck `Developer tools Qt 6.9 for desktop development` Check `Custom installation` Uncheck all options and check the following six options only: Extensions > QtWebEngine > 6.8.3 > Desktop Qt > Qt 6.8.3 > Desktop Qt > Qt 6.8.3 > Additional Libraries > Qt 5 Compatibility module Qt > Qt 6.8.3 > Additional Libraries > Qt Positioning Qt > Qt 6.8.3 > Additional Libraries > Qt Qt Serial Port Qt > Qt 6.8.3 > Additional Libraries > Qt WebChannel -- Best regards Karl ... Am Montag, dem 29.12.2025 um 11:37 +0100 schrieb [email protected]: > 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 > > > > > > _______________________________________________ > > 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
