Go to file
Mitch Curtis 98803a76b3 Fix QIODevice warning when running rcc.
When opening a QFile on stdout, for example,
we must not call seek as it is a sequential device.
This has been flagged as a warning since commit Ie3a96d3a
and has resulted in spurious warnings being emitted.

In the case of opening a QFile in Append mode, QIODevice::open
already sets the position marker, so calling seek is redundant.
This is also true for the file engine's open function (called
through openExternalFile()), which also ensures the handle or
descriptor is repositioned appropriately.

Task-number: QTBUG-26104
Change-Id: I71040c399efe54e7538f54433368b432e959e08d
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-06-26 19:30:00 +02:00
bin let default_pre add modules to the qmake path 2012-06-19 16:46:03 +02:00
config.tests clang: Do not use libstdc++ when C++11 is enabled 2012-06-19 00:39:28 +02:00
dist Record if a metatype is a smart pointer to a QObject derived. 2012-06-20 15:45:07 +02:00
doc Remove the MacMainWindow example. 2012-05-30 01:54:45 +02:00
examples QGraphicsItem::setAcceptsHoverEvents is deprecated, replace it 2012-06-26 04:18:22 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs make using testlib automatically "promote" all modules to -private 2012-06-26 11:51:34 +02:00
qmake clean up specdir() 2012-06-26 19:29:34 +02:00
src Fix QIODevice warning when running rcc. 2012-06-26 19:30:00 +02:00
tests Fix QIODevice warning when running rcc. 2012-06-26 19:30:00 +02:00
tools Avoid macro re-definition after 1838a6c2fb 2012-06-26 11:37:57 +02:00
util QUnicodeTables: some internal API renamings 2012-06-22 09:47:59 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore ignore mkspecs/modules-inst/ 2012-06-26 11:51:29 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure purge QMAKE_INCDIR_QT and QMAKE_LIBDIR_QT 2012-06-19 16:39:59 +02:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Restore building of examples, tests. 2012-06-22 05:21:52 +02:00
sync.profile don't refer to removed headers 2012-06-19 16:46:04 +02:00