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

Many examples fail to build when "Build via Junction Points" is enabled in Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.6, 6.7.2, 6.8.0 Beta4
    • Examples and Demos
    • None
    • Windows 10 22H2, Qt Creator 14.01
    • fd254513d (dev), 6fdf33c52 (6.8), ced47a590 (dev), 3d68f8eaf (6.8)

    Description

      Two that I found are:

      These examples are searchable via Qt Creator's "Welcome" > "Examples" page (https://doc.qt.io/qtcreator/creator-build-example-application.html ). However, clicking on those examples give us configure-time errors like:

      error: add_subdirectory given source "../../shared" which is not an existing
      directory.
      

       

      Workaround
      Load the example's *.pro file instead of its CMakeLists.txt file

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: