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

qtbase shadow build failed with qmimeprovider_database.cpp not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.10, 5.15.1
    • Build System
    • None
    • ubuntu 20.04.1
    • Linux/X11

    Description

      shadow build, INCLUDEPATH += $$outpath generate a wrong path in qtbase/src/corelib/Makefile
      in INCPATH  generated a  -I/opt/srepo/qt/qt5.git/qtbase/src/corelib/. rcc  path

       

      qtbase/src/corelib/mimetypes/mimetypes.pri

      qtConfig(mimetype-database) {
      outpath = .rcc
      android {
      outpath = $$outpath/$${QT_ARCH}
      }
      debug_and_release

      { CONFIG(debug, debug|release): outpath = $$outpath/debug else: outpath = $$outpath/release }

      mimedb.depends = $$PWD/mime/generate.pl
      equals(MAKEFILE_GENERATOR, MSVC.NET)|equals(MAKEFILE_GENERATOR, MSBUILD)|isEmpty(QMAKE_SH)

      { mimedb.commands = cmd /c $$shell_path($$PWD/mime/generate.bat) mimedb.depends += $$PWD/mime/generate.bat $$PWD/mime/hexdump.ps1 }

      else {
      mimedb.commands = perl $${mimedb.depends}
      }

      qtConfig(zstd): mimedb.commands += --zstd
      mimedb.commands += ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}

      mimedb.output = $$outpath/qmimeprovider_database.cpp
      mimedb.input = MIME_DATABASE
      mimedb.variable_out = INCLUDED_SOURCES
      QMAKE_EXTRA_COMPILERS += mimedb
      INCLUDEPATH += $$outpath
      unset(outpath)
      }

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            zarelaky zarelaky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes