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

QBindable example fails to configure

    XMLWordPrintable

Details

    • Windows
    • f2ec221bd (dev), f5056133a (6.6), 30971412d (6.5), 0523b0605 (6.6.0)

    Description

      Opening Bindable Properties Example fails to configure. I used Qt 6.5 MinGW on Windows 11 but this may happen on different platforms and versions as well.

       

      The error message is this :

      C:\Qt\Examples\Qt-6.5.0\corelib\bindableproperties\CMakeLists.txt:1: error: Unknown CMake command "qt_internal_add_example". 

      Apparently, qt_internal_add_example() in CMakeLists.txt is unknown.

      The workaround is to open the projects "bindablesubscription" and "subscription" under the "bindableproperties" folder. Each of them has CMakeLists.txt and dragging and dropping them to the Qt Creator made configuration run successfully and then the applications ran without issues.

      Attachments

        1. image-2023-09-17-00-18-43-367.png
          218 kB
          Mikio Hirai
        2. image-2023-09-17-00-20-12-532.png
          39 kB
          Mikio Hirai
        3. image-2023-09-17-00-22-11-205.png
          58 kB
          Mikio Hirai
        4. image-2023-09-17-00-22-27-183.png
          34 kB
          Mikio Hirai
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes