<div dir="ltr">Hi,<div><br></div><div style>I was successful in creating and building a project using CMake on Windows (Visual Studio). After the build when I try to run the application it throws an error asking for the dlls of Qt (I know it is a common case in Windows, usually we do copy the dlls to debug/release folder where the exe resides). When I searched the mailing list, I have seen an advise to use &quot;<span style="color:rgb(0,0,0);line-height:21.988636016845703px;text-align:justify">add_custom_command(TARGET ...)&quot;. Is this the right approach? Wont it be executed after each build, thus causing repeated dll copies? </span></div>
<div style><span style="color:rgb(0,0,0);line-height:21.988636016845703px;text-align:justify"><br></span></div><div style><span style="color:rgb(0,0,0);line-height:21.988636016845703px;text-align:justify">Can you please suggest me the right way?</span></div>
<div style><span style="color:rgb(0,0,0);line-height:21.988636016845703px;text-align:justify"><br></span></div><div style><span style="color:rgb(0,0,0);line-height:21.988636016845703px;text-align:justify">Thanks,</span></div>
<div style><span style="color:rgb(0,0,0);line-height:21.988636016845703px;text-align:justify">  Lloyd</span></div></div>