Important: Please read the Qt Code of Conduct -

Error when compiling example

  • Hello all,

    I have this error when I try to compile any example of the Qt 5 SDK:

    cc1plus.exe:-1: error: error: unrecognized command line option "-fno-keep-inline-dllexport"

    I had a look on the compilers recognized by QtCreator and there is 2 MingW (and some VS), and it weirdly seems to choose the one not shipped with the SDK. I tried to override it in Projects/Build&Run/Build and Clean step, but with no luck.

    Any thought ?


  • Moderators

    Fix it in Preferences->Kits.

  • It works, thanks.

Log in to reply