bluetiger9 / SmtpClient-for-Qt

An SMTP Client writen in C++ for Qt. Allows applications to send emails (MIME with text, html, attachments, inline files, etc.) via SMTP. Supports SSL and SMTP authentication.
https://github.com/bluetiger9/SmtpClient-for-Qt/wiki
GNU Lesser General Public License v2.1
456 stars 227 forks source link

compile of 2.0 fails #143

Closed dietmarczekay closed 1 year ago

dietmarczekay commented 1 year ago

qmake says it can't find "_QUITTING_State". Where is this state defined?

GLassnig commented 1 year ago

Hi, I had the same problem and added I added QUITTINGState = 56, below READYEncrypted = 55, to smtpclient.h and I added bool waitForDisconnected(int msec); his was also not declared in the header. After this changes I can compile the library for Qt5 and Qt6 on Linux. Windows I didn't check yet.

Regards

dietmarczekay commented 1 year ago

I checked both, linux and win64. Both works.

bluetiger9 commented 1 year ago

Fixed this with https://github.com/bluetiger9/SmtpClient-for-Qt/commit/24265e19b12f57c9bc1ccbed24fc4f9fbadae237. Thanks!

dietmarczekay commented 1 year ago

Thanks for fixing