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

后端 未结 8 962
广开言路
广开言路 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条回答
  •  终归单人心
    2021-02-09 07:27

    You should also copy {QTSDK}/plugins to directory where you executable located. Then create qt.conf in the same place (with executable) with the following content:

    [Paths]
    Plugins=plugins
    

    Thеn, run your program. I did the same on linux.

提交回复
热议问题