Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT deployment - binary and QT dlls to different folders
Forum Updated to NodeBB v4.3 + New Features

QT deployment - binary and QT dlls to different folders

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 1 Posters 222 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mefil
    wrote on last edited by
    #1
    This post is deleted!
    M 1 Reply Last reply
    0
    • M Mefil

      This post is deleted!

      M Offline
      M Offline
      Mefil
      wrote on last edited by
      #2

      @Mefil said in QT deployment - binary and QT dlls to different folders:

      Hi. I want to position my binary file in folder like out/forms/ and qt dll in folder like out/QT.
      I try this code:

      int main(int argc, char *argv[])
      {
          QStringList s;
          s.append("E:\\develop\\repositories\\rep_sw_new\\trunk\\sw\\QT\\out\\QT\\platforms");
          s.append("E:\\develop\\repositories\\rep_sw_new\\trunk\\sw\\QT\\out\\QT");
          QCoreApplication::setLibraryPaths(s);
          QApplication a(argc, argv);
      
          Widget w(argc, argv);
          w.show();
          return a.exec();
      }
      

      It helps with qwindows.dll issue but did not help with QT dlls.

      I didn't want upgrade PATH or move dlls to system32, because it will crush other programs on PC.

      PS/ I want to have a lot of binaries in different folders wich used one dir with QT dlls/
      PSS/ Sry for my eng/

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mefil
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved