nulloy
nulloy copied to clipboard
"Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version": is it possible to resolve this warning?
Full message:
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
Also asked on Reddit.
I was pointed out to this warning here.
The warning is due the use of QAbstractFileEngine, which became private in Qt5.
QAbstractFileEngine enables support for compressed skins (.nzs). Alternative would be to use QWebEngineUrlSchemeHandler, but it depends on a huge webenginecore module.
I can think of disabling compressed skins support, which would remove the warning.
Actually, I hope I can use https://doc.qt.io/qt-5/qdesktopservices.html#setUrlHandler instead.