我在这个演示中没有做任何改动,它首先工作正常。但午饭后,我再次运行它,调试器崩溃,我收到错误(下面),调试器在qscopedpointer.h中到达了这一行:
内联T * data()const
{ 返回d; }
Qt5Guid.dll!QScopedPointer> :: data()第135行C ++ Qt5Guid.dll!qGetPtrHelper>>(const QScopedPointer>& p)第983行C ++
Qt5Guid.dll!QScreen :: d_func()第59行C ++
Qt5Guid.dll!QScreen :: geometry()第302行C ++
qwindowsd.dll!QWindowsWindow :: isFullScreen_sys()第1630行C ++
qwindowsd.dll!QWindowsWindow :: handleResized(int wParam)第1394行C ++
qwindowsd.dll!QWindowsContext :: windowsProc(HWND__ * hwnd,unsigned int message,
QtWindows :: WindowsEventType等,unsigned __int64 wParam,__ int64 lParam,__ int64 * result)第1011行C ++
qwindowsd.dll!qWindowsWndProc(HWND__ * hwnd,unsigned int message,unsigned __int64 wParam,__ int64 lParam)第1271行C ++
qwindowsd.dll!qWindowsWndProc(HWND__ * hwnd,unsigned int message,unsigned __int64 wParam,__ int64 lParam)第1280行C ++
qwindowsd.dll!WindowCreationData :: initialize(const QWindow * w,HWND__ * hwnd,bool frameChange,double opacityLevel)第707行C ++
qwindowsd.dll!QWindowsWindow :: setWindowFlags_sys(QFlags wt, unsigned int flags)第1571行C ++
qwindowsd.dll!QWindowsWindow :: setParent_sys(const QPlatformWindow * parent)Line 1294 C ++
qwindowsd.dll!QWindowsWindow :: setParent(const QPlatformWindow * newParent)Line 1260 C ++
Qt5Guid.dll!QWindow :: setParent(QWindow * parent)第614行C ++
Qt5Widgetsd.dll!q_createNativeChildrenAndSetParent(const QWidget * parentWidget)第1377行C ++
Qt5Widgetsd.dll!q_createNativeChildrenAndSetParent(const QWidget * parentWidget)第1382行C ++
Qt5Widgetsd.dll!QWidgetPrivate :: create_sys(unsigned __int64 window,bool initializeWindow,bool destroyOldWindow)Line 1481 C ++
Qt5Widgetsd.dll!QWidget :: create(unsigned __int64 window,bool initializeWindow,bool destroyOldWindow)Line 1321 C ++
Qt5Widgetsd.dll!QWidget :: setVisible(bool visible)Line 8060 C ++
Qt5Widgetsd.dll!QWidget :: show()第7671行C ++
Polyhedron_3.exe!main(int argc,char * * argv)第51行C ++
Polyhedron_3.exe!__ tmainCRTStartup()第626行C
Polyhedron_3.exe!mainCRTStartup()第466 C行
===============================
我不知道问题是什么。我很感激,如果有人能给我一些建议来解决这个问题。 感谢。