diff options
author | aavit <eirik.aavitsland@digia.com> | 2014-09-10 14:50:28 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@digia.com> | 2014-10-08 11:37:49 +0300 |
commit | 3d6bb94a9e7c80edc4b2a2321b464533a4a7f60b (patch) | |
tree | c164a2bd67eb0b172398c38c471b9be5d9bea4ce /src/utils/utils.pro | |
parent | 20b464d745b7ae319a89d9c2b14c5dcf7364c250 (diff) |
Rename DroidUtils -> B2QtUtils and refactor the API
Preparing this module for being documented and presented for
external users.
- Renamed since this is for eLinux as well as eAndroid
- Provide all settings as proper Q_PROPERTYs for easy QML access
- Hide all the detailed audio stuff that's not useful for users
- Implement a getter function for current backlight, so that we don't
have to reset it to full every time this module is loaded
- qmake now groks this as internal module, so get rid build kludges
- hostname setting on eLinux fixed
- getIPAddress() now returns ALL active addresses, and implentation
is simplified
Task-number: QTEE-704
Change-Id: I9f22d5531b5963ae7e78c840bcfe1edd6197f82a
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Diffstat (limited to 'src/utils/utils.pro')
-rw-r--r-- | src/utils/utils.pro | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/utils/utils.pro b/src/utils/utils.pro index e28b111..13287d5 100644 --- a/src/utils/utils.pro +++ b/src/utils/utils.pro @@ -1,20 +1,18 @@ -TARGET = QtDroidUtils -VERSION = 5.2 +load(qt_build_config) + +TARGET = B2QtUtils +VERSION = 1.0 CONFIG += dll warn_on QT = core network -#QT = core-private gui-private qml-private quick-private -#QT_PRIVATE = v8-private - -#DEFINES += QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES -MODULE = droidutils +MODULE = b2qtutils load(qt_module) android: LIBS += -lmedia -lhardware -lcutils -lutils HEADERS += \ - $$PWD/qdroidutils.h + $$PWD/b2qtdevice.h SOURCES += \ - $$PWD/qdroidutils.cpp + $$PWD/b2qtdevice.cpp |