Dear all:
I keep having an issue with adding QCustomPlot to the project complied with CMake+vs2015
When I build, I got this issue:
error C2440: “初始化”: 无法从“const QMetaObject *const [2]”转换为“const QMetaObject::SuperData *”

I included both Widgets and PrintSupport in the CMakeLists and it looks that they are properly loaded.

SET(CMAKE_AUTOMOC ON)
SET(QT_LIB
Qt5::Core
Qt5::Widgets
Qt5::Gui
Qt5::OpenGL
Qt5::Network
Qt5::PrintSupport
Qt5::Gui
)
TARGET_LINK_LIBRARIES(${PRODUCT_NAME} ${QT_LIB})

Do you have any idea on how to solve it?