Ask / Submit
1

SDK notification.h not found [answered]

asked 2018-03-17 16:07:53 +0200

yajo gravatar image

Hello, I have a problem with the SDK. I would like to program a App with sending notifications using C++. I tried it like descripted here: Sailfish WIki. But I'm getting always the error: Fehler: notification.h: No such file or directory. Has anybody an idea?

Thanks yajo10

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by yajo
close date 2018-03-18 12:36:11.289003

1 Answer

Sort by » oldest newest most voted
4

answered 2018-03-18 01:07:13 +0200

mentaljam gravatar image

Hi,

Try to add nemonotifications-qt5 to the PkgConfigBR section of your RPM .yaml file:

PkgConfigBR:
  - sailfishapp >= 1.0.2
  ...
  - nemonotifications-qt5

and to the PKGCONFIG variable of your .pro file:

PKGCONFIG += \
    nemonotifications-qt5
edit flag offensive delete publish link more

Comments

Thank you! That was the correct solution!

yajo ( 2018-03-18 12:35:54 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2018-03-17 16:07:53 +0200

Seen: 167 times

Last updated: Mar 18 '18