The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
444 B
28 lines
444 B
5 years ago
|
#include"manualinclude.h"
|
||
|
#include<QCoreApplication>
|
||
|
|
||
|
#include<QObject>
|
||
|
|
||
|
ManualInclude::ManualInclude() {
|
||
|
}
|
||
|
|
||
|
void ManualInclude::myslot(void) {
|
||
|
;
|
||
|
}
|
||
|
|
||
|
class MocClass : public QObject {
|
||
|
Q_OBJECT
|
||
|
};
|
||
|
|
||
|
int main(int argc, char **argv) {
|
||
|
ManualInclude mi;
|
||
|
MocClass mc;
|
||
|
QObject::connect(&mi, SIGNAL(mysignal(void)),
|
||
|
&mi, SLOT(myslot(void)));
|
||
|
emit mi.mysignal();
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
#include"manualinclude.moc"
|
||
|
|