There is a project. Compiles perfectly through MSVC, but I need to recompile under MinGW. Climbs a lot of such errors. I looked on the Internet what it means and it says there, they say I use outdated functions, but I don’t have them in the project. What am I doing wrong. I will lay out the project on demand.

error example

C: \ Qt \ Qt5.7.0 \ 5.7 \ mingw53_32 \ include \ QtCore \ qchar.h: 422: error: missing binary operator before token "(" #if QT_DEPRECATED_SINCE (5, 0) ^

  • qt5.7 version is also used under the studio - KoVadim
  • I am writing in the same Qt Creator + MSVC. Yes, the versions are the same - Desmond Fox
  • I know two reasons - either your paths have paths to old versions of Qt (this happens), or the project uses a file whose name matches the "system" one. There is confusion and the compiler produces nonsense. Example - forum.qt.io/topic/27925/… - KoVadim
  • It seems to check the path is normal. Files? Hm Well, it doesn’t seem to coincide either (I have the files: ai, field, fieldclass, indexesandstatus, kicks, process, ship, startdialog, window, aboutdialog source files and the same header) What can be conflicting from this? Recheck now - Desmond Fox
  • No, no duplicate files - Desmond Fox

0