简体   繁体   English

将Qt Qml应用程序部署到Windows 8会显示空白窗口

[英]Deploying Qt Qml app to Windows 8 shows me a blank window

I'm trying to deploy a QML app, but I keep getting a blank small window instead of my qml based window. 我正在尝试部署QML应用程序,但是我一直得到一个空白的小窗口,而不是基于qml的窗口。

The things I've tried: 我尝试过的事情:

I added my qml in the resources, in Mac the deployment now works... but even if I copy the qml dir to my .exe dir, it doesn't work I've copied the qwindows.dll to the platforms dir in my .exe dir I've copied all the dependencies dll: icudt51.dll, icuin51.dll, icuuc51.dll, libEGL.dll, libGLESv2.dll, Qt5Core.dll, Qt5Gui.dll, Qt5Network.dll, Qt5Qml.dll, Qt5Quick.dll 我在资源中添加了qml,在Mac中,部署现在可以进行了...但是,即使我将qml目录复制到我的.exe目录中,也无法正常工作,我已经将qwindows.dll复制到了我的平台目录中.exe目录,我已经复制了所有依赖项dll:icudt51.dll,icuin51.dll,icuuc51.dll,libEGL.dll,libGLESv2.dll,Qt5Core.dll,Qt5Gui.dll,Qt5Network.dll,Qt5Qml.dll,Qt5Quick。 DLL

I've tried copying the dirs: QtQml, QtQuick, QtQuick.2 to my .exe dir either. 我尝试将目录:QtQml,QtQuick,QtQuick.2复制到我的.exe目录中。

Nothing changes 没有什么变化

Then I've tried to run the .exe from the command line with env variable: QML_IMPORT_TRACE=1 and I see nothing :( 然后,我尝试使用env变量从命令行运行.exe:QML_IMPORT_TRACE = 1,但我什么都没看到:(

The Qt is 5.2, Windows 8, MSVC 2010 Anyone has any clue about what can be happening? Qt是5.2,Windows 8,MSVC 2010任何人都对可能发生的事情有任何了解?

根据您的评论,它似乎错过了Qt5Widgets.dll文件

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

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