mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
24 lines
302 B
Plaintext
24 lines
302 B
Plaintext
#include "test1.h"
|
|
|
|
extern int qInitResources_res1();
|
|
|
|
class Test2 : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public slots:
|
|
void onTst1() {}
|
|
};
|
|
|
|
int main()
|
|
{
|
|
// Fails to link if the rcc generated symbol is not present.
|
|
qInitResources_res1();
|
|
|
|
Test1 test1;
|
|
Test2 test2;
|
|
|
|
return 0;
|
|
}
|
|
|
|
#include "main.moc"
|