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

空扰寡人 提交于 2019-12-25 02:46:17

问题


I'm trying to deploy a QML app, but I keep getting a blank small window instead of my qml based window.

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

I've tried copying the dirs: QtQml, QtQuick, QtQuick.2 to my .exe dir either.

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 :(

The Qt is 5.2, Windows 8, MSVC 2010 Anyone has any clue about what can be happening?


回答1:


Based on your comment, it seem to have missed the Qt5Widgets.dll file



来源:https://stackoverflow.com/questions/20930605/deploying-qt-qml-app-to-windows-8-shows-me-a-blank-window

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!