summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
Commit message (Collapse)AuthorAgeFilesLines
* Improving clipboard integrationKevin Krammer2012-03-062-44/+157
| | | | | | | | | | | | | | | | Derive a data accessor class from QMimeData so application level code can query MIME type availability through it or directly attempt to fetch data by MIME type even if the type is not yet known to QBBClipboard. Also make sure any MIME type used by the application in setMimeData operations is checked for availability when being queried for formats. This is a backport of 08cc2d27794e6bafb75cdc35b6966def35f9facb in master of Qt5 qtbase Change-Id: I86455cfb58e2e00ac3e992a8228ee7167f8d2a20 Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Add egl include paths and link lines to eglfs.Girish Ramakrishnan2012-03-061-0/+11
| | | | | | | Similar to the code in gui/egl/egl.pri. Change-Id: I1dbcf6f0d70405d8dc9f404bfed64fdfcd7c14ab Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* React to changes of focus widgetKevin Krammer2012-03-052-0/+15
| | | | | | | | | | | Needed to automatically show/hide virtual keyboard when focus changes in or out of an input widget Change-Id: I21325452938e1d551bcc4421721f3bc5d85c5fbf Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Nick Ratelle <nratelle@qnx.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fixing z-ordering of windowsKevin Krammer2012-03-021-1/+1
| | | | | | | | | | | | | | The application root window is at z-order == 0, all platform windows created for Qt windows are its descendants, so their base value for z-order needs to be 1. Backport of qtbase 117bdad3f270a4c0589cff332a7a8e904263de08 Change-Id: Ic1fb91c30559177bc094a5db96e4088860a8d6ac Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Nick Ratelle <nratelle@qnx.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fixed handling of keyboard info messages.Kevin Krammer2012-03-021-3/+3
| | | | | | | | | | | | | Country and language values were assigned to in the case of decoding failure but left unchanged in case of success. Thus members mLanguageId and mCountryId remained at "en" and "US" respectively instead of being changed to whatever the keyboard sent. Change-Id: I9f48a55d3c431458426c5c4da8e69600948f219b Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Nick Ratelle <nratelle@qnx.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Include blackberry QPA plugin when building for blackberry make specKevin Krammer2012-03-021-0/+3
| | | | | | | Change-Id: Ia756609ed4406deacf92e15b4e6591a91ef5c8a6 Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Nick Ratelle <nratelle@qnx.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Fix xcb-icccm 3.8 supportGirish Ramakrishnan2012-03-011-0/+25
| | | | | | | | | | | | Build fix on platforms having xcb-icccm >= 3.8 This is a backport of 7ce8491280990350162933a0716d1b014f65aeb6 and f005dee1b3692a09e47782dcff9b5b07aa659b51 from qtbase. Change-Id: Ic6cbb555335a74cc7b00273081c249aa7e08afaf Reviewed-by: Holger Freyther <holger+qt@freyther.de> Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Port QBBRootWindow from the Qt 5 QPA plugin.Robin Burchell2012-02-255-222/+375
| | | | | | | | | This lessens unnecessary delta between the two. Change-Id: I3bb33d977573e3404dd08c2f4e396d18dd63ddc7 Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Initial import of the BlackBerry Playbook QPA plugin.Rafael Roquetto2012-02-2133-0/+7381
| | | | | | Change-Id: Ibc883be9af145eafef2e5ff9eb82c3364bace331 Reviewed-by: Sean Harmer <sh@theharmers.co.uk> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Change bugreports.qt.nokia.com -> bugreports.qt-project.orgSergio Ahumada2012-02-091-1/+1
| | | | | | Change-Id: Ib13737eac7f7cee3ebca44aa712cb6b152672a81 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* uikit: adapt to new xcode and examples.Eike Ziller2012-01-253-21/+23
| | | | | Change-Id: I284199e0f0e77d28e1c72be1aaae1a9ac7c0f465 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* uikit: update readme, endian test fails with newer xcodeEike Ziller2012-01-251-2/+2
| | | | | | | | The test assumes that the "strings" command in the PATH is able to handle target binaries, which fails. Just specify explicitly. Change-Id: I8488cb8e71f47f564dfb1790c505e94b2d4a7def Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-11222-222/+222
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* directfb: Backport the work from QtBase to Qt 4.8Holger Hans Peter Freyther2011-12-1319-282/+653
| | | | | | | | This is copying the files (minus the API changes) to Qt 4.8. It fixes memory leaks, adds DirectFB based image decoding, prepares EGL integration/ Merge-request: 1492 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* [blitter] Work on tst_QPixmap::clear()Holger Hans Peter Freyther2011-12-132-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | By default QPixmap may not hasAlphaChannel(), only if setMask() or fill() with a transparent color is called a QPixmap will hasAlphaChannel(). Make the QBlittablePlatformPixmap remember if there is an alpha channel, pass this as parameter in createBlittable to make it clear that this is required and not optional. Update the DirectFB plugin to handle this parameter to create a RGB32 or ARGB Surface depending on the alpha value, also only use PreMultiplied alpha when using ARGB. Separate the two constructors for the QDirectFbBlitter to either adopt a DirectFB Surface or to create one. Cherry-picked-from: qtbase:ab50b60f5cc237d5620f3ff3b2eb44c857f8f60b Change-Id: I8abf82408ecd2d075fc6f241ace8be2a34ac56e7 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com> Merge-request: 1492 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-water-staging into ↵Qt Continuous Integration System2011-11-292-0/+0
|\ | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-water-staging: Set execution bits for more scripts. Set execution bits for .test files. Fix more permissions (no execute bit). Fix permission (no execute bit). QGraphicsLayoutItem - bound constraint the minimum and maximum size Notify X11 of its resizable state through MWM Hints.
| * Fix permission (no execute bit).Frederik Gladhorn2011-11-222-0/+0
| |
* | Merge remote-tracking branch 'qt-qa-review/master'Sergio Ahumada2011-11-262-2/+2
|\ \ | |/ |/|
| * Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-qa-teamQt Continuous Integration System2011-08-222-2/+2
| |\ | | | | | | | | | | | | * 'master' of git://scm.dev.nokia.troll.no/qt/qt-qa-team: Doc: Fixing typo
| | * Doc: Fixing typoSergio Ahumada2011-08-172-2/+2
| | | | | | | | | | | | | | | | | | | | | Reducing the amount of spelling errors from NBN. Change-Id: I9b228bb95b4a757cff57595125009e70b0097d86 Reviewed-by: Rohan McGovern
* | | Allow shared EGL contexts for xcb and xlib platformsReuben Dowle2011-09-192-2/+2
| | | | | | | | | | | | | | | Merge-request: 1331 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* | | Allow generic EGL platform contexts to be sharedReuben Dowle2011-09-192-3/+4
| | | | | | | | | | | | | | | Merge-request: 1331 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2011-08-311-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: don't crash when destroying the shortcuts Disable activeqt on win32-g++ (it doesn't build). fix warning remove unused functions Make the DBus timeout configurable in QDBusAbstractInterface. Fix a typo in qt-conf docs. Revert "Fix build with the Clang compiler" Added missing no_include_pwd check Replace 'i < len-1 && func(i+1)' by 'i+1 < len && func(i+1)' Fix build with the Clang compiler Change spacing of title in offline style. Add support for rawFonts loaded from data in FaceId examples: fix compilation with namespaced Qt. Russian translation update Update Japanese translations for Qt 4.8. directfb: Include directfbgl.h directly tests: fix QNetworkProxyFactory test don't detach until the list is going to be modified optimize QList::removeAll()
| * \ \ Merge remote-tracking branch 'upstream/4.8'Sergio Ahumada2011-08-2911-59/+274
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tools/qdoc3/cppcodemarker.cpp
| * \ \ \ Merge remote-tracking branch 'mainline/4.8'Oswald Buddenhagen2011-08-264-9/+30
| |\ \ \ \
| * | | | | directfb: Include directfbgl.h directlyHolger Hans Peter Freyther2011-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directfb.h is included directly in all other files, include directfbgl.h without the directfb/ prefix as well. $ pkg-config --cflags directfb -D_REENTRANT -I/home/foo/install/directfb/include/directfb Merge-request: 2643 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | | | | | Merge remote-tracking branch 'review/master'Sergio Ahumada2011-08-291-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Do not unconditionally use pkg-config in .pro filesRohan McGovern2011-08-261-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the first pkg-config in PATH is prone to errors when cross compiling. This is a known issue, and `configure' already avoids using pkg-config for cross compiling (unless -force-pkg-config is used). However, there was previously no way for a .pro file to test whether or not the user had passed -force-pkg-config. Let !contains(QT_CONFIG, no-pkg-config) be used to test whether or not it is safe to run pkg-config.
* | | | | uikit: get rid of the "min 30fps" for event handling.Eike Ziller2011-08-251-9/+2
| | | | | | | | | | | | | | | | | | | | This is actually not needed if done correctly.
* | | | | uikit: update READMEEike Ziller2011-08-251-5/+14
| | | | |
* | | | | uikit: fix examples to no longer ship the custom fontsEike Ziller2011-08-242-12/+0
| | | | |
* | | | | Use CoreText for font rendering on uikit.Eike Ziller2011-08-249-33/+258
| |/ / / |/| | |
* | | | uikit: Use correct pixmap data format.Eike Ziller2011-08-191-1/+1
| | | |
* | | | uikit: Fixes for Open GL ES 1 and for pre-3GS devicesEike Ziller2011-08-171-5/+26
| | | |
* | | | uikit: Fix warning.Eike Ziller2011-08-171-1/+1
| | | |
* | | | Use thumb instructions for uikitEike Ziller2011-08-171-2/+1
| | | |
* | | | Update uikit README: svg works, warn about thumbEike Ziller2011-08-171-3/+4
|/ / /
* | | uikit: Use release Qt for simulator, update READMEEike Ziller2011-08-053-83/+103
| | |
* | | Automatic closing of input panel on uikit when QML item looses focus.Eike Ziller2011-08-053-6/+65
|/ / | | | | | | | | | | | | | | | | | | | | I.e. we remember which item had focus when we got the request to open the input panel, and close it when that looses focus, even if we don't get an explicit close request. Also set the "returnKey" to "Return" instead of "Done" if the focus item is a TextEdit. This adds a dependency of the platform plugin to declarative.
* | Remove debug output.Eike Ziller2011-07-261-1/+0
| |
* | Add some sound support to the uikit platform.Eike Ziller2011-07-2510-29/+827
| |
* | Add flickrdemo uikit example project.Eike Ziller2011-07-255-0/+638
|/
* Support interface orientation for uikit.Eike Ziller2011-07-187-19/+155
| | | | | Rotates app status bar. Adheres to UISupportedInterfaceOrientations and UIInterfaceOrientation.
* Properly quit the input event thread in the directfb platform plugin.Samuel Rødal2011-07-141-0/+2
| | | | Reviewed-by: Girish Ramakrishnan
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-teamaavit2011-06-296-591/+0
|\
| * Remove openvglite pluginPaul Olav Tvete2011-06-296-591/+0
| | | | | | | | | | | | This code does not compile, and it has not been maintained for almost two years. Reviewed-by: jlind
* | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging into ↵Qt Continuous Integration System2011-06-2913-88/+103
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-fire-staging: Fix vertical positioning of glyphs in raster engine with FreeType Ensure a small event check interval on uikit platform. Change default application font for uikit platform. Use the QPoint memory layout change only on Desktop Mac Fix 2cb398e1d901e62384bb2b388761cfd18fc8804a in case of no coreservices Add IPHONEOS deployment vars to makespec Post key events via QWindowSystemInterface, don't post events direcly Use nicer fonts and a few little patches to uikit platform. Update README and qmlapplicationviewer to suit 4.8. Updated proof-of-concept UIKit mkspecs
| * Ensure a small event check interval on uikit platform.con2011-06-281-1/+1
| | | | | | | | For some reason I sometimes get huge nextTimerEvent() values.
| * Change default application font for uikit platform.con2011-06-281-0/+6
| |
| * Post key events via QWindowSystemInterface, don't post events direclyIan2011-06-272-27/+12
| | | | | | | | | | Merge-request: 1275 Reviewed-by: con