Registered Member
|
Hello all. I'm wanting to write a simplified version of the NavigationFloatItem with only zoom controls (no pan controls). Please bear with me: I have no plugin experience as far as Qt is concerned. So I wrote something with this interface:
The .cpp is really just stubbed out functions for now. Compiling this results in an "Undefined interface" error from Q_INTERFACES line. What am I missing? Is this possible? There's a tutorial for the LayerInterface stuff... why is there no tutorial for this? |
KDE Developer
|
You need to have an
|
Registered Member
|
Thanks Earthwings, but that changed nothing. This is what I have now:
|
Registered Member
|
Addtionally, in my .cpp, if I copy what NavigationFloatItem has and do something like this:
I get a "zoom_float_item.moc: No such file or directory." Any change these issues are related? |
KDE Developer
|
How are you building your code? moc is not run, or called but produces a different file than the one you're including.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]