summaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Port qtdeviceutilities to use declarative typesDan Ackers2021-06-246-473/+0
| | | | | | Task-number: QTBUG-94426 Change-Id: I9ac17f38eccff96e25a6c1d40998b222d349274d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* CMake: Update to latest Qt CMake APISamuli Piippo2021-06-141-9/+7
| | | | | | | Task-number: QTBUG-91621 Fixes: QTBUG-94396 Change-Id: Ieaf5241eeb297a86775bb784c39217eb2b92b1b9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove all qmake filesSamuli Piippo2021-06-142-18/+0
| | | | | | | Support builds only with CMake. Change-Id: I4b242a27d2d747ffa2d9b55a43f0d2b8f5f4cbc2 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Modify settingsui to work against Qt 6Lassi Lehikoinen2020-12-214-8/+6
| | | | | | | | | | | | | Following modules are removed in Qt 6 - XmlListModel - QtGraphicalEffects Adapt settingsui to work without them. Also remove needless resources and make miscallaneous improvements. Task-number: QTBUG-89065 Change-Id: Ie66d73e4d8f9c1dd4cbec2fe5f9f71f32f7d1bdf Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Build device utilities with CMake and qmake against Qt 6Lassi Lehikoinen2020-12-164-2/+31
| | | | | | | | Also fix compiler warnings. Task-number: QTBUG-88317 Change-Id: Iff6014613a7d12426b6fe692dff0000c92930ace Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Remove all device utilities except network settingsLassi Lehikoinen2020-12-1622-1643/+0
| | | | | | | | | Also remove USB ethernet functionality from Qt Network Settings. Task-number: QTBUG-88315 Change-Id: I06c41b61854b57f57c264b3c98940333902222d2 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
* Fix the list of linked Device Utilities modulesTarja Sundqvist2019-03-186-47/+44
| | | | | | | | | | | All Device Utilities modules are listed in the main page. Also All C++ classes / All QML Types pages added. Task-number: QTBUG-74231 Change-Id: Ia6b091e6d136b844c36de94f8fafa0bb7b199777 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Doc: Remove typoPaul Wicking2018-09-051-1/+1
| | | | | | | | | Remove a trailing 'QAbstractItemModel' which is (likely) the result of an accidental paste. Change-Id: I34ae39128fdf5d23b3d27e45d6e62613cbe54015 Fixes: QTBUG-69688 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Fix static buildSamuli Piippo2018-06-2611-9/+11
| | | | | | | | | | | | | Fix all issues preventing static build: - make sure plugins are built statically by removing CONFIG += dll - add classname to all qmldirs - unify structure and the naming of all plugin classes - initialize resources in the plugins - explicitly include qtvirtualkeyboard plugin in the build Task-number: QTBUG-68988 Change-Id: I38cdbaae49dd198559be6c9fcd0b8d15a3979e4d Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Merge remote-tracking branch 'origin/5.10' into devMikko Gronoff2017-12-198-5/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/5.10: Merge remote-tracking branch 'origin/5.9' into 5.10 Fix compilation with namespaces Import only available modules Update license headers Verify that Qtdbus module is available tests: add tests.pro for CI Doc: Bump version to 5.9.3 Conflicts: src/bluetoothsettings/discoverymodel.cpp src/localesettings/localefiltermodel.cpp src/localesettings/localemodel.cpp src/timedatesettings/timezonefiltermodel.cpp Change-Id: Iabf7f372c634abea2734c97d748b3e836394ddb1
| * Fix compilation with namespacesSami Nurmenniemi2017-11-247-0/+30
| | | | | | | | | | | | | | Task-number: QTBUG-64693 Change-Id: I35487b54271f031077c0f96a90eb47f0683caa77 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
| * Import only available modulesSami Nurmenniemi2017-11-241-5/+6
| | | | | | | | | | | | | | Task-number: QTBUG-64693 Change-Id: I7b86e45f748ddb267c70ffa81948ccaeedb64b7f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | More user friendly handling of WiFi passphraseSami Nurmenniemi2017-11-221-1/+0
| | | | | | | | | | | | | | Task-number: QTBUG-64230 Change-Id: I9de0f5668b419e322a3b0466f2e30a6f957e617e Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Add Wi-Fi enable button to network settingsSami Nurmenniemi2017-11-222-1/+29
|/ | | | | | | Task-number: QTBUG-64230 Change-Id: I2aad07fb98a45997b116fc9a06924ba8be3dff2a Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Add a wifi exampleVille Voutilainen2017-09-071-0/+6
| | | | | | | | | | | | | | The WiFi tutorial linked to NetworkSettings module and NetworkSettingsManager QML type. Added a section Tutorial and Example Code to a module reference page. It contains a link to WiFi tutorial and provides the Settings UI Git repository as an additional example code for Qt Device Utilities. Task-number: QTBUG-56694 Change-Id: Ib6c6a446fd36530525d521e5d568ec154d58a63d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Don't give connman user name as a network nameKari Oikarinen2017-04-101-3/+3
| | | | | | | | | | Don't give the network name as all, since it is not required for visible networks. Also adjust the API to remove the user name parameter that was never used (correctly). Task-number: QTBUG-57249 Change-Id: I0eb75db6eebcaa05661a9404b728ab8af831cf1d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Add plugins.qmltypes files to the QML pluginsKari Oikarinen2017-03-3011-55/+1050
| | | | | | Task-number: QTBUG-56864 Change-Id: Id618fca5c4c40e2d1d37a0a3dc45efe33b195dc5 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Use qml_plugin.prf for the QML pluginsKari Oikarinen2017-03-306-81/+23
| | | | | | | | That feature takes care of installing qmldir (and plugins.qmltypes if it exists) so the plugins doing it themselves is not necessary anymore. Change-Id: Ie157b153c90db8801a245df1bf0ff00df63b255d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix QNetworkSettingsManager usage from the C++Teemu Holappa2016-11-171-2/+7
| | | | | | | | | Fixed servicesChanged signal handling. Fixed services and interfaces functions return types in QNetworkSettingsManager. Task-number: QTBUG-56760 Change-Id: Iaade0d5c06e8ff8f8dea4b421e226ae6348a9fe5 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
* Make bluetooth support optionalRainer Keller2016-11-011-1/+2
| | | | | | | Change-Id: I33db4d7c8531be0b02f9550bb2d2fbb2c0de9af8 Reviewed-by: Michael Winkelmann <Michael.winkelmann@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Doc: Document QtDeviceUtilitiesTopi Reinio2016-09-066-21/+455
| | | | | | | | | | | | | | | | | | | Added documentation for the following QML modules: QtDeviceUtilities.BluetoothSettings QtDeviceUtilities.DisplaySettings QtDeviceUtilities.LocalDeviceSettings QtDeviceUtilities.LocaleSettings QtDeviceUtilities.NetworkSettings QtDeviceUtilities.TimeDateSettings QtDeviceUtilities.SettingsUI And changed the name of this documentation module to 'Qt Device Utilities'. Task-number: QTBUG-55320 Change-Id: Iee0d8467dccddc0ee75d7a395ae91f68b12ab9f2 Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
* Fixed WPA supplicant and made it default backend for wifi settings.Kimmo Ollila2016-06-061-1/+1
| | | | | Change-Id: Ic539098e2edc5d736da0331e06f5bfc6c51947e1 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Replaced license headers with GPLv3Kimmo Ollila2016-06-027-127/+92
| | | | | | Change-Id: Ie355ff1e296ee48d4d66e0610e4df56640f829d4 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com> Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Replaced Device Utilities import uris to QtDeviceUtilities.xKimmo Ollila2016-06-0115-19/+19
| | | | | Change-Id: I11c74cd61d3dd40a90c033406590296c05e996c6 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Use qmlRegisterSingletonType instead of setContextProperty in pluginsKimmo Ollila2016-03-165-46/+22
| | | | | Change-Id: Ib6c6c7bc5e5e1db005dd43222163fceb50c8894a Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Refactored Qml plugins into modules.Teemu Holappa2016-02-1725-174/+673
| | | | | | | Separated C++ and Qml interfaces. All the UI's from plugins are moved to the settingsui folder. Change-Id: Id6a6623346b18321357bc42d24121c4d9cdfd098 Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
* Merge Boot2Qt Wifi module into Network Settings Plugin.Teemu Holappa2016-02-085-469/+1
| | | | | | | Added wpasupplicant as alternative backend for the network settings. Change-Id: Ic05b3e87def2c9a143c30e4045a36db294ce8719 Reviewed-by: Risto Avila <risto.avila@theqtcompany.com>
* Remove eAndroid specific modulesEirik Aavitsland2015-07-1017-5863/+0
| | | | | Change-Id: Ied9d920dfa6d12093b40d32d5f3a61c1c23b137d Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Fix signal calculation for WEXT-based driversGatis Paeglis2015-04-161-7/+7
| | | | | | | | | | | | | | | | | | | | | This patch introduces a behavior change. Previously the 'SignalStrength' role was interpreted as dBm. This was working fine for nl80211 based drivers, for WEXT-based drivers it contained garbage values. Now the 'SignalStrength' role will always be interpreted as percentage. The wpa_supplicant passes back only the 'level' of the scanned BSS, which with nl80211-based driver is almost always dBm (val < 0). WEXT-based driver has its own interpretation of 'level' - it can contain dBm, percentage [0-100] (and some other values for historical reasons, but these are converted by the wpa_supplicant to dBm). This is what I have concluded from looking at NetworkManager and wpa_supplicant sources and git history. Even the official GUI tool wpa_gui for the wpa_supplicant is out-of-date and can not be used as a referance. Change-Id: I70d15e26e0a1700ad0f7d19d23cbade2d3d46054 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Add support for hidden SSIDsGatis Paeglis2015-02-091-0/+9
| | | | | | | | | | | | Wifi access points may be configured not to broadcast its SSID, connecting to such networks requires a SSID-specific probe request. Add new property to WifiConfiguration for describing this type of networks. Change-Id: I068ac53936a860e3752e31b8151b87ba4308c510 Task-number: QTEE-816 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* B2Qt.Utils: Update plugins.qmltypesGatis Paeglis2014-12-051-0/+54
| | | | | | | Required for code-completion feature in QtCreator. Change-Id: I06ce31856b61e4bf41a4123eda999687eac1de3f Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Wifi: Update plugins.qmltypesGatis Paeglis2014-12-051-60/+90
| | | | | | | | Required for code-completion feature in QtCreator. Change-Id: I79969367afe685b248d08b30d8dadf54754c5c0f Task-number: QTEE-810 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Wifi - c++/qml getting started guide and wifi doc updateGatis Paeglis2014-12-052-1/+308
| | | | | | | | | | | | c++ getting started guide qml getting started guide documenting qml elements documenting c++ classes Task-number: QTEE-810 Change-Id: I669d11c65e5359fc9ec863b03b8b56ce2ef1151b Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@theqtcompany.com> Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* [Wifi] graduate from Qt.labs.wifi 0.1 to B2Qt.Wifi 1.0Gatis Paeglis2014-12-0213-1780/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make wifi library available from c++ 1) included with "#include <B2QtWifi>", available classes are: QWifiDevice, QWifiManager, QWifiConfiguration - Re-design of API: 1) connectedSSID -> currentSSID get current network from this property instead of networks state change events 2) networkStateChanaged(QWifiNetwork *) -> networkStateChanged(NetworkState) Don't expose QWifiNetwork objects to library users, use data model roles instead, no need to pollute API with "read-only" class. The flaws of exposing QWifiNetwork become apparent when looking at C++ API. 3) New BackendState enum for backend state changes events, backendStateChanged(BackendState) Initializing backend can be lengthy operation and can block GUI thread, same is true for DHCP requests, now these operations are moved into a separate thread and backend state change events are delivered asynchronously. 4) Make WifiManager a Singleton, we don't want several instances starting and stopping system processes and it makes global state handling simpler. 5) Rename Interface -> WifiDevice 6!) Introducing QWifiConfiguration. This abstraction allows for easy way to add new features, whatever we choose to support from: http://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf The idea for it is to be a Qt-style wrapper for "network {}" configurations from wpa_supplicant.conf. Also this makes life simpler for developers if they know what network they will be using, they can omit scanning, listing, selecting parts and do something like this instead: WifiConfiguration { id: config ssid: "network name" passphrase: "12345678" } if (!WifiManager.connect(config)) print("failed to connect: " + WifiManager.lastError) - Optimizations: 1) Async. event delivery. 2) eLinux: Don't use "ifup", it is slow because it starts dhcp request even before any network has been configured. Use start-stop-daemon and ifconfig directly. - Bug fixes (many), but most importantly: 1) Get backend state properly when WifiManager is created. - Public header cleanup - Other: 1) Added categorized logging. 2) Methods to get/set wifi interface name. Not exposed to qml. - Missing parts that will be added as a separate patch: * [doc] Getting started guide for c++ and qml * [doc] Update for qml docs and new docs for c++. The current docs are out-of-date. Task-number: QTEE-649 Task-number: QTEE-810 Change-Id: I7dc8709aed2de622828a119749aef31534a4296d Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Merge remote-tracking branch 'origin/stable' into devaavit2014-11-1422-103/+167
|\ | | | | | | Change-Id: Ib0a08de8aaf17f2803d51bded8d0dcfb14e9c206
| * Change copyright noticeRainer Keller2014-10-0621-42/+42
| | | | | | | | | | | | | | URL points to qt.io Change-Id: If1dcfcef627ee3e2bdde49522ebabcaa66cea29b Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
| * Fix timing issues in wifi libraryGatis Paeglis2014-09-195-65/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a timing issue on a device startup if the default application calls Wifi.Interface.wifiSupported() before qconnectivity service has finished initialize wifi firmware/driver. This results in wifiSupported() returing false on nexus 2013, even if this device supports wifi. The solution is to move firmware/driver initialization to Qt Wifi library. Change-Id: If5b4650181f8b7237bd19f3fc3afbd2c75f759e8 Task-number: QTEE-770 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* | Doc: Document B2Qt.Utils moduleTopi Reinio2014-11-121-0/+103
| | | | | | | | | | | | Task-number: QTEE-474 Change-Id: I95064ac5908a067751d8182f6a0d883f07f7e756 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* | Rename DroidUtils -> B2QtUtils and refactor the APIaavit2014-10-083-15/+11
|/ | | | | | | | | | | | | | | | | | | 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>
* Fix #ifdef for Android detectionGatis Paeglis2014-06-301-1/+3
| | | | | | | | It was wrongly adding "IFNAME=" to wpa_supplicant calls on eLinux, "IFNAME=" is required only for eAndroid. Change-Id: Ic16d321765071df66fbffc1c3d6ce78180eb3b1c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Fix Wifi issues on Android 4.4.2Gatis Paeglis2014-06-131-2/+7
| | | | | | | | | | | | | | | | | | | | - Reload Wi-Fi firmware on a device startup (initializes wlan0 interface). - Android version 4.4 (and above) requires IFNAME=wlan0 prefix to the wpa_supplicant calls, without this all calls to the wpa_supplicant fail. - Fix "broken pipe" issue - a message in the logcat when trying to access a broken network. This seems to be a generic message whenever something is wrong with a network configuration (broken routing table, firewall issues, DNS issues etc.). Android uses Connectivity and NetworkManagement JAVA services to handle network configuration - we can use qconnectivity daemon for this. Task-number: QTEE-562 Change-Id: Ib5a93c677439a0e9bf92ede532667542d2bc4bed Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Add plugins.qmltypes for Wi-Fi libraryGatis Paeglis2014-05-262-0/+61
| | | | | | | | | This fixes autocompletion issue in QtCreator. Task-number: QTEE-568 Change-Id: I186a5777e54d8629fd896bd1ee677ac359373a17 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Build wifi also on eLinuxGatis Paeglis2014-05-201-2/+1
| | | | | | | | It turns out that wifi was never build on eLinux. Change-Id: I27b3f01761b9aaa6f70d0ff4220344551a39ad56 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Don't show Wi-Fi group box on iMX6-eAndroidGatis Paeglis2014-05-191-8/+9
| | | | | | | This device currently does not support wifi. Change-Id: I8048d7109908c4c2de553dda119cb14be73ef6a7 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Set initial "backend ready" state.Gatis Paeglis2014-05-161-3/+5
| | | | | Change-Id: Id1d7141cbbee181235093627cf18180354a78a6b Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* Port QtWifi to eLinuxGatis Paeglis2014-05-157-30/+433
| | | | | | | | | | | | | Current limitations: - Wifi adapter must be connected before staring the device (and ethernet cable should not be connected at the same time). "allow-hotplug wlan0" in /etc/network/interfaces doesn't seem to help for detecting wifi adapter on-the-fly. Change-Id: I8be407e9e042fc86136efd3e220680fb2ce64bd6 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Merge branch 'stable' into devKalle Viironen2014-04-168-105/+478
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stable: (22 commits) Add note about headphones on eAndroid Doc: Relocate unmount instructions Doc: Add ChangeLog for Qt Enterprise Embedded 2.1.0 Doc: Disable code highlighting for command-line instructions doc: update version number to 2.1.0 [Wifi] Add new enums and make some API changes Doc: Add documentation on custom build & deploy steps Doc: Create QML Type reference page Doc: Add information about licenses in embedded Linux images Doc: Improve instructions for deploying existing projects Doc: Separate Building Your Own Linux Image into its own page doc: use same directory for yocto and qt doc: config.<MACHINE> needed only once doc: guide for imx53 and how to setup QtCreator Doc: Be more precise on screen content for Nexus7 Add documentation to QtWifi library Doc: Add note for users to not use root for installation doc: describe how to use network connection for adb Rename misleading class name Remove unnecessary roles from QWifiNetworkList ... Conflicts: src/imports/wifi/qwifimanager.cpp Change-Id: Ie7efa2ec91ac154f1e984600f569d9c7f8383627
| * [Wifi] Add new enums and make some API changesGatis Paeglis2014-04-076-85/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Now QtWifi can provide feedback when incorrect password is entered. - networkStateChanged signal provides a reference to the currently active network connection. - bug fixes in QWifiManager::connect Task-number: QTEE-408 Change-Id: Ic7458b864f09aef3cfca40fb081dec45e0bba7db Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
| * Doc: Create QML Type reference pageTopi Reinio2014-04-023-4/+8
| | | | | | | | | | | | | | | | | | | | Create a landing page for QtEE-specific QML modules and types. Ensure it links correctly to WiFi Module documentation, and add it to TOC. Change-Id: Ib3edf9ff8e50f11e138a57aabc1f84749ac48e16 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
| * Add documentation to QtWifi libraryGatis Paeglis2014-03-193-0/+318
| | | | | | | | | | Change-Id: Ifd71c65a155ad296f3491085e91556eb69226b2b Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>