你好,我在编译vs2015+qt12
在qmapcontroll.cpp里 m_pMapEditorWnd = new UGMapEditorWnd(); -------这个位置就中断了,
void QMapControl::Init()
{
this->setMouseTracking(true);
// 设置显示引擎类型
UGGraphicsManager::SetCurGraphicsType(UGGraphics::GT_QT);
// 初始化MapEditWnd
m_pMapEditorWnd = new UGMapEditorWnd(); -------这个位置就中断了,
m_pMapEditorWnd->Initialize();
m_pMapEditorWnd->SetUserAction(UGDrawParamaters::uaPointModeSelect);
//m_pMapEditorWnd->m_mapWnd.SetAfterMapDrawFunc(MapDrawnCallBack_QMap, (UGlong)this);
m_pMapEditorWnd->SetTrackingFunc(TrackingCallBack, (UGlong)this);
//m_pMapEditorWnd->SetTrackedFunc(TrackedCallBack, (UGlong)this);
}
换qt版本或者vs版本都是这样