Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to configure Qt creator (.pro) to support GTK+3 libraries?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 1.9k 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.
  • E Offline
    E Offline
    embdev99
    wrote on last edited by
    #1

    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?

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

      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 ?

      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
      • L Offline
        L Offline
        Liang Qi
        wrote on last edited by
        #3

        GTK+ and Qt Creator
        https://www.lucidarme.me/gtk-and-qt-creator/

        1 Reply Last reply
        1

        • Login

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