[英]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? 是否有人成功在wince目标上运行了openvg示例(star.exe)? 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: 环境:
Steps: 脚步:
Open "Visual Studio 2005 Command Prompt", configure Qt with command: 打开“ Visual Studio 2005命令提示符”,使用命令配置Qt:
configure -openvg -platform win32-msvc2005 -xplatform wince60DbAu1300-qt46-mipsii-msvc2005
Copy files needed to the same folder on my target. 将所需的文件复制到目标上的同一文件夹。 Below is the file tree in the folder:
以下是文件夹中的文件树:
Run 跑
star.exe -graphicssystem OpenVG
Results: 结果:
The window is created and shown, but nothing in it. 该窗口已创建并显示,但其中没有任何内容。 The content is empty and transparent.
内容为空且透明。
Update: 更新:
I was trying to debug this issue, and I found that the application Star.exe is failing to load OPenVG libs. 我试图调试此问题,发现应用程序Star.exe无法加载OPenVG库。
How do I find out the reason why the app is not able to load OpenVG libs? 我如何找出该应用程序无法加载OpenVG库的原因?
solution:- 解:-
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. 图形库必须位于star app文件夹的“ graphicssystems”文件夹中,并且可以从“ QTROOT \\ plugins \\ graphicssystems \\”文件夹中复制图形库。
And might have to specify command line arguments "-graphicssystems OpenVG" while launching the application. 并且在启动应用程序时可能必须指定命令行参数“ -graphicssystems OpenVG”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.