|
Registered Member
|
I was following the tutorial here: http://techbase.kde.org/Development/Tut ... th_Actions
But the very first line of code:
is giving me an error. The error is:
I've been hours on this and can't find anything to make it work. That's the first line of the code, it can't be possible for it to be wrong (but it is). Does anyone know how to make the conversion or do you think there is something else wrong?
|
|
Administrator
|
It seems the example is wrong unfortunately.
Both of the following should work though:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
Registered Member
|
Don't worry I figured it out. Thanks. Now I am having another problem that maybe here someone has experienced. To make KAuth work I have to link against kdecore library. I've already linked against it in the CMake file with:
but then I get undefined reference to all of the QT components in my code. If I eliminate "kdecore" then I get undefined reference only to KAuth::Action. And if I eliminate all the KAuth code then it compiles fine all the QT components. Have this happened to anyone before? Could this mean KAuth cannot work along QT Applications? Fixed it, I had something wrong on the "install" arguments of cmake. |
|
Administrator
|
Good to see you got it sorted - marked as solved.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient