I have attached a tar.gz of a simple demo I wrote for someone a while back.

It shows the basic calls required to register, create pins etc. and then do something in a loop in Qt5.

The paths in the .pro file will need editing.
I used to keep a copy of all the machinekit includes and libs under /usr/local, so that I didn't need
to have a copy of Machinekit built, to build Qt stuff.

I personally do not use QtCreator much, except for occasional Android programs, where it makes things easier.
I just use a terminal based file editor / file management program and run qmake etc from the command line.
You can just import these files and build / run etc under QtCreator however.

I tend to use Qt, even for terminal programs, because I am familiar with it and have a lot of libraries written
in it for Machinekit.
For any kind of UI, it comes into its own and just makes life simpler ( for me at least ).

But if std:: C++ is what you prefer, go with that.

regards

On 07/02/19 11:20, 'Boris Skegin' via Machinekit wrote:


On Thursday, February 7, 2019 at 10:13:25 AM UTC+1, Schooner wrote:

I do it all the time with Qt.


That may be the way around.

So do you use a Qt project file  and QtCreator to build userspace componets?
I ask, as one can buidl pure C++ (non Qt) apps with QtCreator too. 
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Attachment: QtDemo2.tar.gz
Description: Unix tar archive

Reply via email to