Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3650

Support for setting INSTALL_ROOT from .pro file

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.8.5
    • Build tools: qmake
    • None

      It would be nice to be able to set the INSTALL_ROOT that gets passed to the qmake generated Makefile(s) from the .pro file.
      That would save the bother to have to pass it as a command line argument at build time.
      The problem is that when Qt is crosscompiled and installed with INSTALL_ROOT, then when the application is compiled it is looking for a wrong place for headers. Maybe not pro file is the right place, but something similar like it is in Qt5.1 with the sysroot option.

      http://www.qtcentre.org/threads/30449-How-to-build-and-install-Qt-apps-on-cross-compiled-embedded-targets

      Of course there is a workaround to have 2 installation, but that's not so elegant.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            stormols Marius Storm-Olsen
            ntg Pierre Rossi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes