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. Help with QtGStreamer undefined reference to QGST::init
Forum Updated to NodeBB v4.3 + New Features

Help with QtGStreamer undefined reference to QGST::init

Scheduled Pinned Locked Moved General and Desktop
qtgstreamer
19 Posts 2 Posters 10.3k 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.
  • S SGaist
    3 Jun 2015, 20:48

    TEMPLATE and TARGET should be used with = . They contain only one value.

    Do you still have that error if you don't use pkgconfig ?

    J Offline
    J Offline
    JackCWallace
    wrote on 3 Jun 2015, 20:50 last edited by
    #9

    @SGaist Yes, If I take out the line for PKGCONFIG, I still get the same error

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Jun 2015, 20:53 last edited by
      #10

      Then create a default widget project and see if you can built it

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

      J 1 Reply Last reply 3 Jun 2015, 21:01
      0
      • S SGaist
        3 Jun 2015, 20:53

        Then create a default widget project and see if you can built it

        J Offline
        J Offline
        JackCWallace
        wrote on 3 Jun 2015, 21:01 last edited by
        #11

        @SGaist Hi, I built an blank widget project, and I build one of the examples from Qt, and it worked fine

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Jun 2015, 21:11 last edited by
          #12

          Then keep that one and introduce one by one the elements of your other project until it either fails to build or build successfully

          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
          • J Offline
            J Offline
            JackCWallace
            wrote on 3 Jun 2015, 21:37 last edited by
            #13

            For every element in the pro file, it does not fail if I put '#include <QGst/Init>' then I get the error 'QtCore/QtGlobal: No such file or directory' Then if I comment it back out, and run qmake, then build, I get no error. If I comment it out I get the error 'cannot find boost/config.hpp' until I run qmake again.

            I added 'C:\boost_1_58_0' to the include path, commented out '#include <QGst/Init>' ran qmake, and uncommented it, and it built with no error. Then I ran qmake again, and it game me the 'QtCore/QtGlobal' error again

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 3 Jun 2015, 21:41 last edited by
              #14

              Ok… Then the silly question: do you have a QtGlobal file ? If so where is it ?

              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
              • J Offline
                J Offline
                JackCWallace
                wrote on 4 Jun 2015, 14:27 last edited by
                #15

                Yes, I have 5 copies, they are in
                "C:\Qt\Qt5.4.1\5.4\android_armv5\include\QtCore\QtGlobal"
                "C:\Qt\Qt5.4.1\5.4\android_armv7\include\QtCore\QtGlobal"
                "C:\Qt\Qt5.4.1\5.4\android_x86\include\QtCore\QtGlobal"
                "C:\Qt\Qt5.4.1\5.4\mingw491_32\include\QtCore\QtGlobal"
                "C:\Qt\Qt5.4.1\5.4\Src\qtbase\include\QtCore\QtGlobal"

                Should I have a different one somewhere else? I am building with Mingw

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 4 Jun 2015, 23:34 last edited by
                  #16

                  Did you modify your kits ?

                  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
                  • J Offline
                    J Offline
                    JackCWallace
                    wrote on 5 Jun 2015, 19:41 last edited by
                    #17

                    No, I even just got done uninstalling and reinstalling Qt 5.4.1 and QtCreator 3.3.2 and I just got the same QtCore error

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      JackCWallace
                      wrote on 5 Jun 2015, 20:09 last edited by
                      #18

                      I then added the pkgconfig and config then instead of '#include <QGst/Init>' I did '#include <QGst/init.h>' and I got back to the error of undefined reference to 'QGst::init

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 6 Jun 2015, 08:10 last edited by
                        #19

                        Check the output of pkg-config for QtGStreamer, compare it to the build output of your application. Check the -I lines to see if something is currently modifying them in the wrong way

                        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

                        18/19

                        5 Jun 2015, 20:09

                        • Login

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