Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. DESTDIR for libraries on linux
Forum Update on Monday, May 27th 2025

DESTDIR for libraries on linux

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
destdirubuntu 16.04
4 Posts 2 Posters 625 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.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by
    #1

    On windows I am using DESTDIR within qmake for placing libraries and dlls in a specific folder.
    When using this on Ubuntu 16.04 only libxxxx.so.1.0.0 is being moved and the creation of the different links triggers an error message. As a result only libxxxx.so.1.0.0 is being moved to the destination and the exact complete file name of the library has to be used when linking with the library.
    Is there a better way than using DESTDIR?

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

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

      Hi,

      Sounds strange... can you show your .pro file ?

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

      K 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        Sounds strange... can you show your .pro file ?

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @SGaist

        Thanks for feedback.

        I wasn't sure if there is a linux issue I am not aware off.

        The .pro is quite complicated. However, as I found out it is not the .pro and the complexity. The problem stems from opening the project in a shared folder through Virtual Box. The build will reside then also on the shared folder, which is a windows managed file partition on a HD. DESTDIR was already on a pure linux partition, but there wasn't the problem.

        Anyway copying the complete set of folders to the linux partition solves apparently the problem.

        It is never a good idea to mix too much Windows and Linux. ;)

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

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

          Indeed, it's usually better to have git in between these two.

          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
          1

          • Login

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