Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36796

Support for cross compilation in CMake configuration files.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • None
    • Build System: CMake
    • None

    Description

      When setting up chroots for cross compilation the normal distribution packages are used. As a result the paths in the cmake configuration files in e.g. /home/hacker/funny-arm-chroot/usr/lib/arm-linux-genueabif/cmake/Qt5Core/Qt5CoreConfig.cmake state absolute paths. Like /usr/lib/arm-linux-genueabif
      /libQt5Core.so.5.0.2 which will not work for cross compilation.

      It would be nice if one could provide a prefix that may be empty, too. pkg-config for example evalutes an environment variable and manipulates the prefix path as a result.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-36796
          # Subject Branch Project Status CR V

          Activity

            People

              krf Kevin Funk
              andreas-pokorny Andreas Pokorny
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes