Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Static Build Issue on QT 5.15.0

Static Build Issue on QT 5.15.0

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rajganesh
    wrote on last edited by
    #1

    Hi Team,

    We are building QT for static build. We have a licensed perpetual software.

    We have followed below link for configuring QT for static.
    https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW

    But we are getting attached error
    Error 1:
    "mimetypes\qmimeprovider.cpp:632:30: error: 'mimetype_database' was not declared in this scope
    Q_STATIC_ASSERT_X(sizeof(mimetype_database), "Bundled MIME database is empty");"
    Error 2:
    "mimetypes\qmimeprovider.cpp:633:52: error: 'MimeTypeDatabaseOriginalSize' was not declared in this scope
    Q_STATIC_ASSERT_X(sizeof(mimetype_database) <= MimeTypeDatabaseOriginalSize,"

    Please help me out on this issue ASAP.

    Thanks,
    raj

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since you have a commercial licence then contact the Qt Company directly.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Since you have a commercial licence then contact the Qt Company directly.

        R Offline
        R Offline
        rajganesh
        wrote on last edited by
        #3

        @SGaist
        Thanks for your input,

        Our support got expired recently. So we are checking our issue in open forum. If you have any inputs regarding our issue, please help us.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by SGaist
          #4

          Which exact compiler version are you using ?
          Can you use the latest Qt release ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          R 1 Reply Last reply
          0
          • SGaistS SGaist

            Which exact compiler version are you using ?
            Can you use the latest Qt release ?

            R Offline
            R Offline
            rajganesh
            wrote on last edited by
            #5

            @SGaist

            Which exact compiler version are you using ?
            We are using MinGW 8.1.0 32bit/64bit compiler

            Can you use the latest Qt release ?
            No, Since our QT license is expired and we can't install QT latest version.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Is it the same that is provided by your Qt installer ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              R 1 Reply Last reply
              0
              • SGaistS SGaist

                Is it the same that is provided by your Qt installer ?

                R Offline
                R Offline
                rajganesh
                wrote on last edited by
                #7

                @SGaist said in Static Build Issue on QT 5.15.0:

                Is it the same that is provided by your Qt installer ?
                Yes, MinGW compiler installed by qt installer. We haven't installed any other external compiler.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Are you doing an out of source build ?
                  Is your build dir clean before calling configure ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved