Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
-
-
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
For Gerrit Dashboard: QTBUG-117109 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
504582,4 | Make examples/bindableproperties a proper project | dev | qt/qtbase | Status: MERGED | +2 | 0 |
506442,2 | Make examples/bindableproperties a proper project | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
506589,2 | Make examples/bindableproperties a proper project | 6.6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
506590,2 | Make examples/bindableproperties a proper project | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |