forked from qt-creator/qt-creator
Designer: Compilation with Qt 5.
Test the new Qt Designer integration interfaces. Change-Id: I8364167d5be3e7c361b192318b0bba7fb70d0f2f Reviewed-on: http://codereview.qt.nokia.com/9 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
committed by
Kai Koehne
parent
0d3d38ecc1
commit
b0d093b0d7
@@ -35,7 +35,11 @@
|
||||
|
||||
#include <cplusplus/ModelManagerInterface.h>
|
||||
|
||||
#include "qt_private/qdesigner_integration_p.h"
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QtDesigner/QDesignerIntegration>
|
||||
#else
|
||||
# include "qt_private/qdesigner_integration_p.h"
|
||||
#endif
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QUrl)
|
||||
|
||||
@@ -44,7 +48,12 @@ namespace Internal {
|
||||
|
||||
class FormEditorW;
|
||||
|
||||
class QtCreatorIntegration : public qdesigner_internal::QDesignerIntegration {
|
||||
class QtCreatorIntegration :
|
||||
#if QT_VERSION >= 0x050000
|
||||
public QDesignerIntegration {
|
||||
#else
|
||||
public qdesigner_internal::QDesignerIntegration {
|
||||
#endif
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit QtCreatorIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent = 0);
|
||||
|
||||
Reference in New Issue
Block a user