2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <qglobal.h>
|
|
|
|
|
|
|
|
|
|
extern "C" Q_DECL_EXPORT int pluginTest()
|
|
|
|
|
{
|
|
|
|
|
int s = 0;
|
|
|
|
|
for (int i = 1; i != 2000; ++i)
|
2010-01-29 21:33:57 +01:00
|
|
|
s += i;
|
2008-12-02 12:01:29 +01:00
|
|
|
fprintf(stderr, "in plugin test");
|
|
|
|
|
return s;
|
|
|
|
|
}
|