Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qmake visual studio 2019 install



  • Hi All,

    I am new to qmake and looking to find a way to install the dll's and lib's generated as part of a dynamic build with Visual Studio 2019 as a post build event.
    In the library.pri file I have a section

    win32 {
       DLLDESTDIR=$(INSTALLDIR)/bin
      !contains(QT_ARCH, i386) {
          DLLDESTDIR=$${DLLDESTDIR}64
    }
    }
    

    I am making sure to include this library.pri in all .pro files for each new library project. What I notice is that the dll is copied to the correct location sometimes and other times not. The lib files are never copied. Is there an example project that I could take a look at . I am working in Windows 10 environment with Visual Studio 2019 and qmake build system

    Thanks.


  • Banned

    This post is deleted!

Log in to reply