summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire.ecortex@kdab.com>2014-11-10 07:14:29 +0100
committerPaul Lemire <paul.lemire@kdab.com>2014-11-10 17:34:27 +0100
commitd85f4d532ce8bdbe0d2171651a6fdaa81d2359b0 (patch)
tree68e5408bcf6759d9529f4c245450659b648f1d1d
parentfed83a1df2a19ce0842f287bd42e45e7a3e0c107 (diff)
downloadqt3d-d85f4d532ce8bdbe0d2171651a6fdaa81d2359b0.tar.gz
Added QT3DCORE_PRIVATE_EXPORT macro
Change-Id: Ibcb3ce577dd7ee7d73a64ff6e27148e47838c0a9 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r--src/core/core.pri3
-rw-r--r--src/core/qt3dcore_global_p.h49
2 files changed, 51 insertions, 1 deletions
diff --git a/src/core/core.pri b/src/core/core.pri
index 36d4c8b96..960c2aeee 100644
--- a/src/core/core.pri
+++ b/src/core/core.pri
@@ -36,7 +36,8 @@ HEADERS += \
$$PWD/qbackendscenepropertychange_p.h \
$$PWD/qobservableinterface_p.h \
$$PWD/qobserverinterface_p.h \
- $$PWD/qchangearbiter_p.h
+ $$PWD/qchangearbiter_p.h \
+ $$PWD/qt3dcore_global_p.h
SOURCES += \
$$PWD/window.cpp \
diff --git a/src/core/qt3dcore_global_p.h b/src/core/qt3dcore_global_p.h
new file mode 100644
index 000000000..17e1e396d
--- /dev/null
+++ b/src/core/qt3dcore_global_p.h
@@ -0,0 +1,49 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt3D module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QT3DCORE_GLOBAL_P_H
+#define QT3DCORE_GLOBAL_P_H
+
+#include <Qt3DCore/qt3dcore_global.h>
+
+#define QT3DCORE_PRIVATE_EXPORT QT3DCORESHARED_EXPORT
+
+#endif // QT3DCORE_GLOBAL_P_H