I’m having problems with cumbia.
I think I have installed cumbia-libs from elettra correctly, cumbia, modules, plugins, basic applications, and I configured the ‘.pri’ and ‘.pro’ files too. The only thing I haven’t installed is epic-controls because i think its not necessary. But I when i do a project with qumbiaprojectwizard doesn’t appears to me the cumbia-Qtcontrols graphical elements when i use qtdesigner.
What I have:
What should be:
And also when i do a project with qumbiaprojectwizard and afterwards I use cuuimake it appears to me this:
hello Diego.
You may be missing QT_PLUGIN_PATH with the additional path to cumbia libs designer plugins.
In my case, being libs installed under /usr/local/cumbia-libs:
I put QT_PLUGIN_PATH(in my case /usr/local/lib/qumbia-plugins) and I have reinstalled the modules of qtcontrols, tango-controls, plugins and qumbiaprojectwizard (also in /usr/local). And it still doesn’t appear to me the qtcontrols elements
Hola Diego,
it seems that the Qt designer does not actually see the cumbia designer plugin .so
Could You please double check
echo $QT_PLUGIN_PATH ?
Because if Qt designer finds the plugin, it must be shown in the about->plugins dialog, either loaded or failed with an error message.
You can also try locate where the loaded plugins (f.e. libqwt) are and see if something is wrong with your QT_PLUGIN_PATH as far as cumbia plugin is concerned.
Sorry, I did the screenshot without the QT_PLUGIN_PATH, the message that is in Qt Designer help->about plugins is “Cannot load library /usr/local/lib/qumbia-plugins/designer/libcumbia-qtcontrols-pool-plugin.so: (libqwt.so.6: cannot open shared object file: File or directory does not exist)”
Hi Giacomo
Thanks, finally, I already have the elements of qtcontrols in designer.
Just one last thing, to connect a widget with tango, the format that i have to use for an attribute or command, what is it?
I have this error. (for an attribute i have a diferent error)
Is it with this format? (I tried it without the instace too)
For Attribute:
tango/device/server/attribute------tango/(domain/family/member)/(servername/instance)/(type)?/(attributeName)
For Command:
tango/device/server->command-------tango/(domain/family/member)/(servername/instance)->(commandName)
I don’t know Cumbia but since I’m quite familiar with the way things are usually named in Tango, I guess you could try what I suggest below.
The way I interpret the message from the tooltip in your screenshot is that “tango/device/server” in the tooltip given examples is just an example of a Tango device name.
So in your use case, I suppose you should just use “exSki/lift/0->Reset” if you want to execute the Reset command on exSki/lift/0 device.
Write double_scalar from doubleSpinBox:
sys/tg_test/1/double_scalar(&ui->doubleSpinBox) (button target)
Then you can read also device, attribute, class properties. To learn the syntax to use on a Qt Application, try
executing
cumbia read
from the command line, and read thoroughly the help page.