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 445 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 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 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
      0
      • ? A Former User

        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 last edited by
        #3

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

        ? 1 Reply Last reply
        0
        • S Sakhana99

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

          ? Offline
          ? Offline
          A Former User
          wrote on 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
          1
          • ? A Former User

            @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 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

            • Login

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