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. Qt5GLib-2.0 development package not found
Forum Updated to NodeBB v4.3 + New Features

Qt5GLib-2.0 development package not found

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 818 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.
  • R Offline
    R Offline
    rtvideo
    wrote on last edited by
    #1

    I have all of these packages sudo installed onto my ubuntu machine but for some reason I still am getting errors for almost all of them saying the package cannot be found. Do I have to move them into the project folder or link them using the paths somehow?

    CONFIG += link_pkgconfig
    
    # QMAKE_CXXFLAGS += -DQT_GUI_LIB -DQT_CORE_LIB -D_REENTRANT
    
    TEMPLATE = app
    
    unix:!macx {
        PKGCONFIG += Qt5GLib-2.0
        PKGCONFIG += Qt5GStreamer-1.0
        PKGCONFIG += Qt5GStreamerUi-1.0
        PKGCONFIG += Qt5GStreamerUtils-1.0
        PKGCONFIG += gstreamer-1.0
        PKGCONFIG += gstreamer-app-1.0
        PKGCONFIG += glib-2.0
        INCLUDEPATH += /usr/share/qt4/mkspecs/linux-g++
        INCLUDEPATH += Qt5GStreamer-1.0
        INCLUDEPATH += /usr/Documents/qt-gstreamer-1.2.0/build/src/QGlib
        INCLUDEPATH += /usr/Documents/qt-gstreamer-1.2.0/src/QGst
        LIBS += -L./lib -L/usr/local/lib -lQt5Gui -lQt5Network -L/usr/lib/i386-linux-gnu -lQt5Core -lpthread -lgobject-2.0 -lglib-2.0 -lQt5Concurrent -lNBiometricClient -lNBiometrics -lNDevices -lNMedia -lNCore -lNLicensing -lsqlite3
    }
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you sure the casing is correct ?
      Did you install the development package of these libraries installed ?
      If your run pkg-config on the command line, can you get the information about these packages ?

      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
      • R Offline
        R Offline
        rtvideo
        wrote on last edited by
        #3

        When I run pkg-config and then the package name nothing will come up for them

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

          Then Qt won't do miracle for that. Do you have any .pc files for these libraries ?

          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
          • R Offline
            R Offline
            rtvideo
            wrote on last edited by
            #5

            Figured it out from your comment, I had the package itself but not the development one, installing that I believe fixed it

            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