From b9758f161020136437fd728698d69a0f3ed970a1 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 6 May 2011 12:46:07 +1000 Subject: add most qtlocation module setup files --- modules/qt_location.pri | 17 +++++++++++++++++ qtlocation.pri | 1 - qtlocation.pro | 28 ++++++++++++++++++++++++++++ src/src.pro | 2 ++ sync.profile | 29 +++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 modules/qt_location.pri delete mode 100644 qtlocation.pri create mode 100644 qtlocation.pro create mode 100644 src/src.pro create mode 100644 sync.profile diff --git a/modules/qt_location.pri b/modules/qt_location.pri new file mode 100644 index 00000000..7b51943a --- /dev/null +++ b/modules/qt_location.pri @@ -0,0 +1,17 @@ +QT_LOCATION_VERSION = $$QT_VERSION +QT_LOCATION_MAJOR_VERSION = $$QT_MAJOR_VERSION +QT_LOCATION_MINOR_VERSION = $$QT_MINOR_VERSION +QT_LOCATION_PATCH_VERSION = $$QT_PATCH_VERSION + +QT.location.name = QtLocation +QT.location.bins = $$QT_MODULE_BIN_BASE +QT.location.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/QtLocation +QT.location.private_includes = $$QT_MODULE_INCLUDE_BASE/QtLocation/private +QT.location.sources = $$QT_MODULE_BASE/src/location +QT.location.libs = $$QT_MODULE_LIB_BASE +QT.location.plugins = $$QT_MODULE_PLUGIN_BASE +QT.location.imports = $$QT_MODULE_IMPORT_BASE +QT.location.depends = gui sql network +QT.location.DEFINES = QT_LOCATION_LIB + +QT_CONFIG += location diff --git a/qtlocation.pri b/qtlocation.pri deleted file mode 100644 index 12ffd655..00000000 --- a/qtlocation.pri +++ /dev/null @@ -1 +0,0 @@ -#qmake placeholder diff --git a/qtlocation.pro b/qtlocation.pro new file mode 100644 index 00000000..cbdefdf6 --- /dev/null +++ b/qtlocation.pro @@ -0,0 +1,28 @@ +TEMPLATE = subdirs + +module_qtlocation_src.subdir = src +module_qtlocation_src.target = module-qtlocation-src + +module_qtlocation_tools.subdir = tools +module_qtlocation_tools.target = module-qtlocation-tools +module_qtlocation_tools.depends = module_qtlocation_src + +module_qtlocation_demos.subdir = demos +module_qtlocation_demos.target = module-qtlocation-demos +module_qtlocation_demos.depends = module_qtlocation_src + +module_qtlocation_examples.subdir = examples/declarative +module_qtlocation_examples.target = module-qtlocation-examples +module_qtlocation_examples.depends = module_qtlocation_src + +module_qtlocation_tests.subdir = tests +module_qtlocation_tests.target = module-qtlocation-tests +module_qtlocation_tests.depends = module_qtlocation_src +module_qtlocation_tests.CONFIG = no_default_target no_default_install + + +SUBDIRS += module_qtlocation_src \ +# module_qtlocation_tools \ +# module_qtlocation_demos \ +# module_qtlocation_examples \ +# module_qtlocation_tests \ diff --git a/src/src.pro b/src/src.pro new file mode 100644 index 00000000..a94410c9 --- /dev/null +++ b/src/src.pro @@ -0,0 +1,2 @@ +TEMPLATE = subdirs +SUBDIRS += location diff --git a/sync.profile b/sync.profile new file mode 100644 index 00000000..79111dcd --- /dev/null +++ b/sync.profile @@ -0,0 +1,29 @@ +%modules = ( # path to module name map + "QtLocation" => "$basedir/src/location", +); +%moduleheaders = ( # restrict the module headers to those found in relative path +); +%classnames = ( +); +%mastercontent = ( + "gui" => "#include \n", + "network" => "#include \n", + "sql" => "#include \n", +); +%modulepris = ( + "QtLocation" => "$basedir/modules/qt_location.pri", +); +# Modules and programs, and their dependencies. +# Each of the module version specifiers can take one of the following values: +# - A specific Git revision. +# - "LATEST_REVISION", to always test against the latest revision. +# - "LATEST_RELEASE", to always test against the latest public release. +# - "THIS_REPOSITORY", to indicate that the module is in this repository. +%dependencies = ( + "QtLocation" => { + "QtGui" => "0c637cb07ba3c9b353e7e483a209537485cc4e2a", + "QtNetwork" => "0c637cb07ba3c9b353e7e483a209537485cc4e2a", + "QtSql" => "0c637cb07ba3c9b353e7e483a209537485cc4e2a", + "QtCore" => "0c637cb07ba3c9b353e7e483a209537485cc4e2a", + }, +); -- cgit v1.2.1