5

I tried to compile my project on fresh new OS X and Qt 5.8 and got this error. So I figured out that installing Qt 5.7 instead solves my problem but can't find reasonable explanation - nor documentation nor any answers on SO. Why this might happen to Qt modules and how to detect which ones are deprecated later?

htzfun
  • 1,231
  • 10
  • 41

1 Answers1

4

It appears Qt5PlatformSupport was modularised and thus split into several libraries.

I've found this Qt code review entry which shows that rather than defining a single QtPlatformSupport target, the project file now uses the SUBDIRS template. I've also found this KDE code review entry where you can see that they are using Qt5PlatformSupport before Qt Version 5.8.0 and Qt5FontDatabaseSupport, Qt5ThemeSupport and Qt5EventDispatcherSupport after that.

The specific new libraries you require for your project will probably differ.

Tim Meyer
  • 12,210
  • 8
  • 64
  • 97
  • Thanks, that helps much! I'm planning to continue using Qt, so I'll need to refactor it later. – htzfun Feb 14 '17 at 00:59