简体   繁体   English

使用Qt 5.3创建的应用程序在Windows 7虚拟机上不起作用

[英]application created using Qt 5.3 doesn't work on windows 7 virtual machine

SOLVED : The issue was not related to the application but the VM itself. 已解决 :问题与应用程序无关,但与VM本身有关。 Created a new VM and it worked as expected. 创建了一个新的VM,它按预期工作。 Thanks guys for the inputs. 谢谢大家的投入。 Much appreciated. 非常感激。

I have created an application using Qt 5.3 ANGLE version. 我已经使用Qt 5.3 ANGLE版本创建了一个应用程序。 It works fine on Windows, mac and Linux systems. 在Windows,Mac和Linux系统上都可以正常工作。 The problem is when i try to run the .exe file in Windows 7 Virtual machine, it crashes. 问题是当我尝试在Windows 7虚拟机中运行.exe文件时,它崩溃了。

Can anyone tell me the solution for it. 谁能告诉我解决方案。 Following is the screenshot of the error message. 以下是错误消息的屏幕截图。

Please note that I have included libraries mentioned in the error message . 请注意,我已包含错误消息中提到的库。

在此处输入图片说明

将列出的缺少的DLL提供给您的VM安装,它将起作用。

Because your VM emulate a video graphic card. 因为您的VM模拟视频图形卡。 If you want to make this running this way, you have to pass through your 2nd graphic card (because you need one for the host and one for the guest, the second one drivers need to not be installed on the host) with the VM (consider Qemu/KVM would be the best one for do it well for free). 如果要以这种方式运行此程序,则必须将第二张图形卡(因为主机需要一张显卡,来宾需要一张显卡,因此主机上不需要安装第二张驱动程序)(认为Qemu / KVM将是最好的免费工具。

Then by this way, your VM will use a real graphic card and use the real dll driver for this card to. 然后,通过这种方式,您的VM将使用真实的图形卡,并使用该图形卡的真实dll驱动程序。 Also, like that can use the OpenGl function of the card (then, the VM not use it... It emulates one sometimes, but never be able to do the same job a direct graphic card can do). 同样,这样可以使用卡的OpenGl功能(然后,VM不使用它……有时会模拟它,但永远无法完成直接图形卡可以完成的工作)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM