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:

Qt Code:
  1. QFile file("qml/HyBridApp/homescreen.qml");
  2. if(file.exists())
  3. {
  4. QDeclarativeView homeScreenView;
  5. homeScreenView.setSource(QUrl::fromLocalFile("qml/HyBridApp/homescreen.qml"));
  6. homeScreenView.showFullScreen();
  7. }
  8. else
  9. {
  10. qDebug()<<"file doesnt exists";
  11. }
To copy to clipboard, switch view to plain text mode 

There is no error but homescreen.qml doesnt comes up. :-(

Regards