terminate Qcad

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
neri alamanni
Newbie Member
Posts: 8
Joined: Thu Nov 28, 2024 5:47 pm

terminate Qcad

Post by neri alamanni » Wed Dec 04, 2024 6:05 pm

Hi
i am using Qcad 3.31.2 on Windows 11
How do i close programmatically the Qcad session?
thank you
regards
neri

User avatar
andrew
Site Admin
Posts: 8779
Joined: Fri Mar 30, 2007 6:07 am

Re: terminate Qcad

Post by andrew » Wed Dec 04, 2024 7:06 pm

You can quit QCAD by quitting the application window:

Code: Select all

var appWin = EAction.getMainWindow();
appWin.quit();

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”