Resources "qrc" in Visual Studio



  • Hello,
    is it normal that I cannot load resources with their prefix in visual studio?

    I have files under shaders/filename, and I don't have problem to load using

    LoadShaders("shaders/SimpleVertexShader.vertexshader", "shaders/SimpleFragmentShader.fragmentshader");
    

    But if I try to use prefix added in qrc:

    LoadShaders(":/shaders/SimpleVertexShader.vertexshader", ":/shaders/SimpleFragmentShader.fragmentshader");
    

    nothing is loaded

    Thank you


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.