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. Problem Displaying image on Android Emulator
Forum Updated to NodeBB v4.3 + New Features

Problem Displaying image on Android Emulator

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 474 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.
  • S Offline
    S Offline
    Sakhana99
    wrote on 9 Mar 2023, 16:17 last edited by
    #1

    Re: Problem Displaying image on Android

    Hello everyone, i want to display image on Android Emulator with Qt, i have Android 11.0 and NDK 21 version and SDK 30. I got some some warnings i think those are the reason why i cant display the image. Please help im a beginner Android engineer.Image.PNG

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on 9 Mar 2023, 16:36 last edited by
      #2

      Hi

      do you load it using a qrc:/ path ?

      By the way, why do you use QtWidgets rather than QtQuick ? the latter is more suitable for mobile devices.

      S 1 Reply Last reply 11 Mar 2023, 01:50
      0
      • ? A Former User
        9 Mar 2023, 16:36

        Hi

        do you load it using a qrc:/ path ?

        By the way, why do you use QtWidgets rather than QtQuick ? the latter is more suitable for mobile devices.

        S Offline
        S Offline
        Sakhana99
        wrote on 11 Mar 2023, 01:50 last edited by
        #3

        @ankou29666
        what do you mean by qrc:/ path ?

        ? 1 Reply Last reply 11 Mar 2023, 06:20
        0
        • S Sakhana99
          11 Mar 2023, 01:50

          @ankou29666
          what do you mean by qrc:/ path ?

          ? Offline
          ? Offline
          A Former User
          wrote on 11 Mar 2023, 06:20 last edited by
          #4

          @Sakhana99 Qt Resource Collection system.

          It will embed your resource files like images directly into the executable. It's the easiest and most efficient way to get the resource after deployment.

          https://doc.qt.io/qt-6/resources.html

          S 1 Reply Last reply 12 Mar 2023, 12:45
          1
          • ? A Former User
            11 Mar 2023, 06:20

            @Sakhana99 Qt Resource Collection system.

            It will embed your resource files like images directly into the executable. It's the easiest and most efficient way to get the resource after deployment.

            https://doc.qt.io/qt-6/resources.html

            S Offline
            S Offline
            Sakhana99
            wrote on 12 Mar 2023, 12:45 last edited by
            #5

            @ankou29666 said in Problem Displaying image on Android Emulator:

            Qt Resource Collection system

            Thank you very much it really help me a lot

            1 Reply Last reply
            0
            • S Sakhana99 has marked this topic as solved on 14 Mar 2023, 13:41

            1/5

            9 Mar 2023, 16:17

            • Login

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