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

QBindable example fails to configure

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes