diff options
Diffstat (limited to 'tests/auto/tools/macdeployqt/source_plugin_tls')
-rw-r--r-- | tests/auto/tools/macdeployqt/source_plugin_tls/main.cpp | 10 | ||||
-rw-r--r-- | tests/auto/tools/macdeployqt/source_plugin_tls/plugin_tls.pro | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/tools/macdeployqt/source_plugin_tls/main.cpp b/tests/auto/tools/macdeployqt/source_plugin_tls/main.cpp new file mode 100644 index 0000000000..61b5edd614 --- /dev/null +++ b/tests/auto/tools/macdeployqt/source_plugin_tls/main.cpp @@ -0,0 +1,10 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +#include <QtNetwork> + +int main(int argc, char ** argv) +{ + QCoreApplication app(argc, argv); + return QSslSocket::supportsSsl() ? 0 : 1; +} diff --git a/tests/auto/tools/macdeployqt/source_plugin_tls/plugin_tls.pro b/tests/auto/tools/macdeployqt/source_plugin_tls/plugin_tls.pro new file mode 100644 index 0000000000..23954f5941 --- /dev/null +++ b/tests/auto/tools/macdeployqt/source_plugin_tls/plugin_tls.pro @@ -0,0 +1,2 @@ +SOURCES = main.cpp +QT += network |