Commit 1ddc2ced authored by Matthias Möller's avatar Matthias Möller
Browse files

- adding qt5 pluginsystem

- adding qt5 headers

refs #1359

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17080 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 03a5c3e0
......@@ -50,7 +50,9 @@
#include <QFileInfo>
#include <QDir>
#include <QTextStream>
#undef QT_NO_OPENGL
#include <QGLFormat>
#define QT_NO_OPENGL
namespace ACG
{
......
......@@ -58,7 +58,9 @@
#include "../Scenegraph/SceneGraph.hh"
#include "../Scenegraph/DrawModes.hh"
#include <QtOpenGL/QGLFormat>
#undef QT_NO_OPENGL
#include <QGLFormat>
#define QT_NO_OPENGL
#include <QBoxLayout>
#include <QtNetwork/QUdpSocket>
#include <QWheelEvent>
......
......@@ -55,7 +55,10 @@
//== INCLUDES =================================================================
#undef QT_NO_OPENGL
#include <QGLContext>
#define QT_NO_OPENGL
#include "../Config/ACGDefines.hh"
//== NAMESPACES ===============================================================
......
......@@ -65,7 +65,9 @@
#include <QFontMetrics>
#include <QImage>
#include <QPainter>
#undef QT_NO_OPENGL
#include <QGLWidget>
#define QT_NO_OPENGL
//== NAMESPACES ===============================================================
......
......@@ -55,7 +55,9 @@
#include "TextureNode.hh"
#include "DrawModes.hh"
#undef QT_NO_OPENGL
#include <QGLWidget>
#define QT_NO_OPENGL
//== NAMESPACES ===============================================================
......
......@@ -58,7 +58,9 @@
#include <ACG/Scenegraph/BaseNode.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#undef QT_NO_OPENGL
#include <QGLWidget>
#define QT_NO_OPENGL
//== FORWARDDECLARATIONS ======================================================
......
......@@ -58,7 +58,10 @@
#include <ACG/Scenegraph/BaseNode.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#undef QT_NO_OPENGL
#include <QGLWidget>
#define QT_NO_OPENGL
#include <QImage>
//== FORWARDDECLARATIONS ======================================================
......
......@@ -41,7 +41,7 @@
\*===========================================================================*/
#include "LightWidget.hh"
#include <QtGui>
#include <QMessageBox>
#include <iostream>
#include <OpenFlipper/common/GlobalOptions.hh>
......
......@@ -41,7 +41,13 @@
\*===========================================================================*/
#include <ui_lightWidget.hh>
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <ObjectTypes/Light/LightNode.hh>
#include <OpenFlipper/common/GlobalDefines.hh>
#include "Light.hh"
......
......@@ -48,9 +48,12 @@
#include <ACG/Geometry/Types/PlaneT.hh>
#include <QImage>
#include <QGLWidget>
#include <QMouseEvent>
#include<QApplication>
#include <QApplication>
#undef QT_NO_OPENGL
#include <QGLWidget>
#define QT_NO_OPENGL
//== NAMESPACES ===============================================================
......
......@@ -43,7 +43,12 @@
#pragma once
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
/** \file AboutInfoInterface.hh
......
......@@ -43,7 +43,13 @@
#ifndef BACKUPPLUGININTERFACE_HH
#define BACKUPPLUGININTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <OpenFlipper/common/Types.hh>
/** \file BackupInterface.hh
......
......@@ -43,7 +43,13 @@
#ifndef BASEINTERFACE_HH
#define BASEINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QMenuBar>
#include <OpenFlipper/common/Types.hh>
#include "WhatsThisGenerator.hh"
......
......@@ -44,7 +44,13 @@
#ifndef CONTEXTMENUINTERFACE_HH
#define CONTEXTMENUINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QMenuBar>
#include <OpenFlipper/common/Types.hh>
......
......@@ -44,7 +44,13 @@
#ifndef FILEINTERFACE_HH
#define FILEINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <OpenFlipper/common/Types.hh>
/** \file FileInterface.hh
......
......@@ -44,7 +44,13 @@
#ifndef INIINTERFACE_HH
#define INIINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QMenuBar>
#include <OpenFlipper/common/Types.hh>
......
......@@ -44,7 +44,13 @@
#ifndef KEYINTERFACE_HH
#define KEYINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
......
......@@ -43,7 +43,13 @@
#ifndef MENUBARINTERFACE_HH
#define MENUBARINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QMenuBar>
#include <OpenFlipper/common/Types.hh>
......
......@@ -44,7 +44,12 @@
#ifndef MOUSEINTERFACE_HH
#define MOUSEINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
/** \file MouseInterface.hh
......
......@@ -44,7 +44,12 @@
#ifndef OPTIONSINTERFACE_HH
#define OPTIONSINTERFACE_HH
#include <QtGui>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
/** \file OptionsInterface.hh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment