Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Disable to print from Qt
I want to disable printing option from Qt app.
How can I make it?
Umm, remove the button that does it?
Sorry, you need to post (a lot) more details.
I mean I want to disable print when I get print event from windows. i.e (from Ctrl+p or when we right click our mouse and give print)
Do you have access to the source code of this app, where u want to disable printing ?
Why not just remove the actual print function ? or disable shortcut key and menu item.
Guess you didn't understood my question.
I have my Qt app running. Whenever a user presses Ctrl+P or gives print option by right click of mouse, I want to disable that print through Qt
Well, if its your own app,
In that case simply disable the action that enabled the user to press ctrl+P ?