2017-07-20 19:35:53 +02:00
|
|
|
#include "test1.h"
|
2021-09-14 00:13:48 +02:00
|
|
|
#include "plainobject.h"
|
2017-07-20 19:35:53 +02:00
|
|
|
|
2018-04-23 21:13:27 +02:00
|
|
|
extern int qInitResources_res1();
|
|
|
|
|
2017-07-20 19:35:53 +02:00
|
|
|
class Test2 : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public slots:
|
|
|
|
void onTst1() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2018-04-23 21:13:27 +02:00
|
|
|
// Fails to link if the rcc generated symbol is not present.
|
|
|
|
qInitResources_res1();
|
|
|
|
|
2017-07-20 19:35:53 +02:00
|
|
|
Test1 test1;
|
|
|
|
Test2 test2;
|
2021-09-14 00:13:48 +02:00
|
|
|
PlainObject plainObject;
|
2017-07-20 19:35:53 +02:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "main.moc"
|