Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Qt Quick (QML) and C/C++ example

$
0
0
Ok, I did some searching but could not find any good examples with short descriptions. Most of pages go into a lot of detail and require a significant object oriented programming background. I have a decent C programming background but not much C++ or Java and I quickly get lost with these C++ examples. I am used to the Visual C way of programming where gui object’s action such as BUTTON_CLICK would be directly linked to the C/C++ code. I was hoping that Qt/QtQuick provides similar solution, but I failed to located a simple example. My question is simple: Is it possible to do a QtQuick(QML) and C combo on embedded device? Prefer QtQuick due to the graphic flexibility and easy animations/transitions. Project goal: use QtQuick for a GUI and C for the “code behind”. The “code behind” would control the following: I2C bus change the state of discrete outputs generate data to be sent to QML for the display I can handle the C code and embedded side of things, but I cannot figure out how to execute the C code after a QML defined button is clicked. Thx!

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>