how the hell do we use Qt quick combined with c++ code. i have been trying to code the application logic using c++ but then c++ functions are not recognised.

i understand how to code widgets Gui applications coz i am able to create them using c++ classes and QT libraries, but when coding inside items in Qt quick my code does not work.