/* SPDX-FileCopyrightText: 2019 Casper Meijn * SPDX-License-Identifier: GPL-3.0-or-later * */ #include "onvifdiscover.h" #include #include #include Q_DECL_EXPORT int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); qDebug() << "Starting ONVIF discovery for 5 seconds"; QTimer::singleShot(5000, &app, &QCoreApplication::quit); auto onvifDiscover = new OnvifDiscover(&app); onvifDiscover->start(); return QCoreApplication::exec(); }