Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-976

QtCreator does not recognize includes created with pkg-config

    XMLWordPrintable

Details

    Description

      If I use pkg-config in the project file for qmake ( PKGCONFIG +=), it will add include directories to the Makefile and such. However, QtCreator does not recognize these and marks included headers as missing, auto-completion does not work, etc.

      Apparently, the functionality is already there, however not for qt4 projects:

      http://www.mail-archive.com/qt-creator@trolltech.com/msg01275.html

      It should be included there as well, as the usage of pkg-config is a well documented part of qmake usage. Manually setting INCLUDEPATH renders the pkg-config concept useless and leads to heartache in distributed development environments.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dt Daniel Teske
            ypnos Johannes Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes