How to run a Qt Program without Qt itself being installed?

后端 未结 8 959
广开言路
广开言路 2021-02-09 07:00

I have written a program with Qt5.3.1 and run it on my development machine where it works fine. I copied all necessary .dll files into the folder where my .exe is. These are:<

8条回答
  •  梦毁少年i
    2021-02-09 07:28

    In your application folder hold down SHIFT key and right click from mouse. You will see - Open command window here

    1. Click Open command window here
    2. TYPE windeployqt.exe app_name.exe --parameters and HIT ENTER

    Example:

    windeployqt.exe APP_NAME.EXE --release --no-translations --no-system-d3d-compiler --no-compiler-runtime --no-angle --no-opengl-sw
    

提交回复
热议问题