Commit Graph

2080 Commits

Author SHA1 Message Date
El Thoro
56ff36a77f Qt 6 - DEB/RPM Linux packaging (#4029)
* Deb packaging

* Deb packaging

* Deb packaging

* Update readme to Qt 6 (except Fedora yet)

* RPM

* Deb suggests

* Deb

* RPM

* RPM

* RPM

* Jammy patch

* Test jammy patch

* Revert "Jammy patch"

This reverts commit 640196666e57b409ef6d79681a0d0cbe44ccf73d.

* Revert "Test jammy patch"

This reverts commit bebff73e6c03ec435ec4878723302fa31370083a.

* Deb control: Alternative Build-Depends

* Fix RPM for KDSingleApplication

* Add build dependency libgl-dev explicit for Jammy (it is included for newer versions automatically)

* Add build dependency qt6-l10n-tools explicit for Jammy (it is included for newer versions automatically)

* Update DEB rules removing not needed files like in RPM .spec (663a056)

* DEB rules: Remove empty folders from package

* Add kguiaddon for Fedora and Arch

* DEB rules: Remove empty lib folder from package

* DEB rules: Remove include and lib folder from package

* Add missing dependencies
2025-07-04 14:00:18 -05:00
Kyuyrii
23662454d2 Support for X11 and the standard file picker. (#4046) 2025-07-03 14:49:00 -05:00
Mehrad Mahmoudian
5f167831f2 Fix Flathub "App Listing Quality" issues (#4018)
* flatpak xml - move releases to the bottom

* flatpak xml - add branding tag

* flatpak xml - add supports tag

* flatpak xml - move translate tag for better organization

* flatpak xml - better organizing the sections

* flatpak xml - add categories tag and additional url tags

* flatpak cml - fix the summary

* flatpak xml - update screenshots

* flatpak xml - add recommends tag

* flatpak xml - add more text to the description

* add padding to the Flatpak app icons

* Fix closing tags

---------

Co-authored-by: Jeremy Borgman <borgman.jeremy@pm.me>
2025-07-01 20:11:47 -05:00
Weblate (bot)
595f3604da Translations update from Hosted Weblate (#4048)
* Translated using Weblate (Basque)

Currently translated at 89.1% (404 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/eu/

* Translated using Weblate (Basque)

Currently translated at 89.1% (404 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/eu/

---------

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org>
2025-07-01 19:38:41 -05:00
El Thoro
1f59ef5cab Kdsingleapplication as SingleApplication alternative (#4032)
* Enable SingleApplication again (compile flag; enabled by default)

* Enable SingleApplication again (compile flag; enabled by default)

* Add KDSingleApplication as SingleApplication alternative

* Cleanup: Removed /external/ subfolder

* Update CMakeLists.txt

* Remove SingleApplication; enable KDSingleApplication by default
2025-06-29 17:49:46 -05:00
Weblate (bot)
5601901999 Translations update from Hosted Weblate (#4040)
* Translated using Weblate (Bulgarian)

Currently translated at 88.0% (399 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/bg/

* Translated using Weblate (Portuguese)

Currently translated at 89.8% (407 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/pt/

---------

Co-authored-by: 109247019824 <109247019824@users.noreply.hosted.weblate.org>
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
2025-06-25 22:36:50 +03:00
Weblate (bot)
0d71402307 Added translation using Weblate (Portuguese) (#4039)
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
2025-06-24 07:37:22 -05:00
borgmanJeremy
7e3f2901f3 Fix macos signing and clean up CI (#4020)
* Fix macos signing and clean up CI

* Get version on mac similar to windows
2025-06-23 20:04:25 -05:00
Weblate (bot)
ef93ad9481 Translated using Weblate (German) (#4037)
Currently translated at 98.4% (446 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

Co-authored-by: El Thoro <elthoro@gmx.de>
2025-06-24 01:08:33 +03:00
borgmanJeremy
1d774e308a Make Imgur conditionally compiled in (#4034)
* Make Imgur conditionally compiled in

* Fix Macos build issues

* Fix windows and clang-format
2025-06-23 06:28:53 -05:00
El Thoro
a57f6413f6 Fix compiler warnings (#4023)
* Fix unused return value

* Fix deprecated operator+

* Fix truncation from double to float

* Fix unreferenced local variable

* Use qWarning instead of AbstractLogger, because AbstractLogger creates a popup which could be annoying for missing translation messages.
2025-06-22 18:49:16 -05:00
El Thoro
0d5b318e12 Make StrftimeChooserWidget button layout creation independent if number of buttons is even or not. (#4033) 2025-06-22 18:46:09 -05:00
YashKale313
89679f5bb6 Added DD-MM-YYYY format option button in configuration menu. (#3710)
Co-authored-by: yash_kale <yash_kale@persistent.com>
2025-06-22 12:41:49 -05:00
El Thoro
67042f2836 Enable Singleapplication again (#4030)
* Enable SingleApplication again (compile flag; enabled by default)

* Enable SingleApplication again (compile flag; enabled by default)

* Cleanup: Removed /external/ subfolder
2025-06-22 12:32:02 -05:00
El Thoro
019a53e9b0 Add qtimageformats for adding webp support (#4028) 2025-06-22 12:28:35 -05:00
El Thoro
f132b1d4b6 Fix for wrong set savePath on Windows (#4027) 2025-06-22 12:27:24 -05:00
El Thoro
4a0b656b00 Search windeployqt (#4022) 2025-06-22 12:24:41 -05:00
El Thoro
3741847971 Add the new size settings (#4011) into flameshot.example.ini (#4021) 2025-06-22 12:22:58 -05:00
El Thoro
cb3547e545 Center dialogs on current screen (#4024)
* Center dialogs on current sreen

* Center QuitPrompt
2025-06-22 12:22:01 -05:00
Weblate (bot)
172d561fb8 Translated using Weblate (Turkish) (#4031)
Currently translated at 88.5% (401 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

Co-authored-by: Onat Girit <onatgirit@gmail.com>
2025-06-22 18:51:09 +03:00
El Thoro
d420a53a4a Separate sizes for text, circle counter, pixelate, rectange, marker (as discussed in #3812) (#4011) 2025-06-16 15:55:44 -05:00
Weblate (bot)
6b8ba90bc9 Translations update from Hosted Weblate (#4010)
* Translated using Weblate (Italian)

Currently translated at 100.0% (453 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/it/

* Translated using Weblate (Russian)

Currently translated at 100.0% (453 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
2025-06-16 21:15:06 +03:00
El Thoro
1ee67d2e9b Fix Qt caching (#4008) 2025-06-16 06:31:37 -05:00
borgmanJeremy
58afdce741 make pin moving compatible with Wayland on Qt6 (#4000)
* make pin moving compatible with Wayland on Qt6

* found more to clean up
2025-06-12 19:55:35 -05:00
Mehrad Mahmoudian
5d91ce31fd Make CIs to ignore .ts translation files in PullRequests (#4005) 2025-06-12 16:05:42 -05:00
borgmanJeremy
100bfc1300 fixing windows CMAKE CI (#4004) 2025-06-11 20:39:36 -05:00
borgmanJeremy
7e7cbfa4ea Update Linux-pack.yml (#4001) 2025-06-11 16:43:38 -05:00
El Thoro
075a69f466 Fix for wrong set savePath on Windows (#3990) (#3997) 2025-06-10 20:30:30 -05:00
borgmanJeremy
98f03957f4 Merge pull request #3993 from flameshot-org/qt6_2025
Porting Flameshot to Qt6
2025-06-10 19:51:10 -05:00
borgmanJeremy
a354a9152d disable broken qt6 builds (#3992) 2025-06-09 16:58:21 -05:00
borgmanJeremy
9a886de2a3 Snap is compiling but has permission issue on gnome (#3991) 2025-06-09 16:23:16 -05:00
El Thoro
639b1ee73d Fix poor performance with Qt 6: Replace QFileSystemModel with QFileIconProvider (#3989) 2025-06-08 19:51:12 -05:00
El Thoro
128b58328d Fix app filter using wildcards (#3985) 2025-06-08 19:50:07 -05:00
El Thoro
a56beb34d3 Support dark mode in Windows (#3984) 2025-06-08 19:49:14 -05:00
El Thoro
669dfaadea Qt 6 - Fix http status response (#3983)
* Fix http status response

* Use QStringLiteral
2025-06-08 19:48:28 -05:00
Weblate (bot)
4edfb2ac1d Translations update from Hosted Weblate (#3986)
* Translated using Weblate (German)

Currently translated at 91.3% (414 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

* Translated using Weblate (Russian)

Currently translated at 100.0% (453 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

* Translated using Weblate (German)

Currently translated at 91.3% (414 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

---------

Co-authored-by: El Thoro <elthoro@gmx.de>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: Florian Rohrer <dev@florianrohrer.ch>
2025-06-08 03:29:25 +03:00
Weblate (bot)
80001d5c1b Translations update from Hosted Weblate (#3981)
* Translated using Weblate (Russian)

Currently translated at 100.0% (453 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

* Translated using Weblate (Finnish)

Currently translated at 88.0% (399 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fi/

* Translated using Weblate (Thai)

Currently translated at 100.0% (416 of 416 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/th/

---------

Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
Co-authored-by: Anucha Lhaononkor <achn.syps@gmail.com>
2025-06-07 08:59:17 +03:00
borgmanJeremy
aa11f4363c fix windows pack (#3982) 2025-06-06 16:11:01 -05:00
Jeremy Borgman
2c99e97ed7 Fix more c++ 20 deprecations 2025-06-06 14:35:04 -05:00
Weblate (bot)
88eaf96f24 Translated using Weblate (Chinese (Traditional Han script)) (#3980)
Currently translated at 89.1% (404 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hant/

Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
2025-06-05 18:48:42 -05:00
borgmanJeremy
b504b9eda1 Qt6 ci (#3978)
* fixing CI

* manual trigger

* Qt6 Windows build (#3976)

* Windows CI

* Windows CI

* Windows CI

* CI for Macos

* Fixing windows and mac CI

---------

Co-authored-by: El Thoro <ElTh0r0@users.noreply.github.com>
2025-06-04 20:19:53 -05:00
borgmanJeremy
2732eb375c Port to QT6 on MacOs (#3977) 2025-06-04 18:41:55 -05:00
Jeremy Borgman
533c811016 fix missing header on ubuntu 22.04, apply clang-format, working on CI 2025-06-03 20:05:54 -05:00
borgmanJeremy
50d9309e52 Fixes flatpak for Qt6 (#3974) 2025-06-03 19:27:11 -05:00
Jeremy Borgman
21abb11850 Merge branch 'master' into qt6_2025 2025-06-03 16:00:03 -05:00
Jeremy Borgman
a23034bec7 Merge branch 'master' into qt6_2025 2025-06-03 15:56:49 -05:00
borgmanJeremy
9419958231 allow networking during build phase so cmake can clone dependencies (#3973) 2025-06-03 15:56:30 -05:00
El Thoro
13f08f9ba0 Forgot another deprecated QApplication::desktop (macOS) / fix Qt 6 Windows build (#3967)
* Forgot another deprecated QApplication::desktop (macOS)

* Fix Qt 6 Windows build
2025-06-02 06:32:34 -05:00
Weblate (bot)
88c738ff93 Translations update from Hosted Weblate (#3968)
* Translated using Weblate (Italian)

Currently translated at 99.7% (452 of 453 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/it/

* Translated using Weblate (Thai)

Currently translated at 25.9% (108 of 416 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/th/

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Anucha Lhaononkor <achn.syps@gmail.com>
2025-06-02 07:32:25 +03:00
El Thoro
88d6e14246 Replace QTextCodec with QStringDecoder/Encoder (#3965) 2025-06-01 12:10:08 -05:00