Qt app fails silently on deployment
-
Hi,
I am facing issues while deployment of my app on one of my VM. I have followed the process of deployment through windeployqt,
I have tested the package on multiple systems, and it works fine,
but every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.Do i need to include additional libraries for VM or I might be missing something which needs to be done specifically for VMs?
following is the detail of my Qt and VM:
Qt 5.13.2
VM: vSphere Client
Guest OS: Microsoft Windows 10 (64-bit) EnterprisePlease provide any resolution applicable !!
-
@mantra said in Qt app fails silently on deployment:
every time i try to run my app on a VM it displays an empty white window and fails silently with No error message or diagnostic output.
Are you using Qt Quick? If so, does your VM have OpenGL 2.0 or later installed?
-
https://doc.qt.io/qt-6/windows-graphics.html has a lot of information about how graphics on Windows works. It's for Qt 6, but most of the information should also be applicable to Qt 5.
In particular, the qtdiag program reports what version of OpenGL is found.
$ Qt/5.15.2/clang_64/bin/qtdiag ... LibGL Vendor: ATI Technologies Inc. Renderer: AMD Radeon Pro 560 OpenGL Engine Version: 2.1 ATI-4.2.15 Shading language: 1.20 Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8 Profile: None (QOpenGLFunctions_-398682272_32766)
-
@mantra said in Qt app fails silently on deployment:
@jeremy_k The machine on which I am performing deployment is not having Qt installed.
Do you mean the machine where the program is running? It and its dependencies can be copied without using an installer.