Qtvcp Development Discussions

More
5 years 9 months ago #196378 by grijalvap
There is any way we can use QTvcp with C++ using qtcreator, I know the adventages of python however C++ has a better performance at run time since it is compiled not interpreted.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196379 by cmorley
I'm not sure i understand your question - do you want qtvcp rewritten in c++ ?
if so my answer is not by me and I would not support the idea of it.
Performance is not the biggest priority of screens.

In what way is python's performance not up to the task?
linuxcnc has no screens that are written completely in C or C++ and I don't hear constant complaints of performance - only openGL problems.

That being said - it should be completely possible to write specific _widgets_ in C++ and have them incorporated in QtVCP - just as one can right now use any QT widget that has a qtdesigner plugin.

The biggest problem with C++ code is you automatically create a high bar for people to maintain and modify them. We already have a lack of developers willing/able to work in linuxcnc.

Chris
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196381 by cmorley
GMoccapy is a perfect example.
Norbert wanted to build a screen similar to Mocca (written in pascal! if I recall correct).
At the time I was creating Gscreen infrastructure.
Between the two of us we created enough widgets and infrastructure to create Gscreen/GMoccapy and allow ofhers to create/modify screens.

If C C++ was our only option neither would have been written and our only option would be AXIS with pyvcp panels.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196382 by grijalvap
understood

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #235481 by Mduran
Can you currently add an NGCGUI tab to qtdragon?

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #235524 by cmorley
No, qtdragon does not support embedding, and embedding programs is hit and miss in qtvcp anyways.

Jim was working on a ngcgui widget for qtdragon - I should touch base with him and see how that is going.

Chris

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.078 seconds
Powered by Kunena Forum