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. [Moved] configure prefix
Qt 6.11 is out! See what's new in the release blog

[Moved] configure prefix

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 5 Posters 4.7k 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.
  • M Offline
    M Offline
    mike4
    wrote on last edited by
    #1

    Hi
    I want to compile "flightgear":http://wiki.flightgear.org/Building_FlightGear_-_Linux but having the simgear dependency not at default location:

    ./configure --prefix=/path/to/fgInstallation --with-osg=/path/to/osg/installation --enable-osgviewer

    Where would i put the above command line in qtcreator settings?
    Many thanks
    Michael

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      yes, go into Projects->Build steps->qmake [details]

      There is an input field 'Additional arguments' - pu 'em there.

      All that assuming that flightgear is a Qt project.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mike4
        wrote on last edited by
        #3

        only make but says unrecognized option --prefix. doesn't this belong in qtcreator below make?

        ./configure --prefix=/media/DATA/FGFS/install/fgfs/ --exec-prefix=/media/DATA/FGFS/install/fgfs/ --with-osg=/media/DATA/FGFS/install/OpenSceneGraph --with-simgear=/media/DATA/FGFS/install/simgear --with-plib=/media/DATA/FGFS/install/plib

        Thanks
        Michael

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loladiro
          wrote on last edited by
          #4

          There is an "Add build step" button in the same view. If the project doesn't use qmake (I assume it doesn't because it uses configure), you can also remove qmake there.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #5

            Moved to the tools forums, it's a Qt Creator question, not a Qt issue neither one of installing Qt.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              I would personally not put the command into the Qt Creator settings at all: You do not want to keep re-running this for each and every build!

              So just run it once from a terminal and then only add the "make" step to Qt Creator. That should work fine.

              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