Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Announcements
  4. issue resolved with Resource not working
Qt 6.11 is out! See what's new in the release blog

issue resolved with Resource not working

Scheduled Pinned Locked Moved Unsolved Announcements
2 Posts 2 Posters 981 Views
  • 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.
  • G Offline
    G Offline
    Gareth Witshire
    wrote on last edited by
    #1

    Re: Forum Update Feb 6t

    make the right changes to the cmake directory with adding

    qt6_add_resources(RESOURCES resource.qrc)

    and then add

    qt_add_executable(sqlbrowser

    ${RESOURCES} # Use the generated source file here
    

    )

    this will pickup your resource file as it should be .

    jsulmJ 1 Reply Last reply
    0
    • G Gareth Witshire

      Re: Forum Update Feb 6t

      make the right changes to the cmake directory with adding

      qt6_add_resources(RESOURCES resource.qrc)

      and then add

      qt_add_executable(sqlbrowser

      ${RESOURCES} # Use the generated source file here
      

      )

      this will pickup your resource file as it should be .

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Gareth-Witshire Why did you post this in "Announcement" forum?! And to what thread do you actually want to reply?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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