Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debian packaging: include Qt53DExtra headers removed on debian/ubuntu
- Loading branch information
Showing
90 changed files
with
4,035 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
external/qt3dextra-headers/Qt3DExtras/QAbstractCameraController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qabstractcameracontroller.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qabstractspritesheet.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qconegeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qconemesh.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qcuboidgeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qcuboidmesh.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qcylindergeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qcylindermesh.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qdiffusemapmaterial.h" |
1 change: 1 addition & 0 deletions
1
external/qt3dextra-headers/Qt3DExtras/QDiffuseSpecularMapMaterial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qdiffusespecularmapmaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qdiffusespecularmaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qextrudedtextgeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qextrudedtextmesh.h" |
1 change: 1 addition & 0 deletions
1
external/qt3dextra-headers/Qt3DExtras/QFirstPersonCameraController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qfirstpersoncameracontroller.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qforwardrenderer.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qgoochmaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qmetalroughmaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qmorphphongmaterial.h" |
1 change: 1 addition & 0 deletions
1
external/qt3dextra-headers/Qt3DExtras/QNormalDiffuseMapAlphaMaterial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qnormaldiffusemapalphamaterial.h" |
1 change: 1 addition & 0 deletions
1
external/qt3dextra-headers/Qt3DExtras/QNormalDiffuseMapMaterial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qnormaldiffusemapmaterial.h" |
1 change: 1 addition & 0 deletions
1
external/qt3dextra-headers/Qt3DExtras/QNormalDiffuseSpecularMapMaterial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qnormaldiffusespecularmapmaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qorbitcameracontroller.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qpervertexcolormaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qphongalphamaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qphongmaterial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qplanegeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qplanemesh.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qskyboxentity.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qspheregeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qspheremesh.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qspritegrid.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qspritesheet.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qspritesheetitem.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qtext2dentity.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qtexturematerial.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qtorusgeometry.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qtorusmesh.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#ifndef QT_QT3DEXTRAS_MODULE_H | ||
#define QT_QT3DEXTRAS_MODULE_H | ||
#include <Qt3DExtras/Qt3DExtrasDepends> | ||
#include "qabstractcameracontroller.h" | ||
#include "qabstractspritesheet.h" | ||
#include "qconegeometry.h" | ||
#include "qconemesh.h" | ||
#include "qcuboidgeometry.h" | ||
#include "qcuboidmesh.h" | ||
#include "qcylindergeometry.h" | ||
#include "qcylindermesh.h" | ||
#include "qdiffusemapmaterial.h" | ||
#include "qdiffusespecularmapmaterial.h" | ||
#include "qdiffusespecularmaterial.h" | ||
#include "qextrudedtextgeometry.h" | ||
#include "qextrudedtextmesh.h" | ||
#include "qfirstpersoncameracontroller.h" | ||
#include "qforwardrenderer.h" | ||
#include "qgoochmaterial.h" | ||
#include "qmetalroughmaterial.h" | ||
#include "qmorphphongmaterial.h" | ||
#include "qnormaldiffusemapalphamaterial.h" | ||
#include "qnormaldiffusemapmaterial.h" | ||
#include "qnormaldiffusespecularmapmaterial.h" | ||
#include "qorbitcameracontroller.h" | ||
#include "qpervertexcolormaterial.h" | ||
#include "qphongalphamaterial.h" | ||
#include "qphongmaterial.h" | ||
#include "qplanegeometry.h" | ||
#include "qplanemesh.h" | ||
#include "qskyboxentity.h" | ||
#include "qspheregeometry.h" | ||
#include "qspheremesh.h" | ||
#include "qspritegrid.h" | ||
#include "qspritesheet.h" | ||
#include "qspritesheetitem.h" | ||
#include "qt3dwindow.h" | ||
#include "qtext2dentity.h" | ||
#include "qtexturedmetalroughmaterial.h" | ||
#include "qtexturematerial.h" | ||
#include "qtorusgeometry.h" | ||
#include "qtorusmesh.h" | ||
#include "qt3dextrasversion.h" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* This file was generated by qmake with the info from <root>/src/extras/extras.pro. */ | ||
#ifdef __cplusplus /* create empty PCH in C mode */ | ||
#include <QtCore/QtCore> | ||
#include <QtGui/QtGui> | ||
#include <Qt3DCore/Qt3DCore> | ||
#include <Qt3DRender/Qt3DRender> | ||
#include <Qt3DInput/Qt3DInput> | ||
#include <Qt3DLogic/Qt3DLogic> | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qt3dextrasversion.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "qt3dwindow.h" |
127 changes: 127 additions & 0 deletions
127
external/qt3dextra-headers/Qt3DExtras/qabstractcameracontroller.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
/**************************************************************************** | ||
** | ||
** Copyright (C) 2016 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:LGPL3$ | ||
** 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 The Qt Company. For licensing terms | ||
** and conditions see http://www.qt.io/terms-conditions. For further | ||
** information use the contact form at http://www.qt.io/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 3 as published by the Free Software | ||
** Foundation and appearing in the file LICENSE.LGPLv3 included in the | ||
** packaging of this file. Please review the following information to | ||
** ensure the GNU Lesser General Public License version 3 requirements | ||
** will be met: https://www.gnu.org/licenses/lgpl.html. | ||
** | ||
** GNU General Public License Usage | ||
** Alternatively, this file may be used under the terms of the GNU | ||
** General Public License version 2.0 or later 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 2.0 requirements will be | ||
** met: http://www.gnu.org/licenses/gpl-2.0.html. | ||
** | ||
** $QT_END_LICENSE$ | ||
** | ||
****************************************************************************/ | ||
|
||
#ifndef QT3DEXTRAS_QABSTRACTCAMERACONTROLLER_H | ||
#define QT3DEXTRAS_QABSTRACTCAMERACONTROLLER_H | ||
|
||
#include <Qt3DCore/QEntity> | ||
#include <Qt3DExtras/qt3dextras_global.h> | ||
|
||
QT_BEGIN_NAMESPACE | ||
|
||
namespace Qt3DInput { | ||
class QKeyboardDevice; | ||
class QMouseDevice; | ||
} | ||
|
||
namespace Qt3DRender { | ||
class QCamera; | ||
} | ||
|
||
namespace Qt3DExtras { | ||
|
||
class QAbstractCameraControllerPrivate; | ||
|
||
class QT3DEXTRASSHARED_EXPORT QAbstractCameraController : public Qt3DCore::QEntity | ||
{ | ||
Q_OBJECT | ||
Q_PROPERTY(Qt3DRender::QCamera *camera READ camera WRITE setCamera NOTIFY cameraChanged) | ||
Q_PROPERTY(float linearSpeed READ linearSpeed WRITE setLinearSpeed NOTIFY linearSpeedChanged) | ||
Q_PROPERTY(float lookSpeed READ lookSpeed WRITE setLookSpeed NOTIFY lookSpeedChanged) | ||
Q_PROPERTY(float acceleration READ acceleration WRITE setAcceleration NOTIFY accelerationChanged) | ||
Q_PROPERTY(float deceleration READ deceleration WRITE setDeceleration NOTIFY decelerationChanged) | ||
|
||
public: | ||
~QAbstractCameraController(); | ||
|
||
Qt3DRender::QCamera *camera() const; | ||
float linearSpeed() const; | ||
float lookSpeed() const; | ||
|
||
float acceleration() const; | ||
float deceleration() const; | ||
|
||
void setCamera(Qt3DRender::QCamera *camera); | ||
void setLinearSpeed(float linearSpeed); | ||
void setLookSpeed(float lookSpeed); | ||
|
||
void setAcceleration(float acceleration); | ||
void setDeceleration(float deceleration); | ||
|
||
Q_SIGNALS: | ||
void cameraChanged(); | ||
void linearSpeedChanged(); | ||
void lookSpeedChanged(); | ||
|
||
void accelerationChanged(float acceleration); | ||
void decelerationChanged(float deceleration); | ||
|
||
protected: | ||
explicit QAbstractCameraController(Qt3DCore::QNode *parent = nullptr); | ||
QAbstractCameraController(QAbstractCameraControllerPrivate &dd, Qt3DCore::QNode *parent = nullptr); | ||
|
||
Qt3DInput::QKeyboardDevice *keyboardDevice() const; | ||
Qt3DInput::QMouseDevice *mouseDevice() const; | ||
|
||
public: | ||
struct InputState | ||
{ | ||
float rxAxisValue; | ||
float ryAxisValue; | ||
float txAxisValue; | ||
float tyAxisValue; | ||
float tzAxisValue; | ||
|
||
bool leftMouseButtonActive; | ||
bool middleMouseButtonActive; | ||
bool rightMouseButtonActive; | ||
|
||
bool altKeyActive; | ||
bool shiftKeyActive; | ||
}; | ||
|
||
private: | ||
virtual void moveCamera(const InputState &state, float dt) = 0; | ||
|
||
private: | ||
Q_DECLARE_PRIVATE(QAbstractCameraController) | ||
}; | ||
|
||
} // Qt3DExtras | ||
|
||
QT_END_NAMESPACE | ||
|
||
#endif // QT3DEXTRAS_QABSTRACTCAMERACONTROLLER_H |
Oops, something went wrong.
1f91858
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jef-n , oh great, I was waiting for that to update my system to ubuntu cosmic; thanks.
1f91858
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jef-n , the Qt53DExtrasConfig.cmake seems to be malformed (this line:
QGIS/external/qt3dextra-headers/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake
Line 6 in e005d6e
1f91858
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you set QT5_3DEXTRA_LIBRARY/QT5_3DEXTRA_INCLUDE_DIR (see debian/rules)?
1f91858
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jef-n , that did it, thanks.
Is there a change that's required in our cmakefile so that cmake -DWITH_3D=On works without the need to manually set those variables?
1f91858
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nirvn maybe, but this is just a workaround for debian where headers and cmake files that are usually available were removed.