Skip to content

Commit

Permalink
Build qt3d/c++ based examples into qt3d/bin using pkg.pri
Browse files Browse the repository at this point in the history
Change-Id: Ib3681004af81271994c467e477b2ee0969cf07fe
Reviewed-by: Sarah Jane Smith <[email protected]>
  • Loading branch information
Julian de Bhal authored and Qt by Nokia committed Feb 10, 2012
1 parent 255e3ef commit 89ed10a
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/qt3d/README
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Qt3D can be used to extend Qt Quick3D with custom 3D items. Qt3D is also
a general 3D toolkit, featuring a scenegraph API, support for OpenGL VBO's
and other utilities for general 3D programming.

Running "qmake ; make" in either this directory or the example directories
will place any resulting binaries (and any required resources) into qt3d/bin in
the build tree, in line with the logic in pkg.pri.
Note that "make install" should not be run on the qt3d examples except for building packages.

Research work on Qt3D also continues in the labs repository:

http://qt.gitorious.org/qt-labs/qt3d
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/basket/basket.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = basket
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = basketview.cpp main.cpp
HEADERS = basketview.h basket_data.h
RESOURCES = basket.qrc
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/builder/builder.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ CONFIG += qt warn_on

QT += qt3d

include(../../../pkg.pri)

SOURCES = builder.cpp \
main.cpp
HEADERS = builder.h
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/cube/cube.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = cube
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = cubeview.cpp main.cpp
HEADERS = cubeview.h
RESOURCES = cube.qrc
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/cylinder/cylinder.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = cylinder
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = cylinderview.cpp main.cpp
HEADERS = cylinderview.h
RESOURCES = cylinder.qrc
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/geometry/geometry.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = geometry
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = geometryview.cpp \
main.cpp \
geometry.cpp \
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/nesting/nesting.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = nesting
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = cubeview.cpp main.cpp
HEADERS = cubeview.h
RESOURCES = nesting.qrc
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/solarsystem/solarsystem.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = solarsystem
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = solarsystem.cpp \
main.cpp
HEADERS = solarsystem.h
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/tank/tank.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TEMPLATE = app
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES += main.cpp\
tankview.cpp \
tank.cpp \
Expand Down
2 changes: 2 additions & 0 deletions examples/qt3d/teapot/teapot.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ TARGET = teapot
CONFIG += qt warn_on
QT += qt3d

include(../../../pkg.pri)

SOURCES = teapotview.cpp main.cpp
HEADERS = teapotview.h

Expand Down

0 comments on commit 89ed10a

Please sign in to comment.