Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Precompiled headers with CMake in Qt 6. How?
I am trying to find any info about using PCH (precompiled headers) in Qt 6. Is there any examples or manuals? Is there something special in case of using it with Qt?
See this Qt blog as a starting point.
So hard using an internet search engine?
@Christian-Ehrlicher I've been asking in case of using Qt 6 with CMake and documentation about it in Qt. Not about just C++ project with CMake. I know perfectly about CMake functionality.
I've been asking in case of using Qt 6 with CMake and documentation about it in Qt.
What should be different when using Qt or plain c++ here?
@Christian-Ehrlicher Have you really read the question? If you have nothing to reply why are you righting it? The question is about something special in Qt 6.0. everything is in my question.
The question is about something special in Qt 6.0. everything is in my question.
You ask how to use precompile headers with Qt6 & cmake. I told you to use target_precompile_headers(). So what's wrong with this answer? What else do you want to know (but do not ask for)?