summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/RerunMocBasic/MocBasic/main.cpp.in
blob: 9d7ea37aefa14f83ff75a2555a2f63f89e17aaeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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"