Hi
We have developed a calculator in Qt Quick which consists of a few files:
1) A few .png files
2) 3 QML files
3) 1 Javascript file
It works perfectly in the Qt QML Viewer. Now we are trying to use this in our main application. We added all these files to a .qrc resource file and tried to show the main file like this:
Qt Code:
QDeclarativeView view = new QDeclarativeView; view->show();To copy to clipboard, switch view to plain text mode
This shows a blank view. We also tried to load the file from our hard drive in which case it shows, but it does not find any images etc.
Any suggestions on how this must be done will be appreciated.
Thanks
Jaco
Bookmarks