Good morning,
So I’m going over the kde tutorial called kxmlgui-tutorial. Using KDE Builder i’m able to build and compile then run the little application without issue. But, if I try and run the compiled program from the command line for some reason the toolbar is not present.
Using kde-builder:
Without KDE-Builder
It’s like something isn’t being loaded.
Does anyone have any idea about this?
Thanks!
How are you compiling and running it from the command line?
Hey.
Yeah I am.
I’m compiling it using kde-builder and build it doing ‘kde-builder kxmlgui-tutorial’. I then run the program after its compiled by running ‘kde-builder —run texteditor’ and when I do the menu is included.
So I did notice something just now when I’m playing around. It appears when I run ‘texteditor’ via the command line that it’s unable to fund the texteditorui.rc file that’s included but running it via kde-builder that isn’t an issue.
I asked how you are compiling and running it because if you don’t run the install command first, you won’t get actions to show up. The ui.rc file needs to be installed to the appropriate location for that.
1 Like
So this is interesting. I did a builld by hand (not using kde-builder) and it builds and finds the ui file.
Yeah I agree it does. It appears that kde-builder isn’t setting it up like that.