[Qt-interest] OpenVG on wince: nothing painted on screen
Li, Min
min.li at delphi.com
Thu Feb 11 04:12:41 CET 2010
Hi all,
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.
Environment:
- Qt 4.6.0
- Wince 6.0 on DbAu1300 (MIPSII)
- An SDK with both OpenGL and OpenVG support. (OpenVG version 1.1 /
OpenVG VGU version 1.0.1 / EGL version 1.3)
Steps:
1. Open "Visual Studio 2005 Command Prompt", configure Qt with command:
configure -opengl-es-2 -openvg -platform win32-msvc2005 -xplatform
wince60DbAu1300-qt46-mipsii-msvc2005
2. Set environment variables for wince.
3. Run "nmake"
4. 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
- graphicssystems\qvggraphicssystemd4.dll
- msvcr80d.dll
5. Run "star.exe -graphicssystem OpenVG"
Results:
The window is created and shown, but nothing in it. The content is empty
and transparent.
I added some qWarning's in src/gui/egl, which printed window surface
created successfully, and eglSwapBuffers also performed correctly. My
SDK supports OpenVG/EGL. And I've got a well-known OpenVG example
"tiger" running on my target successfully.
Has anybody got it running on wince? Did I miss anything important? I've
read relative topics in Qt Assistant for more than twenty times but
can't find the reason. Could anybody provide useful information?
Thanks in advance!
Best regards,
Min Li
****************************************************************************************
Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.
****************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100211/965e9b6f/attachment.html
More information about the Qt-interest-old
mailing list