equal
deleted
inserted
replaced
|
1 TEMPLATE = app |
|
2 TARGET = cubehouse |
|
3 CONFIG += qt debug warn_on |
|
4 requires(contains(QT_CONFIG,opengl)) |
|
5 QT += opengl |
|
6 include(../../examples.pri) |
|
7 CONFIG+=mobility |
|
8 MOBILITY+=sensors |
|
9 INCLUDEPATH += ../../../src/sensors |
|
10 SOURCES = \ |
|
11 view.cpp \ |
|
12 main.cpp \ |
|
13 camera.cpp \ |
|
14 light.cpp \ |
|
15 lightmodel.cpp \ |
|
16 material.cpp \ |
|
17 painter.cpp |
|
18 HEADERS = \ |
|
19 view.h \ |
|
20 teapot.h \ |
|
21 cube.h \ |
|
22 camera.h light.h \ |
|
23 lightmodel.h \ |
|
24 material.h \ |
|
25 painter.h |
|
26 contains(QT_CONFIG,opengles2) { |
|
27 SOURCES += painter_shader.cpp |
|
28 } else { |
|
29 SOURCES += painter_fixed.cpp |
|
30 } |
|
31 RESOURCES = cubehouse.qrc |