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

Qt Creator not able to compile CMake with ExternalProject_Add

    XMLWordPrintable

Details

    • macOS
    • 65e043961e (qt-creator/qt-creator/master) 65e043961e (qt-creator/tqtc-qt-creator/8.0)

    Description

      Qt Creator on MacOS is not able to compile a CMake project linking to an external project.

      CMake configuration succeeds, but then at compile time there are errors saying "Cmake was unable to find ..."

      You can try the annexed project helloWorld.zip. If I compile it in Qt Creator under Ubuntu it works fine.

      The only way to compile on Mac is via Terminal using the following commands:

      mkdir build_helloworld && cd build_helloworld
      cmake .. -DCMAKE_PREFIX_PATH=<path to Qt>
      cmake --build .

      Attachments

        1. helloWorld.zip
          757 kB
        2. InitConf-Linux.jpg
          InitConf-Linux.jpg
          137 kB
        3. InitConf-Mac.jpg
          InitConf-Mac.jpg
          93 kB
        4. ninja-environment.png
          ninja-environment.png
          46 kB

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-27495
          # Subject Branch Project Status CR V

          Activity

            People

              con Eike Ziller
              jozzolo José Del Romano
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes