Results 1 to 2 of 2

Thread: Deploying app with DLLs in subdir.

  1. #1
    Join Date
    Nov 2013
    Posts
    5
    Thanked 3 Times in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Deploying app with DLLs in subdir.

    I've got Qt 5.2.1, MinGW 4.8 and using windeployqt I want to keep DLLs inside subdir "libs" so my dir would look like:

    DIR:
    -APP.exe
    -libs:
    -Qt5Core.dll
    -Qt5Gui.dll
    -...

    But when I pass -libdir "C:\DIR\libs" my app cannot find those DLLs.
    What do I have to do to make it work?

  2. #2
    Join Date
    Oct 2013
    Posts
    142
    Thanks
    36
    Thanked 3 Times in 3 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Deploying app with DLLs in subdir.

    Check void QCoreApplication::setLibraryPaths(const QStringList & paths), didn't tried it yet so I am not sure.

Similar Threads

  1. how to avoid creating Makefile for an subdir
    By hashb in forum Installation and Deployment
    Replies: 4
    Last Post: 12th November 2010, 08:30
  2. SUBDIR qmake structure
    By mrandreas in forum Newbie
    Replies: 1
    Last Post: 28th September 2010, 15:42
  3. .pro settings for obj subdir
    By bajarangi in forum Newbie
    Replies: 2
    Last Post: 17th April 2009, 15:31
  4. suffix for qt dlls
    By jobrandt in forum Installation and Deployment
    Replies: 6
    Last Post: 11th April 2008, 10:59
  5. Qt and dlls ?
    By probine in forum Qt Programming
    Replies: 4
    Last Post: 15th December 2006, 15:12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.