diff options
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | modules/qt_uihelpers.pri | 17 | ||||
-rw-r--r-- | sync.profile | 23 | ||||
-rw-r--r-- | uihelpers.pro | 16 |
5 files changed, 71 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2478a18 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.o +*.moc +moc_* +*.pro.user +*~ @@ -0,0 +1,10 @@ +Ui Helpers +========== + +- Short decription: + +"The UI Helpers repository contains non-widget based ui classes that are useful for those who intend to develop applications +using Qt5/QtQuick 2 but do not want to depend on QtWidgets - mainly desktop applications. Examples of classes are QUndoCommand, +QAction, QFileSystemModel, etc." + +Suggestions and contributions are welcome - contact us on the development@qt-project.org diff --git a/modules/qt_uihelpers.pri b/modules/qt_uihelpers.pri new file mode 100644 index 0000000..2e4631b --- /dev/null +++ b/modules/qt_uihelpers.pri @@ -0,0 +1,17 @@ +QT.uihelpers.VERSION = 5.0.0 +QT.uihelpers.MAJOR_VERSION = 5 +QT.uihelpers.MINOR_VERSION = 0 +QT.uihelpers.PATCH_VERSION = 0 + +QT.uihelpers.name = UiHelpers +QT.uihelpers.bins = $$QT_MODULE_BIN_BASE +QT.uihelpers.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/UiHelpers +QT.uihelpers.private_includes = $$QT_MODULE_INCLUDE_BASE/UiHelpers/$$QT.uihelpers.VERSION +QT.uihelpers.sources = $$QT_MODULE_BASE/src +QT.uihelpers.libs = $$QT_MODULE_LIB_BASE +QT.uihelpers.plugins = $$QT_MODULE_PLUGIN_BASE +QT.uihelpers.imports = $$QT_MODULE_IMPORT_BASE +QT.uihelpers.depends = core gui +QT.uihelpers.DEFINES = UIHELPERS_LIB + +QT_CONFIG += uihelpers diff --git a/sync.profile b/sync.profile new file mode 100644 index 0000000..0bf90fe --- /dev/null +++ b/sync.profile @@ -0,0 +1,23 @@ +%modules = ( # path to module name map + "UiHelpers" => "$basedir/src", +); +%moduleheaders = ( # restrict the module headers to those found in relative path +); +%classnames = ( + "uihelpersversion.h" => "UiHelpersVersion", +); +%mastercontent = ( +); +%modulepris = ( + "UiHelpers" => "$basedir/modules/qt_uihelpers.pri", +); + +# Module dependencies. +# Every module that is required to build this module should have one entry. +# Each of the module version specifiers can take one of the following values: +# - A specific Git revision. +# - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch) +# +%dependencies = ( + "qtbase" => "refs/heads/master", +); diff --git a/uihelpers.pro b/uihelpers.pro new file mode 100644 index 0000000..35f7502 --- /dev/null +++ b/uihelpers.pro @@ -0,0 +1,16 @@ +TEMPLATE = subdirs + +module_uihelpers_src.subdir = src +module_uihelpers_src.target = module-uihelpers-src + +module_uihelpers_tests.subdir = tests +module_uihelpers_tests.target = module-uihelpers-tests +module_uihelpers_tests.depends = module_uihelpers_src +module_uihelpers_tests.CONFIG = no_default_install + +win32 { + message("uihelpers is not currently supported on Windows - will not be built") +} else { + SUBDIRS += module_uihelpers_src \ + module_uihelpers_tests \ +} |