I already had a similar case with Qt and QNetworkAccessManager. To manage the subdomains dynamically, I used a QNetworkRequest with a URL configured on the fly, and it works well without any noticeable impact on performance. Adding a cache layer (e.g. QNetworkDiskCache) can also improve efficiency if the data does not change too often.
-
-
-
-
-
-
-
QT and mBaaS
Locked Mobile and Embedded