Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt android image help or maybe bug
Forum Updated to NodeBB v4.3 + New Features

Qt android image help or maybe bug

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.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.
  • F Offline
    F Offline
    Fatal
    wrote on 11 May 2014, 18:28 last edited by
    #1

    !http://tinypic.com/r/ev44gl/8(Image not being shown)!

    Well it wouldnt show at all, any help ?
    http://tinypic.com/r/ev44gl/8

    Just playing around and trying to get used to the environment. Decided to add a picture by using label widget and then adding the picture by the pixmap option.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      Xander84
      wrote on 11 May 2014, 21:10 last edited by
      #2

      did you deploy the image with your app? your need to create a Qt resource file and use that so it will be included when you deploy the app to android (or any other device). That is at least the easiest way to do that.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Fatal
        wrote on 11 May 2014, 22:06 last edited by
        #3

        Oh cool, learning something new everyday. Thanks.

        Im using widget and I want to add it to a label. How do I do it? I made my resource file, added a prefix and then added the image.

        1 Reply Last reply
        0
        • X Offline
          X Offline
          Xander84
          wrote on 12 May 2014, 13:03 last edited by
          #4

          I think you can just choose an image form a resource file with the form designer?
          if you click on the "..." button next to the "pixmap" property in the label you should see your resourced and your image! :)

          1 Reply Last reply
          0

          1/4

          11 May 2014, 18:28

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved