Skip to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

opengl has unexpected value "desktop" valid values ?

Featured Replies

qtbase/cmake/QtFeature.cmake
opengl has unexpected value "desktop" valid values are ON, OFF and UNSET

Screenshot attached.

Does anyone know what up with this error or how to fix it?
An that file qtbase/cmake/QtFeature.cmake doesn't seems to contain "dektop" keyword.

2026-04-25 19_26_26-Microsoft Store.png

  • Author

Fixed the above error:
I've edited C:\qt6\qt-everywhere-src-6.8.3\qtbase\cmake\QtFeature.cmake

function(qt_internal_generate_feature_line line feature)
string(TOUPPER "${QT_FEATURE_${feature}}" value)
if (value STREQUAL "ON")
set(line "#define QT_FEATURE_${feature} 1\n\n" PARENT_SCOPE)
elseif(value STREQUAL "OFF")
set(line "#define QT_FEATURE_${feature} -1\n\n" PARENT_SCOPE)
elseif(value STREQUAL "UNSET")
set(line "#define QT_FEATURE_${feature} 0\n\n" PARENT_SCOPE)
elseif(value STREQUAL "DESKTOP")
if (QT_FEATURE_desktop)
set(line "#define QT_FEATURE_${feature} 1\n\n" PARENT_SCOPE)
else()
set(line "#define QT_FEATURE_${feature} -1\n\n" PARENT_SCOPE)
endif()
else()
message(FATAL_ERROR "${feature} has unexpected value \"${QT_FEATURE_${feature}}\"! "
"Valid values are ON, OFF and UNSET.")
endif()
endfunction()

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.