Header:
Code: Alles auswählen
#include <QEventLoop>
class QCustomEventLoop : public QEventLoop
{
Q_OBJECT
public:
bool httperror;
public slots:
void process(bool error)
{
if(error)
httperror=true;
quit();
}
};
Das Programm initialisiert jedoch wunderbar, wenn ich das Q_OBJECT (und damit die MOC) entferne (das ist aber nicht, was ich will).
Mein System: Windows XP SP 2, Qt 4.5.2
Übersehe ich da was?