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

Qt Creator not able to compile CMake with ExternalProject_Add

XMLWordPrintable

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

      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 .

        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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes