Bug 397268 - KDE/Qt/C++/Python application template: add a distro agnostic package method
Summary: KDE/Qt/C++/Python application template: add a distro agnostic package method
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Application templates (other bugs)
Version First Reported In: 5.2.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-08 11:29 UTC by Gregor Mi
Modified: 2021-12-11 09:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Mi 2018-08-08 11:29:14 UTC
A commonly asked question for people starting with programming is

"How can I run my application on another computer?"

It would be cool to have a template that adds a dist/package command that creates a Flatpak (https://github.com/flatpak/qt-flatpak-demo), an AppImage or something else which is easy to use.
Comment 1 Thiago Sueto 2021-12-04 01:48:13 UTC
I agree, and it should be relatively simple to implement a flatpak build since Qt already provides QJsonDocument/QJsonObject and other classes that are pretty simple to use, and KDE already uses Json for everything flatpak. I don't think appimage/snap would be as easy to implement.

For comparison, GNOME's IDE, GNOME Builder integrates with flatpak builds.

I might be able to work on this in the following months.
Comment 2 Thiago Sueto 2021-12-11 09:45:40 UTC
Actually, now that I searched further, KDevelop *already* has support for flatpak templates, I dunno how I missed it. The only means to build it from within KDevelop seems to be via External scripts, though.