// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include #include extern "C" Q_DECL_EXPORT int pluginTest() { int s = 0; for (int i = 1; i != 2000; ++i) s += i; fprintf(stderr, "in plugin test"); return s; }