forked from qt-creator/qt-creator
compile fixes on *nix
This commit is contained in:
@@ -52,8 +52,6 @@
|
|||||||
#include <QtCore/qvariant.h>
|
#include <QtCore/qvariant.h>
|
||||||
#include <QtScript/qscriptvalue.h>
|
#include <QtScript/qscriptvalue.h>
|
||||||
|
|
||||||
QT_BEGIN_HEADER
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
QT_MODULE(Declarative)
|
QT_MODULE(Declarative)
|
||||||
@@ -74,9 +72,6 @@ public:
|
|||||||
QGradient m_gradient;
|
QGradient m_gradient;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(CanvasGradient*)
|
|
||||||
|
|
||||||
|
|
||||||
class CanvasImage: public QObject
|
class CanvasImage: public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@@ -103,8 +98,6 @@ private:
|
|||||||
QString m_src;
|
QString m_src;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(CanvasImage*)
|
|
||||||
|
|
||||||
|
|
||||||
class ImageData {
|
class ImageData {
|
||||||
};
|
};
|
||||||
@@ -337,6 +330,7 @@ private:
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
QT_END_HEADER
|
Q_DECLARE_METATYPE(CanvasImage*)
|
||||||
|
Q_DECLARE_METATYPE(CanvasGradient*)
|
||||||
|
|
||||||
#endif // QDECLARATIVECONTEXT2D_P_H
|
#endif // QDECLARATIVECONTEXT2D_P_H
|
||||||
|
|||||||
@@ -20,6 +20,10 @@
|
|||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
#include "tracewindow.h"
|
#include "tracewindow.h"
|
||||||
|
|
||||||
|
#ifdef Q_OS_UNIX
|
||||||
|
#include <unistd.h> // sleep
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace Analyzer::Internal;
|
using namespace Analyzer::Internal;
|
||||||
|
|
||||||
class QmlProfilerEngine::QmlProfilerEnginePrivate
|
class QmlProfilerEngine::QmlProfilerEnginePrivate
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
#include <QtCore/qpointer.h>
|
#include <QtCore/qpointer.h>
|
||||||
#include <QtGui/qwidget.h>
|
#include <QtGui/qwidget.h>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QTabWidget;
|
class QTabWidget;
|
||||||
class QSlider;
|
class QSlider;
|
||||||
class QGroupBox;
|
class QGroupBox;
|
||||||
@@ -41,6 +42,7 @@ class QLabel;
|
|||||||
class QSpinBox;
|
class QSpinBox;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QDeclarativeView;
|
class QDeclarativeView;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class TracePlugin;
|
class TracePlugin;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user