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) 

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



Reply via email to