QResource::registerResource() constantly returning false



  • 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.



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


Log in to reply
 

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