Jump to content

Can't seem to load image or .svg with icon from Xcode


silageman
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

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

  • Like 1
  • Upvote 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...