Correct Qt version checks

This commit is contained in:
Bill Somerville
2020-11-03 23:44:07 +00:00
parent 50cce43e92
commit f4db2904a3
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ public:
connect (server_, &MessageServer::client_opened, this, &Server::add_client);
connect (server_, &MessageServer::client_closed, this, &Server::remove_client);
#if QT_VERSION >= 0x051400
#if QT_VERSION >= QT_VERSION_CHECK (5, 14, 0)
server_->start (port, multicast_group, QSet<QString> {network_interface_names.begin (), network_interface_names.end ()});
#else
server_->start (port, multicast_group, network_interface_names.toSet ());