Qt 設置窗口初始位置居中時出錯: member access into incomplete type

//將窗口移動到屏幕中間 w.move ((QApplication::desktop()->width() - w.width())/2,(QApplication::desktop()->height() - w.height())/2);web 錯誤描述: member access into incomplete type svg 解決方案: 加入頭文件 QDesktopWidget3d
相關文章
相關標籤/搜索