PDA

View Full Version : QResource::registerResource fails on Mac version



Mrdata
6th April 2012, 03:29
Hi,

I have the following code that is working fine in my qt program (windows version):



if( false == QResource::registerResource( "data.rcc" ) )
{
//.... Error message
}


file is always found, application continues...

i started porting my application from Windows to Mac, while i was waiting for my mac computer to arrive, i used virtualbox with Mac image,
and it worked fine too, however now that i'm using a Mac computer, the same code always fails, it seems that the rcc file is never found, it needs
some kind of path that i still didn't sorted out, i tried many different paths but nothing.
Sorry, but y'm totally newbie on Mac and still don't understand some basic things like this file paths stuff.