Home | Tutorials | Wiki | Issues
Ask Your Question
0

Ignition gui plugin Qt Charts Problem

asked 2020-03-23 02:36:01 -0500

Amr Elsersy gravatar image

I want to add a plugin to the ignition gui that contains a simple line series chart i call the plugin "Plotting" I added all required code in CMakeList files, added all required code to make a plugin in ignition... and this is work for any QML Code except the Qt Charts ! when i put Qt Charts in the QML file of my plugin, it displays an error in standalone running (ign gui -s Plotting)

i have a vaild qmlscene of my code Screenshot from 2020-03-23 09-14-17

but when i try to run it with (ign gui -s Plotting) i get this Screenshot from 2020-03-23 09-40-36 Screenshot from 2020-03-23 09-40-24

.. and if i change the charts code to any code that hasn't charts, it works !

thank you for your time :D

edit retag flag offensive close merge delete

Comments

It would be easier to help if you shared a minimal way to reproduce the problem, otherwise it's hard to know exactly what's going on.

chapulina gravatar imagechapulina ( 2020-03-23 11:20:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-23 18:02:39 -0500

Amr Elsersy gravatar image

updated 2020-03-23 18:10:04 -0500

Okay, the problem is " ignition dose not run the plugin if it contains any Qt Charts components "

i am trying to make a very simple plugin .. it works if my .qml file contains any qml components (except charts components) and this is the code https://github.com/AmrElsersy/ignitio...

but when my .qml file has any simple qtcharts component it gives me that error Screenshot from 2020-03-24 01-02-04

I added the required cmake instructions(for Qt5 Charts) in the CMakeList file but it dose not work.

edit flag offensive delete link more

Comments

I see you figured out the problem on https://answers.gazebosim.org//questi... , well done! Feel free to close this question.

chapulina gravatar imagechapulina ( 2020-03-27 11:33:20 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-03-23 02:36:01 -0500

Seen: 41 times

Last updated: Mar 23