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

Can't configure a CMake project which requires dependent packages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.3.0-beta1
    • Qt Creator 4.3.0-beta1
    • None
    • macOS 10.11, CMake 3.7, Qt Creator master

    Description

      Have a simple CMakeLists.txt as attached:

      cmake_minimum_required(VERSION 3.0)
      cmake_policy(VERSION 3.0)
      project(bla)
      find_package(bla 1.0.0 REQUIRED)
      

      Try to open it with Qt Creator, in General messages you will see a failure that package bla isn't found, bla_DIR should be set.

      Go to Project build settings, and see "Configuration failed" mesage.
      The variable table does not appear, and thus bla_DIR can't be set, thus can't configure the project.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes