summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [Wifi] graduate from Qt.labs.wifi 0.1 to B2Qt.Wifi 1.0Gatis Paeglis2014-12-0226-1235/+2020
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* Doc: Add install instructions for Colibri VF devicesAndy Nichols2014-12-013-0/+103
| | | | | | Change-Id: Ifd92c0664de849f4a793633e2c25c77c9cf28684 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Doc: Document non-working Qt Quick ControlsTopi Reinio2014-11-272-1/+18
| | | | | | | | Task-number: QTEE-642 Change-Id: I2be52b0b94f89519c691e74c62724adfac9480bb Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Flashing wizard: add support for tibidabo deviceaavit2014-11-261-0/+6
| | | | | Change-Id: Ia8b783401566ff7edf2b9deb929c75c24b59a558 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* b2qt-flashing-wizard: Use pkexec to gain root rightsRainer Keller2014-11-261-9/+3
| | | | | Change-Id: Iecc7b90b4b37b81800aa8858531a8e284360d8a4 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Doc: Remove BeagleBoard-xM deviceaavit2014-11-263-71/+0
| | | | | | | | | Hasn't been supported since 2.x. Listed under Legacy Reference Devices. Change-Id: I16773eac6429b82bf90f4e9f50416bea567d8498 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Doc: Add Tibidabo deviceaavit2014-11-263-0/+72
| | | | | | Change-Id: Iad4a7eb08ba3518e4f2110b2ba0048a5f46713d0 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Doc: Add instructions for configuring display resolutionTopi Reinio2014-11-261-0/+70
| | | | | | | Task-number: QTEE-602 Change-Id: If7ff786658266e5e3e3fe52ec2edb1bbf6e89b1e Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* b2qt-flashing-wizard: Use new background and watermarkRainer Keller2014-11-262-0/+0
| | | | | Change-Id: I042dc762ae1c61904b01f7e482e3d14c3da41167 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Doc: Drop eAndroid platform for BBBaavit2014-11-253-46/+23
| | | | | Change-Id: I1a48f7f049b48653300731fce3fb08a3129081b0 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* b2qt-flashing-wizard: Use -y for android as wellRainer Keller2014-11-251-3/+9
| | | | | Change-Id: I6d9999b8b4b5a3fb2c7d0782e0eb2ee86c971e8a Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* b2qt-flashing-wizard: Prevent flashing wrong Android image to NexusRainer Keller2014-11-251-3/+10
| | | | | | Change-Id: I57a3a1853ee49860a26d6de4837228f466c04d03 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* b2qt-flashing-wizard: Remove white background from Qt logoRainer Keller2014-11-251-0/+0
| | | | | Change-Id: Ib5fbea3716080776b328a52dfdc3d5bb1e43e795 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* b2qt-flashing-wizard: Add busy indicator on progress pageRainer Keller2014-11-251-0/+4
| | | | | Change-Id: I5647994d8a950b29702de665dd53d7cec61bacd4 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* b2qt-flashing-wizard: Show default message in gksuRainer Keller2014-11-251-1/+1
| | | | | | | and sudo sudo backend Change-Id: I717ae79c4c3c763bf02bb5a269313d96dcd30e45 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Document how to use tslibLaszlo Agocs2014-11-242-0/+28
| | | | | | | | In Qt 5.5 this will be simplified. In the meantime however we need to document the hard way. Change-Id: I6495e1084a065d435d7e2e13cdd7b8074d813365 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Doc: Some fixes in the setting up USB sectionaavit2014-11-242-134/+2
| | | | | | | | | Seems the b2qt-post-install-setup.qdocinc file had been duplicated, and the wrong version was being picked up by qdoc. Remove the duplicate. Change-Id: Iaa8cb5e33302602c5a8705579d215cbf312f661c Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Update a note about hotplugging input devicesLaszlo Agocs2014-11-241-2/+3
| | | | | | Change-Id: I1b1ad7271df7fd847af7caf691b13fcbecc0bfd4 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Doc: Document enabling USB OTG mode on Toradex Apalis iMX6.Topi Reinio2014-11-241-0/+9
| | | | | | Task-number: QTEE-812 Change-Id: I00efa0df74c9f052f96b401af00b2e729d58898b Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Doc: Document 7zip requirements for BYOSTopi Reinio2014-11-241-5/+5
| | | | | | Task-number: QTEE-805 Change-Id: I72f9a13b74b52ed32f5118bbd216cc2c6f84f843 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Doc: Discuss Flashing Wizard in the device setup instructionsTopi Reinio2014-11-217-6/+31
| | | | | | | | Mention the wizard as an easy alternative for setting up a device with B2Qt image. Change-Id: Ie58ee110f190c87164f36b5985dcc3613b9b6fb9 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Doc: Edit BD-SL-i.MX6 docs to cover multiple devicesTopi Reinio2014-11-213-11/+22
| | | | | | | | | The same embedded Linux image now covers multiple boards from Boundary Devices. Task-number: QTEE-806 Change-Id: Ia6db7673c4d6fec3ec5a7d753372c68ffb7bec67 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Doc: Update product name and intro/overview pagesTopi Reinio2014-11-216-93/+179
| | | | | | | | | | | | - Update product name to 'Qt for Device Creation' - Update index page and overview docs - Separate Boot to Qt section into its own page - Update documentation version - Link to Qt reference docs under doc.qt.io - Link to Android injection blog post Change-Id: Ib8a35303285930b32b5c33995df8eeba9c1a978c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Doc: Apalis iMX6 is using adb over USBSamuli Piippo2014-11-201-1/+5
| | | | | | Task-number: QTEE-671 Change-Id: I94705ef38f8729a5a3f45cf5ebc25900d6df1845 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* doc: use deploy.sh after BYOS buildSamuli Piippo2014-11-201-2/+4
| | | | | | | Add mention to how to use the deploy.sh after BYOS build has finished Change-Id: Ie5abde79c175e47994efd2410f89cdb5aed0a73c Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* b2qt-flashing-wizard: Updated the progress page strings.Venugopal Shivashankar2014-11-201-2/+2
| | | | | | Change-Id: Id2cb0e92f2331ee79f553d0d9bdca62170512374 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Doc: Raise the SD card size requirement for eLinux to 1GBTopi Reinio2014-11-207-7/+7
| | | | | | Task-number: QTEE-767 Change-Id: Ic05375e703afb7f94360463524b76a5d4a7b37d8 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Doc: Add Known Issues pageTopi Reinio2014-11-202-47/+219
| | | | | | | | | | | | | | | | Restore Known Issues once documented on qt.digia.com as part of the documentation. Move Troubleshooting items that are clear known issues to correct page. For each item, replace \section titles with just a bold text to get rid of the overly-complex Table of Contents. Instead of the TOC, use a custom table in the beginning of the table. Task-number: QTEE-799 Change-Id: Id53775146f1084cd59891527badcc7aaeea51534 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* b2qt-flashing-wizard: Use dontask option instead of writing 'y'Rainer Keller2014-11-192-8/+7
| | | | | Change-Id: Ic61caa0a334e4c3d54b945e3227c2b5e363f6f50 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* b2qt-flashing-wizard: Update Qt logoRainer Keller2014-11-191-0/+0
| | | | | Change-Id: Iab8f9b4a407420c1d93d5bdadee9b6a6c3502cde Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* b2qt-flashing-wizard: Fix stringsRainer Keller2014-11-199-41/+46
| | | | | Change-Id: Id56e2c3f9cb77b65ea2aa9d3c968b180142b8ff1 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* b2qt-flashing-wizard: Wrap long message on progress pageRainer Keller2014-11-191-0/+1
| | | | | Change-Id: I5454a9b43289784a2eaba3732f27cc97c04d4d5e Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* b2qt-flashing-wizard: Use correct SDK pathRainer Keller2014-11-191-1/+2
| | | | | Change-Id: I0dd5f829bb6422492466823efe0ed6063361b990 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* b2qt-flashing-wizard: Show version on startupRainer Keller2014-11-172-0/+20
| | | | | Change-Id: Id6c125a24d1f8e64a9c442632600c3715c3ab546 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Merge "Merge remote-tracking branch 'origin/stable' into dev" into devaavit2014-11-1777-310/+451
|\
| * Merge remote-tracking branch 'origin/stable' into devaavit2014-11-1477-310/+451
| |\ | | | | | | | | | Change-Id: Ib0a08de8aaf17f2803d51bded8d0dcfb14e9c206
| | * Doc: ChangeLog for Boot to Qt 3.2.0QtEE_v3.2.0Topi Reinio2014-10-091-0/+41
| | | | | | | | | | | | | | | | | | | | | Task-number: QTEE-747 Change-Id: Id81468aff3523e43291768698a615f03d1728b87 Reviewed-by: Kalle Viironen <kalle.viironen@digia.com> Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
| | * Doc: Bump documentation version to 3.2.0Topi Reinio2014-10-081-2/+2
| | | | | | | | | | | | | | | Change-Id: Ifc1cc59e245491cbca7105210772334dc3335df5 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
| | * Doc: Update the documentation for Booting to a Custom ApplicationTopi Reinio2014-10-081-5/+23
| | | | | | | | | | | | | | | | | | Task-number: QTEE-781 Change-Id: Ibbbed41b50d41df5ad3254f802241de18f91a214 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
| | * Doc: Fix remaining external linksTopi Reinio2014-10-075-75/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove link to an external Known Issues page, troubleshooting section is what we use now. - Fix link to the product page (Qt for Device Creation) - Remove duplicated file for external link definitions. Change-Id: I85c2d1b8c11b545ce62508b50bbe813ad900e41c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
| | * Update licensing docsGatis Paeglis2014-10-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explain where we store license information about 3rd party software installed by b2qt on top of standard Android image. Change-Id: I886456ba1973bd25eb4f47ac348c39bcc18371b6 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
| | * Change copyright noticeRainer Keller2014-10-0674-164/+164
| | | | | | | | | | | | | | | | | | | | | URL points to qt.io Change-Id: If1dcfcef627ee3e2bdde49522ebabcaa66cea29b Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
| | * Fix timing issues in wifi libraryGatis Paeglis2014-09-196-76/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: List value-add components in the overviewTopi Reinio2014-09-121-0/+20
| | | | | | | | | | | | | | | Change-Id: I50d141cfa48194c8e1d2b8040417a3c9b0f815c1 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
| | * Doc: Fix minor issuesTopi Reinio2014-09-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix intra-page links that were pointing to a identically-named titles on another page. Fix misleading statement in the Setting Up USB Connection instructions. Change-Id: I08061ffbe8d5a96901e2aadc761169b7b3adbba5 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
| | * Doc: Document supported features on reference devicesTopi Reinio2014-09-122-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a table listing the features currently known to work for a number of the reference devices. Not yet a comprehensive list, to be extended with more devices and features. Change-Id: I5acbb645d4b7533664a50f76e5993d2ea22e3413 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* | | b2qt-flashing-wizard: Handle script errorsRainer Keller2014-11-144-7/+12
| | | | | | | | | | | | | | | Change-Id: Ic470f3bdb4e2870279edcb3012160b9edea075ae Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* | | b2qt-flashing-wizard: Make all buttons functionalRainer Keller2014-11-142-6/+37
|/ / | | | | | | | | Change-Id: Ie2cc222f689a937f1f175fd678d7ae441273171e Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* | b2qt-flashing-wizard: Replace progressbar by labelRainer Keller2014-11-1420-46041/+14
| | | | | | | | | | Change-Id: Ic3b0a88fa73e94540d6b387e0e6f0a5292ccfab2 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* | Doc: Document B2Qt.Utils moduleTopi Reinio2014-11-123-1/+109
| | | | | | | | | | | | Task-number: QTEE-474 Change-Id: I95064ac5908a067751d8182f6a0d883f07f7e756 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>