Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator can not compile an application with glib-2.0
Forum Updated to NodeBB v4.3 + New Features

Qt Creator can not compile an application with glib-2.0

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 4.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 Offline
    S Offline
    StefanTh
    wrote on 14 Sept 2012, 08:45 last edited by
    #1

    Hi

    SDK: Qt Creator 2.4.1 running on Windows 7
    Target platform: "Qt 4.8.1 for Desktop" and "Harmattan"

    I have downloaded a Qt project from the web that I try to compile but it fails becosue
    the SDK says it does not have support for the library glib-2.0.

    @Package glib-2.0 not found@

    In one of the dowloaded projects .pro file it look like this

    @TARGET=gupnpav
    TEMPLATE=lib
    CONFIG += staticlib link_pkgconfig
    CONFIG -= qt

    PKGCONFIG += glib-2.0 gupnp-1.0 libxml-2.0@

    Is it so that the Qt Creator lacks support for the glib-2.0 library?

    How do I check that the SDK actually have support for this (the downloaded project might be erranous) ?
    How do I add support for this library to the SDK ?
    I have tried both "Maintain Qt SDK" and "Update Qt SDK" but there seems no supprot to add new packages.
    Do I use the MADDE terminal for this, using something like "apt-get" ?

    Regards
    /Stefan

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VanDerSam
      wrote on 14 Sept 2012, 11:16 last edited by
      #2

      You must install glib separately. It's a part of gtk+.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        StefanTh
        wrote on 14 Sept 2012, 11:41 last edited by
        #3

        Hi

        I have downloaded the zip file for Windows from http://www.gtk.org/download/win64.php.
        Where do i put the libglib-2.0-0.dll file in C:\QtSDK structure ?

        Can I just copy it to a specifc folder or do I have to configure Qt Creator ?

        Regards

        1 Reply Last reply
        0

        1/3

        14 Sept 2012, 08:45

        • Login

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