KNotifications usage
Corentin BACQUÉ-CAZENAVE
corentin at progaccess.net
Sun Apr 4 10:38:05 BST 2021
I can't do that because I use QMake instead of CMake. I tried QT +=
KNotifications, but QT return an error unknown project.
Corentin (certifié Expert NVDA 2019) :
* Sites Web
o ProgAccess <https://www.progaccess.net>
o NVDA-FR <https://www.nvda-fr.org>
* Réseaux sociaux
o Twitter : @Oreonan_ <https://www.twitter.com/Oreonan_>
o Discord : Oreonan#4463
o Messenger : corentin.bacquecazenave
<https://m.me/corentin.bacquecazenave>
o Snapchat : cbc33000 <https://www.snapchat.com/add/cbc33000>
o Facebook : corentin.bacquecazenave
<https://www.facebook.com/corentin.bacquecazenave>
o Instagram : @Oreonan <https://www.instagram.com/Oreonan/>
Le 04/04/2021 à 11:34, David Faure a écrit :
> On dimanche 4 avril 2021 10:28:37 CEST Corentin BACQUÉ-CAZENAVE wrote:
>> I tried to include knotification.h in my project, but I've an error
>> because knotification_export.h is not found.
> Do you link to KF5::Notifications?
>
> Linking to a target brings in the include dirs, that's the modern cmake way.
>
> Of course before that you need
> find_package(KF5Notifications CONFIG REQUIRED)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20210404/015ab368/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NVDA Certified Expert.png
Type: image/png
Size: 33681 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20210404/015ab368/attachment-0001.png>
More information about the Kde-frameworks-devel
mailing list