Albert Astals Cid
80f310e2bd
GIT_SILENT Upgrade release service version to 24.07.70.
2024-04-21 12:24:17 +02:00
Albert Astals Cid
e9394e5436
GIT_SILENT Upgrade release service version to 24.04.70.
2024-01-11 21:31:35 +01:00
Albert Astals Cid
5e694ded11
GIT_SILENT Upgrade release service version to 24.01.90.
2024-01-09 00:42:34 +01:00
Tobias C. Berner
e7fd4257bf
Use pkg-configs imported target to link against DBus
...
To use -ldbus, the value of ${DBus_LIBARARY_DIR} would also need to be
added to the linker search paths.
To get around this, simply use the imported target by pkgconfig.
[1] b8b30ba571
2024-01-07 11:42:23 +01:00
Nicolas Fella
7c9032c85a
Remove no longer needed kpeoplevcard dependency
...
Its functionality has been merged into KPeople
2023-12-29 14:49:21 +01:00
Andreas Sturmlechner
7ca32817f3
Drop KF5_REQUIRED_COMPONENTS
...
Only used once, so no need to keep as a variable.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:28 +01:00
Andreas Sturmlechner
79bc9a85e4
Cleanup all occurences of QT_MAJOR_VERSION in cmake
...
Follow-up to 7f03aa548c
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:07 +01:00
Nicolas Fella
27afd0eb9a
[app] Undo Qt5 compatibility hacks and fix QML code
2023-12-25 15:56:13 +00:00
Nicolas Fella
7fcafdf12e
Port away from Kirigami BasicListItem
...
It doesn't exist any more in KF6
2023-12-23 16:34:47 +00:00
Prajna Sariputra
4caf77445f
Remove KF5 plasmoid
...
Now that KDE Connect has moved to Qt6 only since https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/621 we can remove the old KF5 plasmoid.
2023-12-23 16:34:33 +00:00
Nicolas Fella
7f03aa548c
Fully port to Qt6
2023-12-23 17:05:07 +01:00
Albert Astals Cid
fd656e5d21
GIT_SILENT Upgrade release service version to 24.01.85.
2023-12-18 23:14:59 +01:00
Prajna Sariputra
44301dd51f
plasmoid: Add port to KF6/Plasma 6 alongside the current KF5/Plasma 5 version
...
Currently the plasmoid is still written for KF5/Plasma 5, and in addition
it also still uses PlasmaComponents2 stuff, which has been removed in
KF6/Plasma 6. So, this is an attempt to port the plasmoid so that it works
in Plasma 6.
BUG: 476389
2023-11-30 23:41:36 +00:00
Albert Astals Cid
4c0835da17
GIT_SILENT Upgrade release service version to 24.01.80.
2023-11-25 00:46:55 +01:00
Albert Astals Cid
3eb23614e0
GIT_SILENT Upgrade release service version to 24.01.75.
2023-11-07 21:06:23 +01:00
Carl Schwan
85897fcdc3
Port to FormCard
...
This is the successor for MobileForm
2023-09-15 16:10:47 +00:00
Nicolas Fella
0baeece353
Port to KStatusNotifierItem framework
2023-08-16 23:05:44 +00:00
Albert Vaca Cintora
b8b30ba571
Use libdbus instead of GIO to listen for notifications
...
This fixes the `Error calling StartServiceByName for org.gtk.vfs.Daemon` message and subsequent crash if both the Receive Notifications plugin and Send Notifications plugin where enabled and we received a notification.
Most of the code comes from the SailfishConnect implementation here: https://github.com/R1tschY/harbour-sailfishconnect/blob/master/plugins/sf_sendnotifications/notificationslistener.cpp
2023-08-13 19:43:59 +00:00
Albert Vaca Cintora
d948d882aa
Replace QCA with a simple OpenSSL wrapper
2023-07-29 08:19:17 +00:00
Alexander Lohnau
e00ffbb4f6
Use versionless cmake variable for KF requirements
...
Also, adjust find_package calls that are hidden behind a feature flag
2023-07-25 18:29:38 +02:00
Alexander Lohnau
ba063a5177
Port away from deprecated ECMQMLModules module
2023-07-25 18:29:38 +02:00
Alexander Lohnau
1ee75463e0
Get rid of QOverload/static_cast for overloaded signals
...
By exclusing deprecated API in the KF5 build, the deprecated signal no
longer cause an ambiguity
2023-07-22 16:17:24 +02:00
Albert Vaca Cintora
0e2d2af402
Bump KDE compiler settings to latest
...
This already uses C++17 and C99, so no need to set it manually
2023-07-20 15:47:27 +00:00
Alexander Lohnau
8ea717b363
Make PulseAudioQt required dependency when WITH_PULSEAUDIO option is set
2023-07-20 13:32:17 +03:00
Alexander Lohnau
f57d59e605
Fix runtime issues with Qt6
...
To have the code bits reusable, they are defined as cmake variables.
In order to make the relative paths work and avoid touching every line
from the QRC, the resulting file is put into the source dir.
2023-07-20 13:32:07 +03:00
Alexander Lohnau
c5bfc4a5b0
Allow building against Qt6/KF6
2023-07-20 11:15:41 +03:00
Albert Vaca Cintora
495e3019e4
Reduce number of optional dependencies
...
Change some optional dependencies from being optional to being mandatory
or being mandatory but behind on-by-default cmake flags. Eg: instead of
only compiling Wayland support if we find the appropriate libraries, we
always require the libraries unless the user specifies WITH_WAYLAND=OFF.
Optional libraries are hard to discover by packagers (since they don't
see an error once we add them) and create lots of possible build flavors
with a different features that can confuse users.
2023-07-19 17:08:03 +00:00
Albert Vaca Cintora
22be63ae9e
Remove compatibility with Qt < 5.15
...
In theory we support Qt 5.6 (because of SailfishOS) but in practice we are not checking that in the CI so probably we broke the compatibility long ago. Also, I don't think anyone is using this code in SailfishOS, so we can greatly simplify the code by requiring Qt 5.15 or later.
2023-07-18 20:13:27 +00:00
Albert Vaca Cintora
bb8e67efc9
Add CMake flag to enable MDNS (off by default)
2023-07-17 20:41:15 +00:00
Albert Vaca Cintora
34e0128fe9
Add MDNS discovery
2023-07-17 20:41:15 +00:00
Albert Astals Cid
f2888e3e19
GIT_SILENT Upgrade release service version to 23.11.70.
2023-07-17 12:40:09 +02:00
Fushan Wen
4523ba5882
Use org.freedesktop.DBus.Monitoring
to monitor notifications
...
Plasma notification widget also uses the interface, and sometimes
notification ids can become out of sync between the two DBus adaptors.
BUG: 447385
FIXED-IN: 23.08
2023-03-13 02:20:12 +00:00
Albert Astals Cid
d99a241114
GIT_SILENT Upgrade release service version to 23.07.70.
2023-03-10 21:52:48 +01:00
Aleix Pol
5d4b074ef5
Drop dependency with PlasmaWaylandProtocols
...
Now that we are using the RemoteDesktop XDP, we don't need FakeInput
anymore.
BUG: 465767
2023-02-17 07:48:45 +00:00
Aleix Pol
851e456210
Use the RemoteDesktop portal to input from wayland
...
Cross-desktop approach to moving the cursor remotely on wayland. Should
work on X11 too, so we can consider drop the other one as well.
It adds support for receiving full text as well, which didn't use to be
possible.
2023-01-16 18:14:47 +01:00
Carlos De Maine
f252d026d7
require at least CMake 3.16.0 to use FindQtWaylandScanner.cmake as per compilation error
...
require at least CMake 3.16.0 to use FindQtWaylandScanner.cmake as per compilation error
2023-01-12 00:07:02 +00:00
Nicolas Fella
22cd3b1e5c
Port pointer locking away from KWayland
...
Use QtWaylandScanner directly
2022-12-13 15:42:31 +00:00
ivan tkachenko
53174acdf4
CMake: Bump minimum required version of ECM
...
Bump the required version of ECM to provide the ZSH install directory
See also: 232ed339c2
2022-12-06 22:09:59 +00:00
ivan tkachenko
232ed339c2
Install zsh completion files using new KDE_INSTALL_ZSHAUTOCOMPLETEDIR variable from ECM
...
Note: it uses the new variable KDE_INSTALL_ZSHAUTOCOMPLETEDIR, which is
to be added in ECM 5.101.
Read more: https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/310
2022-11-18 14:02:25 +03:00
Albert Astals Cid
1a8d50cb45
GIT_SILENT Upgrade release service version to 23.03.70.
2022-11-05 21:54:41 +01:00
Volker Krause
002848efa8
Adapt build system to also support Qt 6
...
This is complicated by the Qt 5.6 requirement of SailfishOS, hopefully
that didn't get broken by this.
2022-10-29 16:51:41 +02:00
Nicolas Fella
ed3ae873a7
Port to ecm_add_qml_module
...
Reduces some boilerplate
2022-09-28 16:13:37 +00:00
Nicolas Fella
ce14a5629d
Add clang-format commit hook
2022-09-11 23:21:58 +00:00
Nicolas Fella
a918ffc0cb
Add and make use of ECM's clang-format integration
2022-09-11 23:21:58 +00:00
Nicolas Fella
f53dadaffa
Port to new KIO worker API
2022-09-05 12:06:39 +02:00
Ömer Fadıl Usta
5373c03779
Sync QT_MIN_VERSION with KF's REQUIRED_QT_VERSION
...
In KF we already looking for 5.15.2
and looking something lower than that
is a bit meaningless
2022-08-29 00:05:01 +00:00
Albert Astals Cid
06a89b15df
GIT_SILENT Upgrade release service version to 22.11.70.
2022-07-13 00:12:54 +02:00
Nicolas Fella
184120642a
Fix using kdeconnect-settings when instance is already running
...
kdeconnect-settings is a single-instance app
When activating an existing instance actually load the requested settings part
Bump KF5 dependency to 5.95 to include https://invent.kde.org/frameworks/kcmutils/-/merge_requests/90 , otherwise there's a crash
2022-07-06 12:55:39 +00:00
Albert Astals Cid
d76207db04
Add ki18n_install and kdoctools_install
2022-05-22 12:20:30 +02:00
Nicolas Fella
7704726857
[plugins/mousepad] Port away from KWayland
...
Use QtWaylandScanner to implement the protocol directly
2022-05-02 20:15:43 +02:00