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

Using MADDE and pkg-config with QtCreator does not work as expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.1.0
    • Qt Creator 1.3.81 (2.0.0-alpha), Qt Creator 1.3.83 (2.0.0-beta)
    • None
    • MADDE 0.6.14, Windows XP SP3
    • 0017103863bc79f7f12eb60bb9e64812f9ffa22a

    Description

      I have trouble using QtCreator 2.0.0-alpha (Windows) with MADDE and a project using pkg-config.

      When compiling the attached code with the MADDE commandline, everything works fine.
      The QtCreator gui with Maemo target does not seem to execute the gcc wrappers and fails compiling.
      Please see the attached screenshots.

      Also QtCreator's code completion does not understand the includes added by the PKGCONFIG entry because they are not absolute paths.

      A workaround for both errors is adding the absolute path prefix in MADDE's madlib/perl5/Madde/PkgConfig.pm

      I've already opened a related issue on maemo bugs: https://bugs.maemo.org/show_bug.cgi?id=9951

      When using a just-installed version of MADDE 0.6.14, you have to change the "pkg-config" in "sysroots\fremantle-arm-sysroot-2.2009-51-1-qt453\usr\share\qt4\mkspecs\features\link_pkgconfig.prf" to "mad pkg-config"

      Attachments

        1. madde_commandline.png
          madde_commandline.png
          18 kB
        2. madde_qtcreator.png
          madde_qtcreator.png
          18 kB
        3. testproject.zip
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            heimrich Karsten Heimrich
            gri Christoph Keller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes