summaryrefslogtreecommitdiffstats
path: root/basicsuite/shared/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove emulator specific code blocks from demosMikko Gronoff2019-12-131-4/+1
| | | | | Change-Id: Ibd470c1e1167aae40ec275052f12136fa18bd01f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Move WebEngine initialization to be earlierSamuli Piippo2019-12-051-7/+7
| | | | | | | | | | | The call must be done before QCoreApplication is created. "QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future. Change-Id: Ifd979fbb16cc4a891d149f6d7814052069c85401 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use Material style only on devices with gpuSami Nurmenniemi2018-09-211-2/+15
| | | | | | Task-number: QTBUG-70493 Change-Id: Ia768ad91ea0f5672b9c25a7ae4102d8d19de9570 Reviewed-by: Kari Hormi <kari.hormi@qt.io>
* do not enable highdpiscaling on emulatorMikko Gronoff2018-08-311-2/+7
| | | | | | | See QTBUG-64815 Change-Id: I73e0316fd78cbe260c3e22fe21801516bb62ae0c Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
* Fix mediaplayer default video pathJuho Annunen2018-08-291-13/+9
| | | | | | | Task-number: QTBUG-70198 Change-Id: If07b7e618e109893ab19cf1c7147c98e5ae8f17f Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix some major scaling & font issues on ebike-demoJuho Annunen2018-08-291-9/+9
| | | | | | | Task-number: QTBUG-69840 Change-Id: If519ae62a0a73c8dbf2f6f7b9f681bdfdb8b28a0 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Fix scaling, video path & focusing issues on mediaplayer demoJuho Annunen2018-08-231-0/+6
| | | | | | Task-number: QTBUG-62791 Change-Id: I8ea9bcc27fcf0b2d4fb9f7b8ada165f7a5a5d7c8 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Move color definitions to QSettingsJuho Annunen2018-07-191-0/+11
| | | | | | Task-number: QTBUG-69536 Change-Id: Ib18f19ce57266393e8d1c8ae8e7322e73ccafa53 Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
* Fix qtquickcontrols2 demo image paths & controls themeJuho Annunen2018-07-191-7/+10
| | | | | | Task-number: QTBUG-62805 Change-Id: I6cbd41384c003b1e29567af0c0c56341d5e93f6e Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
* Add new Ebike demo to basicsuiteJuho Annunen2018-05-071-0/+11
| | | | | | Task-number: QTBUG-67917 Change-Id: I88e783ff7bcc530b13edfd3e21565953433293dc Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Replace existing controls demos with controls 2 gallery exampleJuho Annunen2018-05-041-1/+11
| | | | | | Task-number: QTBUG-62805 Change-Id: If63369430adffa875b0e96a148a03ab908a1dea2 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Add new fontsJuho Annunen2018-05-041-1/+7
| | | | | | | Task-number: QTBUG-65302 Change-Id: I9ec2e7f5f904aa148aa29048ccbb84060e1bb3f1 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Update license headersKari Hormi2016-06-071-7/+36
| | | | | | | - Update all license headers to commercial+BSD Change-Id: I7dbf9d967cde7dfe21bef255ea63652b42fccb71 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Update license headersTopi Reinio2016-05-031-11/+14
| | | | | | | | | - Update Copyright year and holder, unify license text formatting - Update BSD, LGPL licenses for files originating from Qt repositories Change-Id: Id77f62f754c3bb29bb4b1c816e3f984a087ee87e Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Make standalone demos work with 2d renderer5.4Samuli Piippo2015-05-291-21/+5
| | | | | | | | | | | | | | Standalone application did not work in non-gpu devices (colibri vf), when the root item did not have size set. Fix this by using the same code as qtlancher has: - QQmlApplicationEngine instead of QQuickView - only one main qml file - Window as root item Change-Id: I482dd86e44faac5dac1839dfb88c5647a0425de6 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com> Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
* Merge branch 'stable' into devaavit2014-10-151-2/+2
|\ | | | | | | Change-Id: I0ff4fb4cb9acd73db397bc44c2970a7286a2d0c2
| * Change URLs to qt.ioRainer Keller2014-10-071-2/+2
| | | | | | | | | | Change-Id: Ib106911de0365837b97bf4c5c374c97611a276cc Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* | webengine: update demo for QtWebEngine in Qt 5.4Andras Becsi2014-09-221-3/+2
|/ | | | | Change-Id: Ic731441399f78e2044555bfc4860b499c425bee2 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Add a simple WebEngine demo to the B2Qt basicsuiteAndras Becsi2014-05-191-1/+14
| | | | | | | | Add a simple demo browser which by default loads the local webgl example. Move the webgl example to the root directory to be deployed. Change-Id: Icb0442ef37dcb31e6e1d33eee279bf429c566106 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Fix PieMenu not showing in enterprise-gallery launcher demo.Mitch Curtis2014-04-111-0/+8
| | | | | | | | | | | | | | | The problem is that the root item doesn't get the correct size - or any size for that matter - so it is never visible. The fix for this is already in Qt 5.3 (see QTBUG-36938), but we can still work around it for earlier versions with this fix. Task-number: QTRD-3040 Change-Id: I38a5f793cf1cc07a758d9118c31bc3177a75da54 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Kalle Viironen <kalle.viironen@digia.com> Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Change default font for demos to support arabic numbersPasi Petäjäjärvi2014-04-081-2/+2
| | | | | | | | | Demos itself did use the wrong font when virtualkeyboard used the correct one. Task-number: QTEE-354 Change-Id: I987b7b6d9c1132c906b6283951bbe46d38237a3d Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Fix stand alone demo layout issues on portrait devicesGatis Paeglis2014-02-211-1/+7
| | | | | | | | | | | | B2Qt demos are designed for landscape view, nexus by default is a portrait device, so we have to rotate demos by 90 degrees to show them in portrait view on nexus. This matches the implementation from b2qt-launcher. Task-number: QTEE-432 Change-Id: Id063dc4a3ff97d86a3a02cb62f1066882316208f Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Add QtWidgets dependecy to shared.priGatis Paeglis2014-02-201-3/+4
| | | | | | | | Task-number: QTEE-417 Change-Id: I927a6ac2bfe4fbce4819bd740f4a7d1df19466ac Reviewed-by: Kalle Viironen <kalle.viironen@digia.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Update copyright yearaavit2014-02-121-1/+1
| | | | | Change-Id: I55381dedffc4d86bc25b0c3f6ef18230d70272ee Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Enable virtual keyboard when building demos stand-aloneTopi Reinio2014-01-301-3/+4
| | | | | | | | | | Add a shared QML file that defines an InputPanel and loads the main QML for each demo. Also, - Do not define QT_IM_MODULE (set already in the system) - Improved exclude file parsing to match b2qt-launcher Change-Id: Ibdd0371a57878ef7bc585aa67fcd148377f54bc6 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Make basicsuite demos run stand-aloneTopi Reinio2014-01-271-0/+80
This change will make the demos run standalone when built in Qt Creator. - Rename example directories to lowercase/non-whitespace to avoid build & deployment problems - Add title.txt files so titles remain displayed correctly in the launcher - Add a common shared source files used for the standalone apps, and .pro-files for each example - Remove .qmlproject files (not needed) - Adjust documentation to match the new directory structure Change-Id: Ib24e461952da3b2c88aab0363249115ea44ee0f2 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>