hello wysota
thanks for your attention and the code i pasted there was just a test code, because i was using QUrl::fromLocalfile().
Following is the exact code i am using:
QFile file("qml/HyBridApp/homescreen.qml");
if(file.exists())
{
QDeclarativeView homeScreenView;
homeScreenView.
setSource(QUrl::fromLocalFile("qml/HyBridApp/homescreen.qml"));
homeScreenView.showFullScreen();
}
else
{
qDebug()<<"file doesnt exists";
}
QFile file("qml/HyBridApp/homescreen.qml");
if(file.exists())
{
QDeclarativeView homeScreenView;
homeScreenView.setSource(QUrl::fromLocalFile("qml/HyBridApp/homescreen.qml"));
homeScreenView.showFullScreen();
}
else
{
qDebug()<<"file doesnt exists";
}
To copy to clipboard, switch view to plain text mode
There is no error but homescreen.qml doesnt comes up. :-(
Regards
Bookmarks