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

setting INSTALL_BINDIR/ARCHDATADIR/MKSPECSDIR break qmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.0.0 Alpha
    • Build tools: qmake
    • None
    • Linux/X11
    • 4670ef3cc4755f3e2ad20dc1b7eccf5aa8583456 (qt/qtbase/dev)

    Description

      On dev branch (6.0) setting INSTALL_BINDIR, INSTALL_ARCHDATADIR and INSTALL_MKSPECSDIR at the same time with cmake the resulting qmake utility
      fails:

       $ git clone --depth 1 [https://github.com/qt/qtbase.git] && cd qtbase && cmake -LAH -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_BINDIR=lib/qt6/bin -DINSTALL_ARCHDATADIR=lib/qt6 -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs . && make install
      
      $ git clone [https://github.com/hvoigt/qt-hello-world.git] && cd qt-hello-world && PATH=/usr/lib/qt6/bin/:$PATH qmake . && make
       Cloning into 'qt-hello-world'...
       Could not find qmake spec 'linux-g++'.
       Error processing project file: ./qt-hello-world.pro
      

       

      If I leave the INSTALL_XXX variables to their default qmake goes fine on this sample project.

      Attachments

        For Gerrit Dashboard: QTBUG-87681
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes