summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/RerunMocBasic/MocBasic/main.cpp.in
blob: 5accfd67a15ae50c90c83a80e6f8457545c5673e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "test1.h"
#include "plainobject.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;
  PlainObject plainObject;

  return 0;
}

#include "main.moc"