Error when building Qt 5.15.2 make: *** [Makefile:103: module-qtbase-install_subtargets] Error 2
-
Did you do a configure and build from scratch using the MinGW version provided by Qt from clean sources ?
-
Just to rule out the obvious, can you find it in your MinGW installation ?
-
The limit header.
-
I still managed to start building, but during installation I got the following 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,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Can you post the exact steps you are following from scratch up to the error ?
-
I started the build, then raised the numeric limits error and added #include limts to this file. The build was successful, but during installation I received this error, the same error occurred with Qt 5.15.4. I have the actual version of Perl, Python and Ruby
-
Just realized, is there any specific reason for 5.15.4 ? Since you are building yourself anyway, you should consider using the latest available sources.
-
Just realized, is there any specific reason for 5.15.4 ? Since you are building yourself anyway, you should consider using the latest available sources.