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

QT mimetype_database error

    XMLWordPrintable

Details

    • Windows

    Description

      I got this error
      mimetypes/qmimeprovider.cpp:638:30: error: 'mimetype_database' was not declared in this scope
        638 |     Q_STATIC_ASSERT_X(sizeof(mimetype_database), "Bundled MIME database is empty");
            |                              ^~~~~~~~~~~~~~~~~
      global/qglobal.h:121:68: note: in definition of macro 'Q_STATIC_ASSERT_X'
        121 | #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
            |                                                                    ^~~~~~~~~
      mimetypes/qmimeprovider.cpp:639:52: error: 'MimeTypeDatabaseOriginalSize' was not declared in this scope
        639 |     Q_STATIC_ASSERT_X(sizeof(mimetype_database) <= MimeTypeDatabaseOriginalSize,
            |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      global/qglobal.h:121:68: note: in definition of macro 'Q_STATIC_ASSERT_X'
        121 | #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
            |                                                                    ^~~~~~~~~
      When installing Qt 5.15.2 and Qt 5.15.4 with sources. What about the obvious questions, yes I use Mingw from Qt, python, ruby ​​and perl actual version. I need help please. 

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            kennesy Kennesy Kennesy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes