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
Forum Updated to NodeBB v4.3 + New Features

JPEG PLUGINS

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 3 Posters 2.8k Views 2 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.
  • M Offline
    M Offline
    Mr .Wu
    wrote on 13 Sept 2017, 12:39 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.

    R 1 Reply Last reply 13 Sept 2017, 12:51
    0
    • M Mr .Wu
      13 Sept 2017, 12:39

      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.

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 13 Sept 2017, 12:51 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 14 Sept 2017, 01:25
      1
      • O Offline
        O Offline
        ODБOï
        wrote on 13 Sept 2017, 14:58 last edited by
        #3

        @raven-worx
        whay is so vage here ?

        R 1 Reply Last reply 13 Sept 2017, 15:00
        0
        • O ODБOï
          13 Sept 2017, 14:58

          @raven-worx
          whay is so vage here ?

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 13 Sept 2017, 15:00 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
          • R raven-worx
            13 Sept 2017, 12:51

            @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 14 Sept 2017, 01:25 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
            • R raven-worx
              13 Sept 2017, 12:51

              @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 14 Sept 2017, 01:28 last edited by
              #6

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

              R 1 Reply Last reply 14 Sept 2017, 06:42
              0
              • M Mr .Wu
                14 Sept 2017, 01:28

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

                R Offline
                R Offline
                raven-worx
                Moderators
                wrote on 14 Sept 2017, 06:42 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 23 Sept 2017, 03:13
                1
                • R raven-worx
                  14 Sept 2017, 06:42

                  @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 23 Sept 2017, 03:13 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