Created
July 24, 2015 08:51
-
-
Save vprus/a64cd0ea5a6e17149ad4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QCoreApplication> | |
#include <QTimer> | |
struct Test : public QObject | |
{ | |
void foo() {} | |
}; | |
int main(int argc, char *argv[]) | |
{ | |
QCoreApplication a(argc, argv); | |
QTimer::singleShot(1000, &Test::foo); | |
return a.exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the error with 4.7.2: