Deploying Qt Qml app to Windows 8 shows me a blank

2019-09-06 20:35发布

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条回答
Ridiculous、
2楼-- · 2019-09-06 21:08

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

查看更多
登录 后发表回答