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. QResource::registerResource() constantly returning false
Forum Updated to NodeBB v4.3 + New Features

QResource::registerResource() constantly returning false

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.0k 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.
  • B Offline
    B Offline
    brian_bat
    wrote on last edited by
    #1

    Hello,

    I am trying to load an .rcc file using QResource::registerResource() but it keeps returning false and I can't determine why. I have placed my .rcc file in the same folder as my .exe file. I also tried placing the .rcc file in another folder and passing in the absolute path. I also tried using other .rcc files.

    Can someone please tell me how I can determine why the function is failing?

    Thank you.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MuldeR
      wrote on last edited by
      #2

      Your .rcc file is a binary resource file, as created by Qt RCC tool with "-binary" switch, right?

      My OpenSource software at: http://muldersoft.com/

      Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

      Go visit the coop: http://youtu.be/Jay...

      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