Registered Member
|
Hi! I'm working in a Okular'bugs that requires to create a new buttom at the menuBar, following this tutorial: https://techbase.kde.org/Development/Tu ... ng_Actions and looking at the rest of the code I have made the new action and I think all is configured correctly, but, for some reason, when I change the part.rc file, these changes aren't aplied. In order to see if that was a problem with the rest of the code I have tried to change the text fields of some entries at the .rc file and even duplicate one of them to see if that change does something but no, menubar is not changing. I also have read that I have to change the version atribute of the gui tag and I have do it, but doesn't work... I have tried to change something else in other part of the code in order to see if I wasn't building the project correctly and these changes take effect so... I don't know what to do now with it, I don't understand why changes to part.rc doesn't take effect...
There are another .rc file, called part-viewmode.rc but this file doesn't seems to render the menubar... Any help? |
Registered Member
|
I've solved it.
The program was looking for a default .rc file in other directory because I haven't told it to find it at the correct directory as said in the tutorial I was reading: https://techbase.kde.org/Development/Tu ... ng_Actions It is necessary to run the program like this:
with the correct paths. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell