More consistent examples directory structure

Under examples the next directory level distinguishes imports/modules
and the next directory level distinguishes examples.

Change-Id: Icabadaac6ccb9c1c424efa9c9e64a7d94bc7c0da
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
This commit is contained in:
Alan Alpert 2012-08-09 11:24:20 +10:00 committed by Qt by Nokia
parent 4350877d6d
commit 0f04787ffb
200 changed files with 52 additions and 246 deletions

View File

@ -1,9 +1,2 @@
TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
qml.files = localstorage.qml hello.qml
qml.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
INSTALLS += target qml
TEMPLATE = subdirs
SUBDIRS += localstorage

View File

@ -0,0 +1,9 @@
TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
qml.files = localstorage.qml hello.qml
qml.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
INSTALLS += target qml

View File

@ -37,5 +37,5 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include "../shared/shared.h"
DECLARATIVE_EXAMPLE_MAIN(localstorage)
#include "../../shared/shared.h"
DECLARATIVE_EXAMPLE_MAIN(localstorage)

View File

@ -1,8 +0,0 @@
TEMPLATE = subdirs
SUBDIRS += \
imageprovider \
plugins \
networkaccessmanagerfactory \
referenceexamples

View File

@ -1,16 +0,0 @@
import QmlProject 1.0
Project {
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/* List of plugin directories passed to QML runtime */
importPaths: [ "plugins" ]
}

View File

Before

Width:  |  Height:  |  Size: 765 B

After

Width:  |  Height:  |  Size: 765 B

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 625 B

View File

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 625 B

View File

@ -1 +1,7 @@
TEMPLATE = subdirs
SUBDIRS +=imageprovider \
plugins \
networkaccessmanagerfactory \
referenceexamples \
shell

Some files were not shown because too many files have changed in this diff Show More