Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deplaying an application with plugin
Forum Updated to NodeBB v4.3 + New Features

Deplaying an application with plugin

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 4 Posters 3.0k 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.
  • E Offline
    E Offline
    euchkatzl
    wrote on last edited by
    #2

    did you do all the things mentioned here ?

    http://qt-project.org/forums/viewthread/29185

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Toxiik
      wrote on last edited by
      #3

      No because I don't know how to do this.
      I have search for directshow.pro in my Qt folder but i did not find it.

      also for "recompile the plugin." I have to recompile it using Qt creator? or manually?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Hi,

        First thing to check is this fine "wiki entry":http://qt-project.org/wiki/Deploy_an_Application_on_Windows to ensure you are starting the deployment right.

        Once that's done, and if still fails, then start your application from the command line with QT_DEBUG_PLUGINS=1 and see what goes wrong

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Toxiik
          wrote on last edited by
          #5

          bq. First thing to check is this fine wiki entry [qt-project.org] to ensure you are starting the deployment right.

          I have already do this.

          And the debug mode produces the same error :
          defaultServiceProvider::requestService(): no service found for – “org.qt-project.qt.mediaplayer”

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Activating that environment variable won't change the outcome, however you should analyze the output of your application to see which plugin fails and for what reason

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • T Offline
              T Offline
              Toxiik
              wrote on last edited by
              #7

              I have not understand where i have to put the QT_DEBUG_PLUGINS=1 line
              Please tell me about it
              thanks

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #8

                Hi,

                [quote author="Toxiik" date="1422875572"]I have created a subdirectory named plugins and i have put the mediaservice into it.[/quote]You should not have a subdirectory named "plugins". Go to SGaist's link again and look at the diagram carefully (replace "imageformats" with "mediaservice").

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  Toxiik
                  wrote on last edited by
                  #9

                  I have removed my subdirectory but it always don't work.
                  I have my .exe, my .dll and mediaservice
                  But always the same error

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Again, start your application from the command line:
                    call

                    @set QT_DEBUG_PLUGINS=1@

                    then

                    @yourapplication.exe@

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      Toxiik
                      wrote on last edited by
                      #11

                      Thanks for your response, i have do that and the problem is not qtmultimedia.
                      When I run myapp.exe with the good parameter it works fine.

                      But when i associate a mp3 file with the myapp.exe and i try to run it, it fails.
                      How can i get the path of the mp3 file that i have double clicked?

                      Now i use QCoreApplication::arguments().at(1)

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        Toxiik
                        wrote on last edited by
                        #12

                        sorry for the double post, but i have resolved my problem, i have deleted all my built folder an rebuilt it and it works

                        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