QT - Specify DLL path in pro. file

后端 未结 3 694
孤城傲影
孤城傲影 2021-01-12 04:56

So as the question title says, i\'m specifically wondering how to include the path to a .dll file in the actually project file. I know it\'s the better practice to include t

3条回答
  •  不思量自难忘°
    2021-01-12 05:31

    You do not need to put the dll path in the .pro file (windows). All you need to do is to put all your external dll files in a directory and add this directory to the path environment variable . (same as the accepted answer). I am adding this here just to mention important fact: RESTART QT CREATOR for this to work in order to reload the new PATH environment variable.

提交回复
热议问题