Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator: What is PkgConfigTool used for?

Qt Creator: What is PkgConfigTool used for?

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.1k 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.
  • T Offline
    T Offline
    toralf
    wrote on last edited by
    #1

    Hi,

    I've sort of asked about this before, but apparently I used the wrong words or something, as I only got completely unhelpful answers about how to set up qmake files or whatever. So I thought I might try again:

    In the QtCreator sources, under plugins/genericprojectmanager I notice that a class PkgConfigTool is defined. Definition source code:
    https://qt.gitorious.org/qt-creator/qt-creator/source/edb48935475afa5753226593b5883a0d4c62d05c:src/plugins/genericprojectmanager/pkgconfigtool.cpp

    Does anyone know what this class is intended for? Is it actually used?

    I was rather hoping that it somehow implemented special support for projects that use plain, old make in combination with the pkg-config tool, but I don't see any sign of this in the GUI.

    I have a couple of projects like that, and I can get Qt Creator to work reasonably well with them via GeneralProjectManager, but it would be even better if I could tell the system about packages, and not just files and directories.

    And just to make it absolutely clear: I'm not talking about setting up .pro files or "Qt Projects" in Qt creator, or the pkg-config support of qmake. I mean, I guess I might use that but:

    I already have a build setup that works rather well, do I prefer not messing around with it.

    Quite frankly, I prefer managing Makefiles directly - I just feel that it gives me more control and makes the setup cleaner than using a "pre-make" step like qmake. Not that this does not serve a purpose, but in a sense, the problems it would solve are mostly solved already when I'm using pkg-config...

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      That class is internal to the general project manager, so it can only be used there. It does indeed seem to be unused though. I was actually not aware of that class till now, so I am pretty sure that there is nobody actively looking into it at this time.

      Patches to improve the situation are -- as always -- welcome:-)

      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