How to get standalone deployment of Qt5 Application / Gamma Ray / Windows
-
Hi all,
I'm trying to use
windeployqt.exe
to create a standalone deployment of Gamma Ray.I ran
windeployqt.exe
and passed thegammaray-launcher.exe
as the file positional argument and I saw new files appear in the install directory, but when I try to double click thegammaray-launcher.exe
afterwards, I still get errors like the following screenshots:Is there something else I need to do for Gamma Ray to know how to find these bundled .dll files? I'm pretty new to building C++ projects so I'm not sure what I'm missing here.
For additional context:
- I installed Qt using the Qt Online Installer, and installed to
C:\Qt515
. I installed theMSVC 2019 64-Bit
package for Qt 5.15.2, and that is located atC:\Qt515\5.15.2\msvc2019_64
. - As a workaround, I noticed that if I run a shell and set the
PATH
to include both:C:\Qt515\5.15.2\msvc2019_64\bin
C:\Qt515\5.15.2\msvc2019_64\lib
I can rungammaray-launcher.exe
successfully from that shell. However, I want to be able to just double-click thegammaray-launcher.exe
in the File Explorer (without having to use a shell).
- I installed Qt using the Qt Online Installer, and installed to
-
@brycegbrazen said in How to get standalone deployment of Qt5 Application / Gamma Ray / Windows:
gammaray-launcher.exe
Is this the actual Qt application or just a launcher which starts the actual application?
-
I'm not too familiar with the architecture of Gamma Ray, but from what I can tell looking at the code,
gammaray-launcher.exe
is just the launcher that starts the application.The code creates a launcher window, shows the window, and execs the QApplication.
-
Reflagging this as I haven't heard back in a while.