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. How to build QtGStreamer with MinGW on Windows
QtWS25 Last Chance

How to build QtGStreamer with MinGW on Windows

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.3k 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.
  • J Offline
    J Offline
    junf1024
    wrote on last edited by
    #1

    During I compile the QtGStreamer, I meet the problems like these:
    0_1536117780950_1.PNG

    who can tell me what the wrongs with that?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      junf1024
      wrote on last edited by
      #4

      en... I have solved this problem?

      the source code I have downloaded ( form https://gstreamer.freedesktop.org/data/src/qt-gstreamer/qt-gstreamer-1.2.0.tar.xz ) may have something wrongs ???

      when I download the same version source code from https://github.com/GStreamer/qt-gstreamer
      I completed the compilation !!

      1 Reply Last reply
      1
      • A Offline
        A Offline
        ambershark
        wrote on last edited by
        #2

        Sounds like there is a syntax error in the code at line 125 in gstqtglvideosinkbase.cpp.

        My guess as to why is because the particular compiler you are using is not supported or the code is using a new C++ feature set, i.e. c++11 and you are building with c++98.

        I would check to make sure the mingw you are trying to use is one that works with Qt and that the proper C++ is being used. Qt is historically very picky about what version of mingw can build it. I've found straying for the specific version they use almost always causes problems.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        0
        • J Offline
          J Offline
          junf1024
          wrote on last edited by
          #3

          @ambershark thanks for your reply.

          The version of mingw complier I used is that :

          mingw32-make -v
          GNU Make 4.1
          Built for i686-w64-mingw32
          Copyright (C) 1988-2014 Free Software Foundation, Inc.
          License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
          This is free software: you are free to change and redistribute it.
          There is NO WARRANTY, to the extent permitted by law.

          Any problem with that ?
          I use it to build the boost at first.

          I download Qt5.5 and try to change the version of MinGW. ( Qt5.10 and Qt5.5 use the MinGW in different version). But the problem still exits.

          Could you show me the way?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            junf1024
            wrote on last edited by
            #4

            en... I have solved this problem?

            the source code I have downloaded ( form https://gstreamer.freedesktop.org/data/src/qt-gstreamer/qt-gstreamer-1.2.0.tar.xz ) may have something wrongs ???

            when I download the same version source code from https://github.com/GStreamer/qt-gstreamer
            I completed the compilation !!

            1 Reply Last reply
            1
            • A Offline
              A Offline
              ambershark
              wrote on last edited by
              #5

              Awesome! I knew it was a syntax error but wouldn't have guessed it was a corrupt file, lol.

              Glad you found it and fixed it. :)

              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

              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