Unsolved Static Build Issue on QT 5.15.0
-
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_MinGWBut 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 -
Hi and welcome to devnet,
Since you have a commercial licence then contact the Qt Company directly.
-
@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.
-
Which exact compiler version are you using ?
Can you use the latest Qt release ? -
Which exact compiler version are you using ?
We are using MinGW 8.1.0 32bit/64bit compilerCan you use the latest Qt release ?
No, Since our QT license is expired and we can't install QT latest version. -
Is it the same that is provided by your Qt installer ?
-
@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. -
Are you doing an out of source build ?
Is your build dir clean before calling configure ?