MobileNotification allows Qt / QML mobile applications to post notifications and set app icon badges.
You can see it in action in the MobileNotification demo.
Supports Qt 6.8+ with CMake.
Supports iOS 16+. Tested up to iOS 17.7 devices.
Supports Android 9+ (API 28). Tested up to Android 16 (API 36) devices.
Warning
Still a work in progress at the moment...
- Android notifications
- Android application icon badge number (best effort)
- iOS notifications
- iOS application icon badge number
To get started, simply checkout the MobileNotification repository as a submodule, or copy the
MobileNotification directory into your project, then include the CMakeLists.txt CMake project file:
add_subdirectory(MobileNotification/)
target_link_libraries(${PROJECT_NAME} PRIVATE MobileNotification MobileNotification_plugin)You might need some hacks so the QML Language Server recognize the MobileNotification module:
set(QML_IMPORT_PATH "${CMAKE_BINARY_DIR}/MobileNotification/" CACHE STRING "QML Modules import paths" FORCE)
set(QT_QML_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})TODO
TODO
TODO
TODO
This project is licensed under the MIT license.
Copyright (c) 2026 Emeric Grange (emeric.grange@gmail.com)