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

qmake doesn't search mkspecs files in the right location

    XMLWordPrintable

    Details

      Description

      This is a regression in the dev branch. 6.1 is fine.

      With a very simple .pro file, qmake6 fails to find the mkspecs directories:

       

      # qmake6 .. 
      Could not find qmake spec 'linux-g++'. 
      Error processing project file: ../qmlpluginexports.pro
      
      

      strace gives the reason:

       

      newfstatat(AT_FDCWD, "/usr/share/qt6/mkspecs/linux-g++", 0x7ffc3ca6fb90, 0) = -1 ENOENT (No such file or directory) 
      write(2, "Could not find qmake spec 'linux"..., 39Could not find qmake spec 'linux-g++'.
      

      qtbase is built with -DINSTALL_MKSPECSDIR:STRING=/usr/lib64/qt6/mkspecs

       

      and the mkspecs files are correctly installed in /usr/lib64/qt6/mkspecs/

       

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            cgiboudeaux Christophe Giboudeaux
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes