Skip to content
Snippets Groups Projects
Commit 8fac439e authored by hjk's avatar hjk
Browse files

compile fixes on *nix

parent 9352f4b6
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,6 @@
#include <QtCore/qvariant.h>
#include <QtScript/qscriptvalue.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
......@@ -74,9 +72,6 @@ public:
QGradient m_gradient;
};
Q_DECLARE_METATYPE(CanvasGradient*)
class CanvasImage: public QObject
{
Q_OBJECT
......@@ -103,8 +98,6 @@ private:
QString m_src;
};
Q_DECLARE_METATYPE(CanvasImage*)
class ImageData {
};
......@@ -337,6 +330,7 @@ private:
QT_END_NAMESPACE
QT_END_HEADER
Q_DECLARE_METATYPE(CanvasImage*)
Q_DECLARE_METATYPE(CanvasGradient*)
#endif // QDECLARATIVECONTEXT2D_P_H
......@@ -20,6 +20,10 @@
#include <QProcess>
#include "tracewindow.h"
#ifdef Q_OS_UNIX
#include <unistd.h> // sleep
#endif
using namespace Analyzer::Internal;
class QmlProfilerEngine::QmlProfilerEnginePrivate
......
......@@ -34,6 +34,7 @@
#include <QtCore/qpointer.h>
#include <QtGui/qwidget.h>
QT_BEGIN_NAMESPACE
class QTabWidget;
class QSlider;
class QGroupBox;
......@@ -41,6 +42,7 @@ class QLabel;
class QSpinBox;
class QPushButton;
class QDeclarativeView;
QT_END_NAMESPACE
class TracePlugin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment