qt 6.5.1 original

This commit is contained in:
kleuter
2023-10-29 23:33:08 +01:00
parent 71d22ab6b0
commit 85d238dfda
21202 changed files with 5499099 additions and 0 deletions

View File

@ -0,0 +1,15 @@
// 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>
#include "test_file.h"
#include <qguiapplication.h>
int main( int argc, char **argv )
{
QGuiApplication a( argc, argv );
Simple s;
SomeObject sc;
return a.exec();
}

View File

@ -0,0 +1,9 @@
TEMPLATE = app
HEADERS = test_file.h
SOURCES = test_file.cpp \
main.cpp
TARGET = "simple app"
DESTDIR = "dest dir"
INCLUDEPATH += ../simple_dll
LIBS += -L"../simple_dll/dest dir" -l"simple dll"

View File

@ -0,0 +1,9 @@
// 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 "test_file.h"
SomeObject::SomeObject() : QObject()
{
}

View File

@ -0,0 +1,12 @@
// 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 <qobject.h>
class SomeObject : public QObject
{
Q_OBJECT
public:
SomeObject();
signals:
void someSignal();
};

View 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";
}

View File

@ -0,0 +1,26 @@
// 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>
#ifdef SIMPLEDLL_MAKEDLL
# define SIMPLEDLL_EXPORT Q_DECL_EXPORT
#else
# define SIMPLEDLL_EXPORT Q_DECL_IMPORT
#endif
class SIMPLEDLL_EXPORT Simple
{
public:
Simple();
~Simple();
QString test();
};
#endif

View File

@ -0,0 +1,13 @@
TEMPLATE = lib
CONFIG += dll
DEFINES += SIMPLEDLL_MAKEDLL
HEADERS = simple.h
SOURCES = simple.cpp
INCLUDEPATH += . tmp
MOC_DIR = tmp
OBJECTS_DIR = tmp
TARGET = "simple dll"
DESTDIR = "dest dir"

View File

@ -0,0 +1,6 @@
TEMPLATE = subdirs
SUBDIRS = simple_dll \
simple_app
CONFIG += ordered