Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[QT VS Add-in] generated moc, rcc, uic file path



  • I'm using QT(5.14.0) with Visual Studio 2017 with QT VS Add-in.

    When I see QT VS Tools -> Qt Options -> Qt Project Setting -> Qt Default Settings,

    it says moc, rcc, uic file will be generated in (VSProjDir)\GeneratedFiles folder.

    85a417ee-4b7b-4ed8-9940-e35600da7cc1-image.png f5649e75-c87c-4788-be9a-92b759fb92b4-image.png

    However, when I checked Property pages, it says totally different path for those files.

    dc04dd43-a7d1-41c8-967a-7f89f2dc93c3-image.png

    422e561c-f26a-45ec-a450-a9f61d5f7e1e-image.png

    fcd72d38-30d4-4f3a-b4e0-dfe47156eab5-image.png

    If I build this project, moc, rcc, uic all files are generated in the path stated in the property pages, not in the default path.

    f238d8ed-047b-42bd-b97d-28cdfaac0e88-image.png

    Can anyone explain why this happens?
    I think the reason why I cannot use intellisense for ui related things is due to the path...

    Thank you for advance.


Log in to reply