OpenVG on wince: nothing painted on screen (example application Star.exe)
Has anyone got the openvg example (star.exe) running on a wince target successfully? I’ve tried it but failed – nothing was painted on screen except for an empty window. Below is what I’ve done for it.
* Qt 4.7.4 * Wince 6.0 * An SDK with both OpenGL and OpenVG support. (OpenVG version 1.1)
- Open "Visual Studio 2005 Command Prompt", configure Qt with command:
configure.exe -platform win32-msvc2005 -xplatform wince60cellnovo-armv4i-msvc2005 -openvg -no-opengl -graphicssystem openvg
Set environment variables for wince.
Copy files needed to the same folder on my target. Below is the file tree in the folder: * star.exe * QtCored4.dll * QtGuid4.dll * QtOpenVGd4.dll * msvcr80d.dll
Run “star.exe -graphicssystem OpenVG”
The window is created and shown, but nothing in it. The content is empty and transparent.
Any suggestion on this is highly appreciated
Thanks in Advance
Update:- I was trying to debug this issue. And i found that the application Star.exe is failing to load OPenVG libs. now my question is how do i find out the reason why the app is not able to load OpenVG libs ?
Could figure out the problem. My application was not able to find the graphics libs which are loaded at run time.
the graphics libs has to be in "graphicssystems" folder in star app folder, and the graphics libs can be copied from "QTROOT\plugins\graphicssystems" folder.
And might have to specify command line arguments "-graphicssystems OpenVG" while launching the application.