[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    error while including
From:       Barış Akkurt <dbarisakkurt () gmail ! com>
Date:       2010-06-28 17:32:03
Message-ID: AANLkTimf-KdVxrXvcjLZV4efsFH2V1tcbdNkVGwtKNBn () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


hi. i'm an absoulute beginner and try to make my own plasmoid.

in my source code's header section, i code;
#include <QDBusInterface>

in the main function i want to create a QDBusInterface instance but the
error below appears (both at my work and at home)

dbus_deneme1.cpp:1:26: error: QDBusInterface: No such file or directory
dbus_deneme1.cpp: In function 'int main()':
dbus_deneme1.cpp:8: error: 'QDBusInterface' was not declared in this scope
dbus_deneme1.cpp:8: error: expected `;' before 'plasmaApp'
dbus_deneme1.cpp:9: error: 'plasmaApp' was not declared in this scope


i am sure that i installed all the necessary libraries like qt, libplasma
etc.
where is the problem?
(in addition to this i, want to compile some codes that i downloaded from
the internet, if there is a QDBusInterface, QDBus or sth similar the same
problem occurs.)

[Attachment #5 (text/html)]

hi. i&#39;m an absoulute beginner and try to make my own plasmoid.<br><br>i=
n my source code&#39;s header section, i code;<br>#include &lt;QDBusInterfa=
ce&gt;<br><br>in the main function i want to create a QDBusInterface instan=
ce but the error below appears (both at my work and at home)<br>

<br>dbus_deneme1.cpp:1:26: error: QDBusInterface: No such file or directory=
<br>dbus_deneme1.cpp: In function &#39;int main()&#39;:<br>dbus_deneme1.cpp=
:8: error: &#39;QDBusInterface&#39; was not declared in this scope<br>
dbus_deneme1.cpp:8: error: expected `;&#39; before &#39;plasmaApp&#39;<br>
dbus_deneme1.cpp:9: error: &#39;plasmaApp&#39; was not declared in this sco=
pe<br><br><br>i am sure that i installed all the necessary libraries like q=
t, libplasma etc.<br>where is the problem?<br>(in addition to this i, want =
to compile some codes that i downloaded from the internet, if there is a QD=
BusInterface, QDBus or sth similar the same problem occurs.)<br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic