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. Why there is huge redundancy with Qt on Windows?
Forum Updated to NodeBB v4.3 + New Features

Why there is huge redundancy with Qt on Windows?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 4 Posters 2.5k 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.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    I just noticed that every DLL that has been copied by mingw32-make to "prefix/lib" is also present in "prefix/bin"

    Is there any difference between libraries in /bin and /lib ? If not, what's the reason of such redundancy? (all about 1.25 GB)

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jens
      wrote on last edited by
      #2

      I have no idea how mingw works on windows but since it is based on a unix toolchain, my best guess is that this is simply caused by a compatibility workaround due to lack of true symbolic links on the windows file system.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        soroush
        wrote on last edited by
        #3

        Is it safe to delete contents of \lib (of course only DLLs) and add LIBS+=<QTDIR>/bin to .pro files?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jens
          wrote on last edited by
          #4

          I will not pretend to know. But I would assume the worst thing that could happen is that you have to copy them back again... :)

          The reason they are copied to /bin is probably just so that the executables can find them without messing up your system. Perhaps you should rather delete the DLLs there and just add them to your system path instead if you think it is safe.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Wilk
            wrote on last edited by
            #5

            Hello.
            If you are sure that dll-files are the same, then you might use "mklink":http://technet.microsoft.com/en-us/library/cc753194(v=ws.10).aspx to make “prefix/bin” directory link to “prefix/lib” or vise-versa. You may also use mklink to create hard links for each dll-file.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              soroush
              wrote on last edited by
              #6

              [quote author="Wilk" date="1357500403"]Hello.
              If you are sure that dll-files are the same, then you might use "mklink":http://technet.microsoft.com/en-us/library/cc753194(v=ws.10).aspx to make “prefix/bin” directory link to “prefix/lib” or vise-versa. You may also use mklink to create hard links for each dll-file.[/quote]

              Just SHIFT+DEL ed all files in /lib. :D

              1 Reply Last reply
              0
              • W Offline
                W Offline
                Wilk
                wrote on last edited by
                #7

                Good enough solution

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #8

                  In case it was some left-over and forgotten by the development team you might want to file a bug report on "JIRA":https://bugreports.qt-project.org/secure/Dashboard.jspa
                  That way somebody will follow up and eventually solved it for future releases.

                  Vote the answer(s) that helped you to solve your issue(s)

                  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