11-07-2013 04:45 AM
In my qml file I used sheet component. On button click I tried to call cpp function which calls the web service and according to web service response I have to redirect to particular qml. But while opening qml from cpp I am getting foolowing errors.
libpng warning: iCCP: known incorrect sRGB profile Context: Failed to find target node with id 33
For a moment I am able to redirect to particular qml but control came back to previous qml.
I am not able to understand why this error came? When I run my application one day before it was working fine. when I reset the device and upgrade the os to 10.2 I am getting this error.
Here is my code in cpp:
QmlDocument *qml = QmlDocument::create("asset:///backgroundProcessIma
geFile.qml"); qml->setContextProperty("RoamAssist", this); AbstractPane *root = qml->createRootObject<AbstractPane>(); globalApp->setScene(root);
Solved! Go to Solution.
11-07-2013 05:10 AM - edited 11-07-2013 05:23 AM
I have same warnings on my apps when i use some images, but my (and your) app run just fine, or?
Yop, i get just one line
libpng warning: iCCP: known incorrect sRGB profile
and works fine
11-07-2013 05:19 AM
No I am not able to proceed further. For a second I am able to open new qml file but again came back to previous screen and then application not working.
11-07-2013 07:05 AM
Hey...my issue is solved....
Insted of creating UI using sheet I just create new page and open it using NavigationPane.
I still dont know whether this issue is because of sheet component or due to os version upgradation.
11-07-2013 07:06 AM