- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    None
- 
    6.0
- 
        151323b94b20fe2be520e552e995d5e476a788f4 (qt/qtbase/dev)
Currently, we add a ${qt_prefix}/include path as a TARGET_INCLUDE_DIRECTORIES on the Qt6::Platform target.
When building a module with Conan though, the include files are installed into a different directory than the Qt essential one.
Which means that you get errors like
../main.cpp:4:10: fatal error: QtNetworkAuth/QOAuth2AuthorizationCodeFlow: No such file or directory
 #include <QtNetworkAuth/QOAuth2AuthorizationCodeFlow>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To fix that, we can add a IMPORT_PREFIX/include path as an include dir on each module target. We might need to do something similar for macOS framework builds as well.