Qt Creator can not compile an application with glib-2.0



  • 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



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



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.