Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. JPEG PLUGINS
QtWS25 Last Chance

JPEG PLUGINS

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 3 Posters 2.7k 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.
  • M Offline
    M Offline
    Mr .Wu
    wrote on last edited by
    #1

    I have written a qml application . It used a control named Image . i want to show a jpeg picture . it caused a warning information like this .

    QML Image : Error decoding : Unsupported image format .

    Can you tell me . how can i add the jpeg plugins .

    Thanks.

    raven-worxR 1 Reply Last reply
    0
    • M Mr .Wu

      I have written a qml application . It used a control named Image . i want to show a jpeg picture . it caused a warning information like this .

      QML Image : Error decoding : Unsupported image format .

      Can you tell me . how can i add the jpeg plugins .

      Thanks.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Mr-.Wu
      vage question, vage answer:
      make sure the image plugins are deployed along with your application

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      M 2 Replies Last reply
      1
      • ODБOïO Offline
        ODБOïO Offline
        ODБOï
        wrote on last edited by
        #3

        @raven-worx
        whay is so vage here ?

        raven-worxR 1 Reply Last reply
        0
        • ODБOïO ODБOï

          @raven-worx
          whay is so vage here ?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @LeLev
          because it neither mentions the running operating system nor the deployment type nor the Qt version, etc.
          This can only lead to a very generic answer.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          2
          • raven-worxR raven-worx

            @Mr-.Wu
            vage question, vage answer:
            make sure the image plugins are deployed along with your application

            M Offline
            M Offline
            Mr .Wu
            wrote on last edited by
            #5

            @raven-worx said in JPEG PLUGINS:

            plugins

            I have deployed along with my application . I want to know how to import into my qml application . such as :

            how to modify the pro file of application ? (QTPLUGIN +=?)
            how to modify the environment variable ?(export QT_PLUGINS_PATH)

            1 Reply Last reply
            0
            • raven-worxR raven-worx

              @Mr-.Wu
              vage question, vage answer:
              make sure the image plugins are deployed along with your application

              M Offline
              M Offline
              Mr .Wu
              wrote on last edited by
              #6

              @raven-worx My Application Running On Qt_5.8 . Arm platform. The Application used qml .

              raven-worxR 1 Reply Last reply
              0
              • M Mr .Wu

                @raven-worx My Application Running On Qt_5.8 . Arm platform. The Application used qml .

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @Mr-.Wu
                i assume a Linux system? If so see this for example.

                Basically it's possible with no modifications at all, you just need to deploy the image plugins (like the platform plugin for example, which you obviously already did in order to run your application) into the correct folder.

                You can influence the search paths for plugins though. But basically you do not need to change your build process (.pro file), since the plugins are searched and loaded dynamically at runtime.

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                M 1 Reply Last reply
                1
                • raven-worxR raven-worx

                  @Mr-.Wu
                  i assume a Linux system? If so see this for example.

                  Basically it's possible with no modifications at all, you just need to deploy the image plugins (like the platform plugin for example, which you obviously already did in order to run your application) into the correct folder.

                  You can influence the search paths for plugins though. But basically you do not need to change your build process (.pro file), since the plugins are searched and loaded dynamically at runtime.

                  M Offline
                  M Offline
                  Mr .Wu
                  wrote on last edited by
                  #8

                  @raven-worx Thanks

                  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