summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/src/emb-install.qdoc4
-rw-r--r--doc/src/installation.qdoc51
-rw-r--r--src/corelib/kernel/qeventdispatcher_symbian.cpp6
-rw-r--r--src/gui/styles/qs60style.cpp10
-rw-r--r--src/gui/text/qtextcontrol.cpp5
5 files changed, 35 insertions, 41 deletions
diff --git a/doc/src/emb-install.qdoc b/doc/src/emb-install.qdoc
index 11b3f03..eb75697 100644
--- a/doc/src/emb-install.qdoc
+++ b/doc/src/emb-install.qdoc
@@ -42,10 +42,10 @@
/*!
\page qt-embedded-install.html
- \title Installing Qt for Embedded Linux
+ \title Installing Qt on Embedded Linux
\ingroup qt-embedded-linux
\ingroup installation
- \brief How to install Qt for Embedded Linux.
+ \brief How to install Qt on Embedded Linux.
This document describes how to install \l{Qt for Embedded Linux} in your
development environment:
diff --git a/doc/src/installation.qdoc b/doc/src/installation.qdoc
index 7cd7b0c..697427d 100644
--- a/doc/src/installation.qdoc
+++ b/doc/src/installation.qdoc
@@ -516,12 +516,12 @@ in the \l{Qt for Windows CE Requirements} document.
Install this to all S60 SDKs you plan to use Qt with.
\endlist
- Make sure you have the following packages installed on any device you want to use to run Qt applications.
- These packages can be found under \c nokia_plugin directory in any S60 SDK where you have installed Open C/C++:
+ Make sure you have the following plugins installed on your device. The packages can be found
+ in the S60 SDK where you installed Open C/C++:
\list
- \o pips_s60_<version>.sis
- \o openc_ssl_s60_<version>.sis
- \o stdcpp_s60_<version>.sis
+ \o nokia_plugin\openc\s60opencsis\pips_s60_<version>.sis
+ \o nokia_plugin\openc\s60opencsis\openc_ssl_s60_<version>.sis
+ \o nokia_plugin\opencpp\s60opencppsis\stdcpp_s60_<version>.sis
\endlist
These instructions assume the above tools are installed and
@@ -532,55 +532,38 @@ in the \l{Qt for Windows CE Requirements} document.
\o Depending on how you obtained the Qt for S60 release, follow the instructions in one of these pages:
\list
- \o \l{Installing Qt for S60 with installer}
- \o \l{Installing Qt for S60 from source package}
+ \o \l{Installing Qt on S60 binary package}
+ \o \l{Installing Qt on S60 source package}
\endlist
\endlist
*/
/*! \page install-S60-installer.html
-\title Installing Qt for S60 with installer
+\title Installing Qt on S60 binary package
\ingroup installation
\ingroup qts60
-\brief How to install Qt on S60 using installer.
+\brief How to install Qt on S60 using the binary package.
\list 1
\o Install Qt
- Run the \c{qt-s60-%VERSION%.exe} to install Qt.
+ Run \c{qt-s60-%VERSION%.exe} and follow the instructions.
\note Qt must be installed on the same drive as the S60 SDK you are
using, and the install path must not contain any spaces.
- \o Environment variables
-
- In order to build and use Qt, the \c PATH environment variable needs
- to be extended:
-
- \snippet doc/src/snippets/code/doc_src_installation.qdoc 18
-
- This is done by adding \c{c:\Qt\%VERSION%\bin} to the \c PATH variable.
-
- On Windows the PATH can be extended by navigating to
- "Control Panel->System->Advanced->Environment variables".
-
- \note Instead of modifying system path, you can also use the "Qt S60 Command Prompt"
- to build your applications. It can be launched from start menu.
-
- In addition, you must configure the environment for use with the S60
- emulator. This is done by locating the Carbide.c++ submenu on the Start
- menu, and choosing "Configure environment for WINSCW command line".
-
\o Running Qt demos
We've included a subset of the Qt demos in this package for you
to try out. An excellent starting point is the "fluidlauncher"
demo. To run the demo on a real device, you first have to install
- \c{qt_libs.sis} and \c{fluidlauncher.sis}
- found at Qt installation directory to the device.
+ \c{qt_libs.sisx} and \c{fluidlauncher.sisx} found in the Qt installation
+ directory. In Windows Explorer right click on the \c{.sisx} files and select
+ "Install with Nokia Application Installer" and follow the instructions.
- To run the demos and examples on the emulator, you need to build them first:
+ To run the demos and examples on the emulator, you need to build them.
+ Open the "Qt for S60 Command Prompt" from the Start menu and type:
\snippet doc/src/snippets/code/doc_src_installation.qdoc 25
@@ -600,10 +583,10 @@ in the \l{Qt for Windows CE Requirements} document.
*/
/*! \page install-S60-sources.html
-\title Installing Qt for S60 from source package
+\title Installing Qt on S60 source package
\ingroup installation
\ingroup qts60
-\brief How to install Qt on S60 from source package.
+\brief How to install Qt on S60 using the source package.
\list 1
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp
index 30b865e..c5d91c2 100644
--- a/src/corelib/kernel/qeventdispatcher_symbian.cpp
+++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp
@@ -454,8 +454,8 @@ void QSelectThread::requestSocketEvents ( QSocketNotifier *notifier, TRequestSta
}
QSelectMutexGrabber lock(m_pipeEnds[1], &m_mutex);
-
- Q_ASSERT(!m_AOStatuses.contains(notifier));
+
+ Q_ASSERT(!m_AOStatuses.contains(notifier));
m_AOStatuses.insert(notifier, status);
@@ -711,7 +711,7 @@ bool QEventDispatcherSymbian::processEvents ( QEventLoop::ProcessEventsFlags fla
break;
}
block = false;
- if (timeState == TimeStarted && time.elapsed() > 500) {
+ if (timeState == TimeStarted && time.elapsed() > 100) {
priority = m_processHandle.Priority();
m_processHandle.SetPriority(EPriorityLow);
time.start();
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 068f5b3..56b7e7c 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -560,10 +560,20 @@ void QS60StylePrivate::drawRow(QS60StyleEnums::SkinParts start,
startRect.setWidth(qMin(rect.width() >>1 - 1, startRect.width()));
endRect = startRect.translated(rect.width() - startRect.width(), 0);
middleRect.adjust(startRect.width(), 0, -startRect.width(), 0);
+ if (startRect.bottomRight().x() > endRect.topLeft().x()) {
+ const int overlap = (startRect.bottomRight().x() - endRect.topLeft().x())>>1;
+ startRect.setWidth(startRect.width()-overlap);
+ endRect.adjust(overlap,0,0,0);
+ }
} else {
startRect.setHeight(qMin(rect.height() >>1 - 1, startRect.height()));
endRect = startRect.translated(0, rect.height() - startRect.height());
middleRect.adjust(0, startRect.height(), 0, -startRect.height());
+ if (startRect.topRight().y() > endRect.bottomLeft().y()) {
+ const int overlap = (startRect.topRight().y() - endRect.bottomLeft().y())>>1;
+ startRect.setHeight(startRect.height()-overlap);
+ endRect.adjust(0,overlap,0,0);
+ }
}
#if 0
diff --git a/src/gui/text/qtextcontrol.cpp b/src/gui/text/qtextcontrol.cpp
index 6647558..69e1ee4 100644
--- a/src/gui/text/qtextcontrol.cpp
+++ b/src/gui/text/qtextcontrol.cpp
@@ -1841,8 +1841,9 @@ void QTextControlPrivate::inputMethodEvent(QInputMethodEvent *e)
const QInputMethodEvent::Attribute &a = e->attributes().at(i);
if (a.type == QInputMethodEvent::Selection) {
QTextCursor oldCursor = cursor;
- cursor.setPosition(a.start, QTextCursor::MoveAnchor);
- cursor.setPosition(a.start + a.length, QTextCursor::KeepAnchor);
+ int blockStart = a.start + cursor.block().position();
+ cursor.setPosition(blockStart, QTextCursor::MoveAnchor);
+ cursor.setPosition(blockStart + a.length, QTextCursor::KeepAnchor);
q->ensureCursorVisible();
repaintOldAndNewSelection(oldCursor);
}