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>
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -37,5 +37,5 @@
|
|||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
#include "../shared/shared.h"
|
||||
DECLARATIVE_EXAMPLE_MAIN(localstorage)
|
||||
#include "../../shared/shared.h"
|
||||
DECLARATIVE_EXAMPLE_MAIN(localstorage)
|
|
@ -1,8 +0,0 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += \
|
||||
imageprovider \
|
||||
plugins \
|
||||
networkaccessmanagerfactory \
|
||||
referenceexamples
|
||||
|
|
@ -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" ]
|
||||
}
|
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 765 B |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
|
@ -1 +1,7 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS +=imageprovider \
|
||||
plugins \
|
||||
networkaccessmanagerfactory \
|
||||
referenceexamples \
|
||||
shell
|
||||
|
|