Deploying QT Bluetooth app on Windows 8.1
-
Hello,
I have developed a C++ QT application that includes QBluetooth Low Energy classes. The app acts as a BLE central and connects to some services on a remote BLE peripheral where it retrieves some values.
My development platform is Windows 10. I am using Qt 5.15.2 MSVC 2019 CMake as kit. On this system the deployed app runs fine. However when I try to run it on a Windows 8.1 system, I get an error:
This Windows version (6.3.9600) does not support the required Bluetooth API. Consider updating to a more recent Windows (10.0.10586 or above).In the QT documentation about Bluetooth I found this piece of information:
"Qt 5.14 adds a native Win32 port supporting Classic Bluetooth on Windows 7 or newer, and Bluetooth LE on Windows 8 or newer. It must be enabled at build time by configuration option -native-win32-bluetooth.[...]"This is something I have not done yet.
Could someone tell me how to configure that? I have checked the Qt Configure Options page in the Qt Documentation, but didn't get an understanding.In general, Am I on the right track? Or is something else causing the platform dependent error?
I'm brand new to Qt development, so apologies if it's an obvious mistake.