Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get an error "mimetypemodel.cpp" error C2440
Urgus last edited by
i try to build from src 5.7.0 with all modules (MSVS 2013 x86), but after an houer compilation get an error:
mimetypemodel.cpp(74): error C2440: (function-style-cast)... etc.
can anybody say what's the reason and how to resolve?
Hi and welcome to devnet,
The "quick and dirty" way to solve it: don't build the examples.
If that's not wanted, edit the file and change the return statement to generate the list without using braced initializer. AFAIK, it should be supported by VS2013 but I may be wrong.