How to access Qt resource files in Visual Studio 2017

  • I am trying to access qt resource files in VS 2017 project with CMake. I have the following questions:

    1. where do I put the resource files? Preferably I would like to put the resource files in the root dir. I have tried to put the files in the root director and in the directory they will be called.
    2. How can I refer to the resource files? I have tried all the instruction I can find on internet. But none of them seem to work.

    Thanks a lot!

Log in to reply