Browse Source

delete reference to Qt5Declarative

cl-refactor
yann300 10 years ago
parent
commit
1edbaae205
  1. 4
      mix/CMakeLists.txt
  2. 2
      mix/CodeEditorExtensionManager.cpp

4
mix/CMakeLists.txt

@ -11,8 +11,7 @@ elseif ("${TARGET_PLATFORM}" STREQUAL "w64")
set(SRC_LIST ${SRC_LIST} ../windows/qt_plugin_import.cpp)
include_directories(/usr/x86_64-w64-mingw32/include /usr/x86_64-w64-mingw32/include/QtCore /usr/x86_64-w64-mingw32/include/QtGui /usr/x86_64-w64-mingw32/include/QtQuick /usr/x86_64-w64-mingw32/include/QtQml /usr/x86_64-w64-mingw32/include/QtNetwork /usr/x86_64-w64-mingw32/include/QtWidgets /usr/x86_64-w64-mingw32/include/QtWebKit /usr/x86_64-w64-mingw32/include/QtWebKitWidgets)
elseif (UNIX)
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ";$ENV{QTDIR}/lib/cmake")
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ";/opt/Qt5.3.2/5.3/gcc_64/lib/cmake")
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ";$ENV{QTDIR}/lib/cmake;../cmake/")
endif ()
find_package(Qt5Core REQUIRED)
@ -23,7 +22,6 @@ find_package(Qt5Network REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5WebKit REQUIRED)
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5Declarative REQUIRED)
#qt5_wrap_ui(ui_Main.h Main.ui)

2
mix/CodeEditorExtensionManager.cpp

@ -22,9 +22,7 @@
#include <QQuickItem>
#include <QGraphicsObject>
#include <QtDeclarative/QDeclarativeEngine>
#include <QQmlEngine>
#include <QtDeclarative/QDeclarativeView>
#include <QQmlComponent>
#include <QQuickTextDocument>
#include <libevm/VM.h>

Loading…
Cancel
Save