Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-279

Using ENABLE_VERSION_SUFFIX on shiboken does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 1.2.2
    • Shiboken
    • None
    • openSUSE Linux 13.2 x86_64

    Description

      If using ENABLE_VERSION_SUFFIX on cmake, the output is not as expected.
      The produced .pc file contains an invalid path to the include directory, because the shiboken_SUFFIX variable is not set at the configure of the pc file.
      Also there is a typo, even if you fix that and the variable is set, the output would be:
      -I${includedir}/-1.2 but the correct value would be:
      -I${includedir}-1.2 (includedir = .../include/shiboken).

      Also the cmake configs (installed later in prefix/libXY/cmake/Shiboken-1.2.2/) are not correct, they contain:
      SET(SHIBOKEN_INCLUDE_DIR "/usr/include/shiboken")
      but should contain:
      SET(SHIBOKEN_INCLUDE_DIR "/usr/include/shiboken-1.2")

      I have created a patch file which fixes this problems, but I am not sure if I do not have forget something.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              susnux Ferdinand Thiessen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes