mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 16:25:27 +08:00
qt 6.5.1 original
This commit is contained in:
18
tests/auto/tools/qmake/testdata/simple_dll/simple.cpp
vendored
Normal file
18
tests/auto/tools/qmake/testdata/simple_dll/simple.cpp
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
// 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 "simple.h"
|
||||
|
||||
Simple::Simple()
|
||||
{
|
||||
}
|
||||
|
||||
Simple::~Simple()
|
||||
{
|
||||
}
|
||||
|
||||
QString Simple::test()
|
||||
{
|
||||
return "This is a test";
|
||||
}
|
21
tests/auto/tools/qmake/testdata/simple_dll/simple.h
vendored
Normal file
21
tests/auto/tools/qmake/testdata/simple_dll/simple.h
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include <qstring.h>
|
||||
|
||||
//class SIMPLEDLL_EXPORT Simple
|
||||
class Simple
|
||||
{
|
||||
public:
|
||||
Simple();
|
||||
~Simple();
|
||||
|
||||
QString test();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
14
tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro
vendored
Normal file
14
tests/auto/tools/qmake/testdata/simple_dll/simple_dll.pro
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
TEMPLATE = lib
|
||||
CONFIG += dll
|
||||
|
||||
win32:DEFINES += SIMPLEDLL_MAKEDLL
|
||||
|
||||
HEADERS = simple.h
|
||||
SOURCES = simple.cpp
|
||||
|
||||
VERSION = 1.0.0
|
||||
INCLUDEPATH += . tmp
|
||||
MOC_DIR = tmp
|
||||
OBJECTS_DIR = tmp
|
||||
TARGET = "simple dll"
|
||||
DESTDIR = "dest dir"
|
Reference in New Issue
Block a user