Errors:
In file included from /opt/qtsdk-2010.05/qt/include/QtCore/qcoreapplication.h:47,
from /opt/qtsdk-2010.05/qt/include/QtGui/qapplication.h:45,
from /opt/qtsdk-2010.05/qt/include/QtGui/QApplication:1,
from main.cpp:3:
/opt/qtsdk-2010.05/qt/include/QtCore/qeventloop.h:51: error: expected initializer before ‘QtCoreModule’
make: *** [main.o] Error 1
I have checked ; missing in my .h and .cpp files, couldn't find any. Should I post here the code? Or the error means something else?
Help!
I'm betting you're missing an ;
at the end of a class or struct declaration in one of the headers you're importing. (Your MainWindow.h
specifically.)
class Whatever : ... {
}; // <- this ";" is crucial
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With