Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Resources "qrc" in Visual Studio
Qt 6.11 is out! See what's new in the release blog

Resources "qrc" in Visual Studio

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 717 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aidoru
    wrote on last edited by aidoru
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved