Qt5.6 This message pops up during debug. What can be done to identify the cause and eliminate it. Online information on this subject is very vague.
RTTI symbol not found for class 'QObject' The error is issued in the function after it is executed and it starts running through the lines again. After such a passage on the line of the variable "EmailEdit e;" and this error pops up. It’s not quite clear to me what exactly is happening during the final run and how it is properly called.
QString ProviderSMTP::switchProvider(QString provider, QString pass) { EmailEdit e; if (e.emailTrue(provider)) { toConfigFile(setProvider(provider, pass)); } else { toConfigFile(setProvider(showAllFreeProvider())); } return ""; } Added to pro file:
CONFIG += rtti Prototype EmailEdit:
class EmailEdit : public QObject { Q_OBJECT public: explicit EmailEdit(QObject *parent = 0); bool emailTrue (QString); QStringList emailExtract(QString); // проверить выдачу signals: public slots: private: int right(QChar); int left(QChar); bool domain(QString); };
CONFIG += rtti? can delete? - KoVadim