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. Added DESTDIR
Qt 6.11 is out! See what's new in the release blog

Added DESTDIR

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 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.
  • D Offline
    D Offline
    debian
    wrote on last edited by
    #1

    Hello!
    I cross-compile Qt-5.6.1 for ARM CPU.
    How can I configure or define DESTDIR for install target?
    Thank you and excuse my bad english.

    K 1 Reply Last reply
    0
    • D debian

      Hello!
      I cross-compile Qt-5.6.1 for ARM CPU.
      How can I configure or define DESTDIR for install target?
      Thank you and excuse my bad english.

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

      @debian

      You may choose any folder name conform with your OS. With windows you should use instead of backslash a forwardslash.
      The DESTDIR may be relative as in the example given or absolute.

      However, it shall be a folder which looks at least as on your machine (e.g. it may be on a mounted drive) and follow the normal syntax.

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

      D 1 Reply Last reply
      0
      • K koahnig

        @debian

        You may choose any folder name conform with your OS. With windows you should use instead of backslash a forwardslash.
        The DESTDIR may be relative as in the example given or absolute.

        However, it shall be a folder which looks at least as on your machine (e.g. it may be on a mounted drive) and follow the normal syntax.

        D Offline
        D Offline
        debian
        wrote on last edited by
        #3

        @koahnig thank you!
        I explain my question - on configure stage I can use -prefix for setup target directory, /usr/local/Qt-5.6.1 default value. After build I can use make install and all components will be copy in -prefix.
        But I build for another host and another application wait headers and librraies in another directory, /atrifacts/staging as example. If source use autools I can use make -C <source_directory> DESTDIR=/path/to/install/dir install for install to another than --prefix directory.

        S 1 Reply Last reply
        0
        • D debian

          @koahnig thank you!
          I explain my question - on configure stage I can use -prefix for setup target directory, /usr/local/Qt-5.6.1 default value. After build I can use make install and all components will be copy in -prefix.
          But I build for another host and another application wait headers and librraies in another directory, /atrifacts/staging as example. If source use autools I can use make -C <source_directory> DESTDIR=/path/to/install/dir install for install to another than --prefix directory.

          S Offline
          S Offline
          SimoneCu
          wrote on last edited by
          #4

          @debian I had a similar problem recently and posting here since it's still unsolved and other people may need.
          I've found a variable called INSTALL_ROOT at least in recent Qt: using the command "make INSTALL_ROOT=<dir> install" made the job.

          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