Get an error "mimetypemodel.cpp" error C2440



  • Hi,
    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?

    Thanks!


  • Lifetime Qt Champion

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.