24 lines
302 B
C++
Raw Normal View History

2017-07-20 19:35:53 +02:00
#include "test1.h"
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;
return 0;
}
#include "main.moc"