blob: 850bbbe51ab82d96471c187f7d53ac774a3009b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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 <stdio.h>
#include <qglobal.h>
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;
}
|