The only reason why I utilized C++ is just to retrieve values from the text file because based from research, Javascript isn't allowed to do that. After retrieving the lines from my text file, what I plan to do is let the Javascript handle the logic.
The only way I saw how this would be possible is if I used the QMetaObject thing that I saw in the QT documentation.
If what you're saying is that I should call a C++ function using Javascript, then my answer to that is I have no clue on how to do it.
EDIT:
If ever you can suggest anything easier to do besides what I've tried, I would really appreciate it.
Bookmarks