Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. include vlc in qt application
Forum Updated to NodeBB v4.3 + New Features

include vlc in qt application

Scheduled Pinned Locked Moved Unsolved General and Desktop
22 Posts 3 Posters 5.6k 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 SGaist
    12 Nov 2016, 22:55

    Which OS are you targeting ?

    A Offline
    A Offline
    abhay
    wrote on 12 Nov 2016, 22:56 last edited by
    #5

    @SGaist linux only.I am working on linuxmint

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Nov 2016, 22:58 last edited by
      #6

      Then follow the Linux deployment guide.

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

      A 1 Reply Last reply 12 Nov 2016, 23:03
      0
      • S SGaist
        12 Nov 2016, 22:58

        Then follow the Linux deployment guide.

        A Offline
        A Offline
        abhay
        wrote on 12 Nov 2016, 23:03 last edited by
        #7

        @SGaist I deployed my app by linuxdeployqt tool.My app is working perfectly.But it's running only on machines which have vlc or libvlc.I want to bind the app into my appimage.But I am not able to do so.Can you tell me briefly how can I bind libvlc and my app,so that users without vlc also can run my app?Thanks!

        T 1 Reply Last reply 12 Nov 2016, 23:14
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 12 Nov 2016, 23:13 last edited by
          #8

          Did you use the -bundle-non-qt-libs option of that tool ?

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

          A 1 Reply Last reply 12 Nov 2016, 23:14
          0
          • S SGaist
            12 Nov 2016, 23:13

            Did you use the -bundle-non-qt-libs option of that tool ?

            A Offline
            A Offline
            abhay
            wrote on 12 Nov 2016, 23:14 last edited by
            #9

            @SGaist Yes.But no luck :(

            1 Reply Last reply
            0
            • A abhay
              12 Nov 2016, 23:03

              @SGaist I deployed my app by linuxdeployqt tool.My app is working perfectly.But it's running only on machines which have vlc or libvlc.I want to bind the app into my appimage.But I am not able to do so.Can you tell me briefly how can I bind libvlc and my app,so that users without vlc also can run my app?Thanks!

              T Offline
              T Offline
              Tikani
              wrote on 12 Nov 2016, 23:14 last edited by
              #10

              @abhay you can do a static link in case you are writing app under GPL licence and your code is open sourced.

              A 1 Reply Last reply 12 Nov 2016, 23:15
              0
              • T Tikani
                12 Nov 2016, 23:14

                @abhay you can do a static link in case you are writing app under GPL licence and your code is open sourced.

                A Offline
                A Offline
                abhay
                wrote on 12 Nov 2016, 23:15 last edited by
                #11

                @Tikani I am sorry.I don't know how to create a static link.Can you tell me how to do this? Thanks! and my code is under GPL license

                T 1 Reply Last reply 12 Nov 2016, 23:20
                0
                • A abhay
                  12 Nov 2016, 23:15

                  @Tikani I am sorry.I don't know how to create a static link.Can you tell me how to do this? Thanks! and my code is under GPL license

                  T Offline
                  T Offline
                  Tikani
                  wrote on 12 Nov 2016, 23:20 last edited by Tikani 11 Dec 2016, 23:32
                  #12

                  @abhay At first you need a static version of Qt environment. To get this one you need to build a Qt from source with -static parameter. Start from this link. Perhaps, you will have to get the sources of libvlc and recompile it as a static library, but I do not quite sure. Depends on what you will find in libvlc-dev package if you use sources from official mint repos. But you can download the freshest sources tarball from VLC site. In official repos packages are slightly outdated, usually.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 12 Nov 2016, 23:23 last edited by
                    #13

                    @Tikani, @abhay doesn't struggle with Qt, it's vlc that is giving him a hard time to bundle.

                    @abhay, are you only missing the vlc libraries or is there anything else that is not pulled in ?

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

                    A 1 Reply Last reply 12 Nov 2016, 23:24
                    0
                    • S SGaist
                      12 Nov 2016, 23:23

                      @Tikani, @abhay doesn't struggle with Qt, it's vlc that is giving him a hard time to bundle.

                      @abhay, are you only missing the vlc libraries or is there anything else that is not pulled in ?

                      A Offline
                      A Offline
                      abhay
                      wrote on 12 Nov 2016, 23:24 last edited by
                      #14

                      @SGaist only vlc libraries.Qt is fine

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 12 Nov 2016, 23:30 last edited by
                        #15

                        Did you increase the log level of linuxdeployqt ? That might give you hints of what is happening.

                        You may have to tweak the tool a bit to make it include the vlc libraries.

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

                        A 1 Reply Last reply 12 Nov 2016, 23:32
                        0
                        • S SGaist
                          12 Nov 2016, 23:30

                          Did you increase the log level of linuxdeployqt ? That might give you hints of what is happening.

                          You may have to tweak the tool a bit to make it include the vlc libraries.

                          A Offline
                          A Offline
                          abhay
                          wrote on 12 Nov 2016, 23:32 last edited by
                          #16

                          @SGaist Did you mean --verbose? I set the default value only.

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 12 Nov 2016, 23:43 last edited by
                            #17

                            Put it at 4

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

                            A 1 Reply Last reply 12 Nov 2016, 23:52
                            0
                            • S SGaist
                              12 Nov 2016, 23:43

                              Put it at 4

                              A Offline
                              A Offline
                              abhay
                              wrote on 12 Nov 2016, 23:52 last edited by
                              #18

                              @SGaist Same error man :(

                              A 1 Reply Last reply 12 Nov 2016, 23:55
                              0
                              • A abhay
                                12 Nov 2016, 23:52

                                @SGaist Same error man :(

                                A Offline
                                A Offline
                                abhay
                                wrote on 12 Nov 2016, 23:55 last edited by
                                #19

                                @abhay and I think range is from 0-3 only I think.Although if you give more than 3 it will take same as 3 I think

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 13 Nov 2016, 00:10 last edited by
                                  #20

                                  Setting the verbosity up won't fix the problem, however it should help you get information on what is happening. Maybe tell you why what dependency is ignored.

                                  From a quick look at linuxdeployqt, it might be because vlc is installed in a system folder which will be avoided by the tool.

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

                                  A 1 Reply Last reply 13 Nov 2016, 00:15
                                  0
                                  • S SGaist
                                    13 Nov 2016, 00:10

                                    Setting the verbosity up won't fix the problem, however it should help you get information on what is happening. Maybe tell you why what dependency is ignored.

                                    From a quick look at linuxdeployqt, it might be because vlc is installed in a system folder which will be avoided by the tool.

                                    A Offline
                                    A Offline
                                    abhay
                                    wrote on 13 Nov 2016, 00:15 last edited by
                                    #21

                                    @SGaist can you tell me how to link vlc if I install it in a custom manner?I mean downloading the source code and building it.

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 13 Nov 2016, 22:14 last edited by
                                      #22

                                      The same as now except that you'll have to add the path to your custom VLC build in the LIBS variable.

                                      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

                                      14/22

                                      12 Nov 2016, 23:24

                                      • Login

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