Привет, народ, подскажите, кто работал с кинетик, вот у меня есть пробная программа, в интернете нашел статью, там написано, что выдать сообщение всплывающее можно вот так:
KineticNotification *notify = new KineticNotification("id", timeout);
notify->setMessage(QString::fromUtf8("Тест"),
QString::fromUtf8("Сообщение"),
"./images/avatar.jpg"
);
connect(notify, SIGNAL(action2Activated()), QApplication::instance(), SLOT(quit()));
connect(notify, SIGNAL(action1Activated()), SLOT(nextNotify()));
notify->send();
Соответственно нужно подключить заголовочные файлы:
KineticNotifications.h
NotificationWidget.h
Notification Manager.h
У меня вот выходят такие ошибки:
undefined reference to `KineticNotification::KineticNotification(QString const&, unsigned int)'
undefined reference to `KineticNotification::setMessage(QString const&, QString const&, QString const&)'
undefined reference to `KineticNotification::send()'
:-1: error: collect2: выполнение ld завершилось с кодом возврата 1
В чем проблема?