How to configure Qt creator (.pro) to support GTK+3 libraries?



  • I found two lines to be added into .pro file for setting up Qt creator to support GTK+ libraries:

    CONFIG += link_pkgconfig
    PKGCONFIG += gtk+-3.0
    

    Are there any other lines i need to add to be able to build and run GTK applications in Qt creator IDE itself?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    This has nothing to do with Qt Creator but with qmake which is the project management tool you are currently using through Qt Creator.

    Did you had any error while building your application ?


Log in to reply
 

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