qt5base-lts/examples/widgets/graphicsview/boxes/boxes.pro
Friedemann Kleint 626283740f Fix building of examples.
- Correct install path of widget examples to contain widgets
  directory in target tree.
- Add missing resources.

Task-number: QTBUG-27977

Change-Id: If4cb117998892b0b165d7678367553d3a7553b91
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2012-11-21 16:36:50 +01:00

40 lines
974 B
Prolog

QT += opengl widgets
HEADERS += 3rdparty/fbm.h \
glbuffers.h \
glextensions.h \
gltrianglemesh.h \
qtbox.h \
roundedbox.h \
scene.h \
trackball.h
SOURCES += 3rdparty/fbm.c \
glbuffers.cpp \
glextensions.cpp \
main.cpp \
qtbox.cpp \
roundedbox.cpp \
scene.cpp \
trackball.cpp
RESOURCES += boxes.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/boxes
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg *.png *.fsh *.vsh *.par
sources.files -= 3rdparty/fbm.h 3rdparty/fbm.c
sources.files += 3rdparty
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/graphicsview/boxes
INSTALLS += target sources
wince*: {
DEPLOYMENT_PLUGIN += qjpeg
}
win32-msvc* {
QMAKE_CXXFLAGS -= -Zm200
QMAKE_CFLAGS -= -Zm200
QMAKE_CXXFLAGS += -Zm500
QMAKE_CFLAGS += -Zm500
}