Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Put qwindows.dll in same folder than app.exe
Qt 6.11 is out! See what's new in the release blog

Put qwindows.dll in same folder than app.exe

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 1.4k Views 1 Watching
  • 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.
  • V Offline
    V Offline
    vitor13nightmare
    wrote on last edited by vitor13nightmare
    #1

    I created one app in Qt 5and used windeploy to get the necessary dlls. I need qwindows.dll. this file is inside a folder named platforms.
    I would like to move the library next to the app.exe. Is it possible?
    I tried to include path to it in .pro, but without luck...

    jsulmJ 1 Reply Last reply
    0
    • V vitor13nightmare

      I created one app in Qt 5and used windeploy to get the necessary dlls. I need qwindows.dll. this file is inside a folder named platforms.
      I would like to move the library next to the app.exe. Is it possible?
      I tried to include path to it in .pro, but without luck...

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @vitor13nightmare Take a look at http://doc.qt.io/qt-5/qt-conf.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • V Offline
        V Offline
        vitor13nightmare
        wrote on last edited by
        #3

        I did this

        if file organization is:
        bearer/

        • dlls ...
          like this is ok

        but if I make
        plugins/

        • bearer/
          • dlls ...

        and put qt.conf next to exe with content
        [Paths]
        Plugins=./

        like this works also

        .............................

        if I put dlls next to exe, app does not work, with qt.conf containing:
        [Paths]
        Plugins=./

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          AFAIR, the plugins should follow the structure provided (platforms, bearer, etc.)

          Out of curiosity, why do you want to put absolutely all .dll files in the same folder ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • R Offline
            R Offline
            RSteffen
            wrote on last edited by
            #5
            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