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. Build QtCreator from source, set installation path [Solved]
Forum Updated to NodeBB v4.3 + New Features

Build QtCreator from source, set installation path [Solved]

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 11.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.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    Hi all,
    I'm trying to build QtCreator from source in Linux.

    To build it I used:
    @
    cd qt-creator-2.4.0-src
    qmake qtcreator.pro
    make
    make install
    @

    but it try to install in /lib/qtcreator/ .

    Ho can I tell qmake to install in /home/luca/qtcreator ?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      danimo
      wrote on last edited by
      #2

      qmake's make install rule uses the INSTALL_ROOT prefix by default, so you need

      make install INSTALL_ROOT=/home/luca/qtcreator

      it will put /lib /bin and /share underneath (in your case, it should actually try to install all three, but to the root directory).

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luca
        wrote on last edited by
        #3

        [quote author="danimo" date="1323945384"]qmake's make install rule uses the INSTALL_ROOT prefix by default, so you need

        make install INSTALL_ROOT=/home/luca/qtcreator

        it will put /lib /bin and /share underneath (in your case, it should actually try to install all three, but to the root directory).[/quote]

        Thanks, it Works!

        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