diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-05-20 13:34:11 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-05-20 13:34:11 (GMT) |
commit | ac5fceafb00a2f007239f9b0fc89fe01a2064d62 (patch) | |
tree | dbce8727cf7599c07e8151e7993b59cd5f3e40a6 /examples/animation/animatedtiles | |
parent | 5504a102e9f608fed7377332b8de7b823cf22b85 (diff) | |
download | Qt-ac5fceafb00a2f007239f9b0fc89fe01a2064d62.zip Qt-ac5fceafb00a2f007239f9b0fc89fe01a2064d62.tar.gz Qt-ac5fceafb00a2f007239f9b0fc89fe01a2064d62.tar.bz2 |
compile with -qtnamespace, clean up the example .pro files
Diffstat (limited to 'examples/animation/animatedtiles')
-rw-r--r-- | examples/animation/animatedtiles/animatedtiles.pro | 10 | ||||
-rw-r--r-- | examples/animation/animatedtiles/main.cpp | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/examples/animation/animatedtiles/animatedtiles.pro b/examples/animation/animatedtiles/animatedtiles.pro index 9e9062c..1840b17 100644 --- a/examples/animation/animatedtiles/animatedtiles.pro +++ b/examples/animation/animatedtiles/animatedtiles.pro @@ -1,2 +1,8 @@ -SOURCES += main.cpp -RESOURCES += animatedtiles.qrc +SOURCES = main.cpp +RESOURCES = animatedtiles.qrc + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/animation/animatedtiles +sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS animatedtiles.pro images +sources.path = $$[QT_INSTALL_EXAMPLES]/animation/animatedtiles +INSTALLS += target sources diff --git a/examples/animation/animatedtiles/main.cpp b/examples/animation/animatedtiles/main.cpp index 7988758..4b1d99d 100644 --- a/examples/animation/animatedtiles/main.cpp +++ b/examples/animation/animatedtiles/main.cpp @@ -132,6 +132,8 @@ protected: int main(int argc, char **argv) { + Q_INIT_RESOURCE(animatedtiles); + QApplication app(argc, argv); QPixmap kineticPix(":/images/kinetic.png"); |