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. How to using external storage to save Images on QtQuick
QtWS25 Last Chance

How to using external storage to save Images on QtQuick

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 1.5k Views
  • 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.
  • T Offline
    T Offline
    thuongnv284
    wrote on last edited by
    #1

    Hi,
    i want to use external storage to store all images for Project.

    Is it possible in Qt?

    cuongnc

    jsulmJ 1 Reply Last reply
    0
    • T thuongnv284

      Hi,
      i want to use external storage to store all images for Project.

      Is it possible in Qt?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @thuongnv284 Do you mean you want to store images in your app at runtime? Or do you want to store images used in your app somewhere?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply
      0
      • jsulmJ jsulm

        @thuongnv284 Do you mean you want to store images in your app at runtime? Or do you want to store images used in your app somewhere?

        T Offline
        T Offline
        thuongnv284
        wrote on last edited by
        #3

        @jsulm Thanks for your reply
        I want to store images in my app at runtime. for example, i want to use USB for this work

        cuongnc

        J.HilkJ jsulmJ 2 Replies Last reply
        0
        • T thuongnv284

          @jsulm Thanks for your reply
          I want to store images in my app at runtime. for example, i want to use USB for this work

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @thuongnv284
          well, QImage has a save functionality

          You just have to give it a valid path


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • T thuongnv284

            @jsulm Thanks for your reply
            I want to store images in my app at runtime. for example, i want to use USB for this work

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @thuongnv284 With QML/QtQuick you cannot do this. You will need to write C++ code using QFile or whatever to write the files.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            T 1 Reply Last reply
            1
            • jsulmJ jsulm

              @thuongnv284 With QML/QtQuick you cannot do this. You will need to write C++ code using QFile or whatever to write the files.

              T Offline
              T Offline
              thuongnv284
              wrote on last edited by
              #6

              @jsulm Sorry for late, thanks for your help

              I mean I want to use Images to drawImage on GUI and these images is stored in external storage, not need write to storage at runtime

              cuongnc

              jsulmJ 1 Reply Last reply
              0
              • T thuongnv284

                @jsulm Sorry for late, thanks for your help

                I mean I want to use Images to drawImage on GUI and these images is stored in external storage, not need write to storage at runtime

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @thuongnv284 You can do this - you just need to provide the correct path to the image.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

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