No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 10 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 9 Answers
manpreet
Best Answer
2 years ago
I have a
main.qml
file that look like belowi have a python class file which i have added using add file option in
qtcreator
, when i runmain.qml
i am getting errors related to the classes being undefined as belowI have the
external tools
configured in the Qt creator for python and when i run through it,it works. However it is not working when i runmain.qml
. What am i missing, how can i make use of the python class file.below is the python file that invokes the QML , if i run from python it works, i want to run qml file and invoke this class