Qt 5.8 Project ERROR: Unknown module in Qt: platformupport-private

I tried to compile my project on fresh new OS X and Qt 5.8 and got this error. Therefore, I realized that installing Qt 5.7 instead solves my problem, but cannot find a reasonable explanation - neither documentation, nor answers to SO. Why can this happen with Qt modules and how to determine which ones are out of date later?

+5
source share
1 answer

It seems that Qt5PlatformSupport was modular and thus broke into several libraries.

I found this Qt code review entry , which shows that instead of defining a single QtPlatformSupport target, the QtPlatformSupport template is used in the project file. I also found this KDE code review entry where you can see that they use Qt5PlatformSupport prior to Qt version 5.8.0 and Qt5FontDatabaseSupport , Qt5ThemeSupport and Qt5EventDispatcherSupport after that.

The specific new libraries you need for your project are likely to be different.

+4
source

Source: https://habr.com/ru/post/1264044/


All Articles