[QGIS-Developer] Experimental Qt6 Flatpak build available for Linux/Python devs (for updating plugins)

Ulisse Cavallini ulisse.cavallini at faunalia.it
Mon Jun 16 07:39:50 PDT 2025


Hi Hannes,


this could be due to the fact that the flatpak .desktop file has the 
same "Name". You could solve this by copying both the .desktop files 
(flatpak and system-wide) in your user application directory, for 
example (local paths may vary):

/cp /usr/share/applications/org.qgis.qgis.desktop 
~/.local/share/applications//

/cp /var/lib/flatpak/exports/share/applications/org.qgis.qgis.desktop 
~/.local/share/applications//

and change the name of one of the two (Name attribute), for example 
setting "QGIS Desktop Flatpak Qt6"

Should be automatically picked up, otherwise you can run

/update-desktop-database ~/.local/share/applications/

See also 
https://wiki.archlinux.org/title/Desktop_entries#Modify_desktop_files


I hope this helps!

Cheers,

Ulisse


On 6/16/25 4:16 PM, Johannes Kröger (WhereGroup) via QGIS-Developer wrote:
> Oh, I meant not another Flatpak QGIS but really the system-wide QGIS 
> (/usr/bin/qgis). The system QGIS is still available via a terminal but 
> the Flatpak one has taken over "QGIS" in the GUI (in the "start" 
> menus, launchers, whatever those are called).
>
> Maybe that is just on my system(s) though?
>
> Cheers, Hannes
>
> On 6/16/25 15:57, Richard Duivenvoorde wrote:
>> I think this has to do with the fact that I did not change the 
>> id/name of the application.
>> It's still called "org.qgis.qgis"...
>> Maybe I should call it something like "org.qgis.qgis.next" or so? 
>> "org.qgis.qgis.qt6'?
>> Then I think it will not conflict with the normal flatpak qgis...
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>> On 16-06-2025 15:08, Johannes Kröger (WhereGroup) wrote:
>>> Thank you, this is super useful!
>>>
>>> Is there a way to make it not mask my system QGIS? After I installed 
>>> this on Manjaro or Ubuntu, it took over "QGIS" in the launcher menu. 
>>> The only way I could still run my normal QGIS was via "qgis" in the 
>>> terminal.
>>>
>>> I expect this to be some configuration setting of flatpak itself, 
>>> but found literally nothing via Google. So maybe it is something 
>>> flatpak build specific or my Google fu has broken.
>>>
>>> Cheers, Hannes
>>>
>>> On 6/11/25 16:48, Richard Duivenvoorde via QGIS-Developer wrote:
>>>> Hi,
>>>>
>>>> Based on the excellent Flatpak work of Aleix Pol 
>>>> (https://github.com/flathub/org.qgis.qgis), I managed to create a 
>>>> runnable Qt6 build of QGIS for Linux's (with flatpak available)
>>>>
>>>> My idea is that Linux users of distro's without the needed 
>>>> dependencies can run QGIS and test/update their Python plugins with 
>>>> this build.
>>>> This flatpak build (master) is (thanks to Aleix!) having 3D and 
>>>> PDAL/cloudpoint available too.
>>>>
>>>> Note that this is my first flatpak build, probably things go/are 
>>>> wrong, and I'm not sure how to do further/future distribution...
>>>>
>>>> But for now: to run/try it:
>>>>
>>>> Download the single-bundle file from
>>>>
>>>> http://duif.net/qgis-qt6.flatpak
>>>>
>>>> If you do not have flatpak/flathub available, make sure you do by 
>>>> doing the steps at
>>>>
>>>> https://flatpak.org/setup/ for your distro, to
>>>> 1) install flatpak and
>>>> 2) make the flathub repo available for needed runtimes and sdk's.
>>>>
>>>> Now go to the qgis-qt6.flatpak file and INSTALL it:
>>>>
>>>> flatpak install --runtime --include-sdk qgis-qt6.flatpak
>>>>
>>>> (this will install the KDE runtime and sdk and then finally the 
>>>> qgis-qt6 system wide)
>>>>
>>>> Then to run it:
>>>>
>>>> flatpak run org.qgis.qgis
>>>>
>>>> I hope this is useful for anybody.
>>>>
>>>> Have to talk to Aleix for more finesses to maybe share this on 
>>>> flathub or with his Qt5 build.
>>>>
>>>> If you want to build it yourself there is some info in: 
>>>> https://github.com/flathub/org.qgis.qgis/issues/428
>>>>
>>>> Regards,
>>>>
>>>> Richard Duivenvoorde
>>>> _______________________________________________
>>>> QGIS-Developer mailing list
>>>> QGIS-Developer at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
>>
>>
-- 
Ulisse Cavallini
www.faunalia.eu
Training, support, development on QGIS, PostGIS and more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20250616/f2c01ac7/attachment.htm>


More information about the QGIS-Developer mailing list