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

Can't import qtquickcontrols2 from Qt build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.14.0-beta1
    • Ubuntu 20.04.1

    Description

      I have my Qt 6 sources in ~/dev/qt-dev, and the top-level build directory is ~/dev/qt-dev-debug. When I open ~/dev/qt-dev/qtquickcontrols2/CMakeLists.txt and then try to import the build from ~/dev/qt-dev-debug/qtquickcontrols2, I get this error message:

      This worked with qmake.

      If I open qtquickcontrols2/CMakeLists.txt in Creator, the build directory will default to /home/mitch/dev/qt-dev/qtquickcontrols2/../qtquickcontrols2-qt_dev_debug_no_asan-Debug, which is in the sources. My intention is to do a shadow build in my existing top-level build directory.

      Attachments

        1. Screenshot 2020-12-07 at 16.00.39.png
          453 kB
          Alexandru Croitor
        2. Screenshot from 2020-10-29 11-34-32.png
          56 kB
          Mitch Curtis

        Activity

          People

            kkohne Kai Köhne
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: