Qt: 加入打印支持

寫記事本打印功能所遇問題,記錄以便於查閱。 在vs系統中開發Qt,加入打印支持,不似在QtCreator之pro文件中中加QT +=printsupport解決。 而要在vs(以vs2015爲例)中,則須在Qt vs Tools->Qt Project Settings->Qt Modules裏,勾選Print Support即可用 #include <qprinter.h> #include <
相關文章
相關標籤/搜索