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/easing | |
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/easing')
-rw-r--r-- | examples/animation/easing/easing.pro | 24 | ||||
-rw-r--r-- | examples/animation/easing/easing.qrc (renamed from examples/animation/easing/resources.qrc) | 0 | ||||
-rw-r--r-- | examples/animation/easing/main.cpp | 1 |
3 files changed, 12 insertions, 13 deletions
diff --git a/examples/animation/easing/easing.pro b/examples/animation/easing/easing.pro index fa5b22d..8e8a35f 100644 --- a/examples/animation/easing/easing.pro +++ b/examples/animation/easing/easing.pro @@ -1,16 +1,14 @@ -###################################################################### -# Automatically generated by qmake (2.01a) to 2. okt 23:22:11 2008 -###################################################################### +HEADERS = window.h \ + animation.h +SOURCES = main.cpp \ + window.cpp -TEMPLATE = app -TARGET = -DEPENDPATH += . -INCLUDEPATH += . +FORMS = form.ui -# Input -HEADERS += window.h animation.h -SOURCES += main.cpp window.cpp +RESOURCES = easing.qrc -FORMS += form.ui - -RESOURCES = resources.qrc +# install +target.path = $$[QT_INSTALL_EXAMPLES]/animation/easing +sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS easing.pro images +sources.path = $$[QT_INSTALL_EXAMPLES]/animation/easing +INSTALLS += target sources diff --git a/examples/animation/easing/resources.qrc b/examples/animation/easing/easing.qrc index 7e112d3..7e112d3 100644 --- a/examples/animation/easing/resources.qrc +++ b/examples/animation/easing/easing.qrc diff --git a/examples/animation/easing/main.cpp b/examples/animation/easing/main.cpp index 487fa86..bd10df2 100644 --- a/examples/animation/easing/main.cpp +++ b/examples/animation/easing/main.cpp @@ -44,6 +44,7 @@ int main(int argc, char **argv) { + Q_INIT_RESOURCE(easing); QApplication app(argc, argv); Window w; w.resize(400, 400); |