Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

Qt C++ Project to Import dll



  • Hello Guys I want to dll files in application folder my project import
    But I didn't
    Can you help me Please



  • Hello!

    I assume that you want the Qt libraries added to your app directory. So, you must add the following line to .pro file:

    QMAKE_POST_LINK = $$(QTDIR)/bin/windeployqt.exe $$shell_quote($$DESTDIR/$$shell_quote($$TARGET).exe) --no-compiler-runtime
    

    This will add all the necessary Qt libraries for your project in the app directory. Keep in mind, that you need to run Clean, Run qmake and rebuild your project.


Log in to reply