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

QMediaPlayer network dependency

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 2 Posters 1.1k 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.
  • T Offline
    T Offline
    Tink
    wrote on last edited by
    #4

    I looked at building without network but there's no -skip network option right. So that's why you suggest building in steps? Well let me see if i can figure this out...

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

      The skip option is for modules outside qtbase. Networking is a feature that you have to disable at the qtbase level.

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

      T 1 Reply Last reply
      0
      • SGaistS SGaist

        The skip option is for modules outside qtbase. Networking is a feature that you have to disable at the qtbase level.

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

        @SGaist Would this involve passing a very long list of -no-feature arguments to configure?

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

          From the top of my head, something like -no-feature-network.

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

          T 1 Reply Last reply
          1
          • SGaistS SGaist

            From the top of my head, something like -no-feature-network.

            T Offline
            T Offline
            Tink
            wrote on last edited by Tink
            #8

            Excellent. I just tried that and it says:
            Qt Network ............................. no
            under Qt modules and options
            in config.summary.

            I will have to check out if it really works at a later time.

            I wonder though how i would have found that on my own... since it's not in the features list and in the summary it gives the impression that it's either a module or option.

            T 1 Reply Last reply
            0
            • T Tink

              Excellent. I just tried that and it says:
              Qt Network ............................. no
              under Qt modules and options
              in config.summary.

              I will have to check out if it really works at a later time.

              I wonder though how i would have found that on my own... since it's not in the features list and in the summary it gives the impression that it's either a module or option.

              T Offline
              T Offline
              Tink
              wrote on last edited by
              #9

              I wonder though how i would have found that on my own... since it's not in the features list and in the summary it gives the impression that it's either a module or option.

              And this is probably because of the existence of the Qt Configuration Tool available for commercial users only...

              SGaistS 1 Reply Last reply
              0
              • T Tink

                I wonder though how i would have found that on my own... since it's not in the features list and in the summary it gives the impression that it's either a module or option.

                And this is probably because of the existence of the Qt Configuration Tool available for commercial users only...

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #10

                @Tink said in QMediaPlayer network dependency:

                I wonder though how i would have found that on my own... since it's not in the features list and in the summary it gives the impression that it's either a module or option.

                And this is probably because of the existence of the Qt Configuration Tool available for commercial users only...

                Not really no, that tool has been created only very recently with the change of the features handling.

                As for finding about the features part, the documentation of the configure options talks about them.

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

                T 1 Reply Last reply
                0
                • SGaistS SGaist

                  @Tink said in QMediaPlayer network dependency:

                  I wonder though how i would have found that on my own... since it's not in the features list and in the summary it gives the impression that it's either a module or option.

                  And this is probably because of the existence of the Qt Configuration Tool available for commercial users only...

                  Not really no, that tool has been created only very recently with the change of the features handling.

                  As for finding about the features part, the documentation of the configure options talks about them.

                  T Offline
                  T Offline
                  Tink
                  wrote on last edited by
                  #11

                  @SGaist that supports my point, the tool has been made because it's kind of hard to make sense of it all on the command line if you are not an expert.

                  "The Qt Configuration Tool that is part of Qt for Device Creation allows the tweaking of features and dependencies through a convenient user interface."

                  Also on that page it talks about the -list-features command which i already did before but there is no plain "network" listed there. So how does one that is not an expert and does not have a gui tool do all this?

                  I tried multiple times to make/make install, but each time i get errors... so some help would be appreciated.

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

                    Well, the features handling as changed over time. Back in the days, I went through the documentation and Qt's code to see how I could customize the build to match the constraints I had.

                    Becoming an experts requires a lot fiddling and spelunking.

                    What errors do you get ?

                    Note that the features system might have issues with certain combinations. All the possible combinations cannot be tested as it would require a lot more of processing power and time than currently available.

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

                    T 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Well, the features handling as changed over time. Back in the days, I went through the documentation and Qt's code to see how I could customize the build to match the constraints I had.

                      Becoming an experts requires a lot fiddling and spelunking.

                      What errors do you get ?

                      Note that the features system might have issues with certain combinations. All the possible combinations cannot be tested as it would require a lot more of processing power and time than currently available.

                      T Offline
                      T Offline
                      Tink
                      wrote on last edited by
                      #13

                      @SGaist

                      So after more tinkering with configure options (last i did that seemed to help was -skip qttools -skip qtdoc) i got a good make/install. But now qmake notices i have an unknown module: multimedia.
                      When i run make module-qtmultimedia it fails with this message:
                      echo "Some of the required modules (qtHaveModule(network)) are not available."
                      echo "Skipped."

                      So that is a real bummer.
                      Any ideas?

                      As for spelunking, i suspect that many, including me, might find a watery grave deep underground...

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

                        From the looks of it, QtMultimedia has a hard requirement on the network module that I completely forgot about.

                        That means that if you want to disable the network part completely you would need to modify QtMultimedia directly.

                        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
                        1
                        • T Offline
                          T Offline
                          Tink
                          wrote on last edited by
                          #15

                          Even if i could figure that out i must conclude that it takes much longer than it's worth for me right now. Thanks for the help anyway.

                          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