silageman Posted February 20, 2022 Share Posted February 20, 2022 it seems to work from http:// some url but not a local path even tho it says loading icon /contents/resources /some.svg auto icon = LoadIcon("des.svg"); ui->root->SetIcon(icon); even when I look in show package contents its where it's supposed to be any help or is this a known problem Quote Link to comment Share on other sites More sharing options...
Josh Posted March 22, 2022 Share Posted March 22, 2022 Check what the current path is when you start the program.: https://www.ultraengine.com/learn/CPP/CurrentDir You might need to call ChangeDir() to move to the folder you want: https://www.ultraengine.com/learn/CPP/ChangeDir Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
predaware Posted April 10, 2022 Share Posted April 10, 2022 I actually just bought Ultra App Kit...digging the workflow so far...but I am having this exact problem. I had already verified the current working directory...and I even used the file selector example code to get the path for LoadPixmap. No joy. As in the case of the OP, the remote URL worked, but nothing local. EDIT: Nevermind, I had not loaded the FreeImage plugin. All good. Thanks, John 1 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.