Revert change from QIODevice to QFileDevice.Follow up on 924ebcdbc9b9e590a5f0905941e2d05ac34d4be2 (Part 2).
Remove some unused methods. Cleanup some unused code. Add some
documentation what the Archive class does and is used for. Add
copy method and switch back the class to inherit from QIODevice
as also the Archive class does not work as QFileDevice descent.
Change-Id: Ia20f02c5aa53ba977fdc1d14785031b0cfbce386
Reviewed-by: Kai Koehne <...
Fix broken tools after switching to QFileDevice.Follow up on 924ebcdbc9b9e590a5f0905941e2d05ac34d4be2 (Part 1).
Get rid of KDSaveFile, reuse QTemporaryFile. After changing
KDSaveFile to inherit from QFileDevice, it turns out to be not
working properly anymore and crashing e.g. binarycreator while
using it. To save fixing it we just switch to QTemporaryFile.
Change-Id: I785a04db91b431f5e122f193ecf2ef3c54e34b1c
Reviewed-by: Kai Koehne <kai.ko...
Doc: replace \a with \c in .qdoc filesThe \a command should only be used in code documentation
(in .cpp files), where QDoc uses it to check that all
formal parameters are documented and emits warnings if
they are not or if they are misspelled.
Change-Id: I37710afcd860f9baa3042337aca98fac6701b997
Reviewed-by: Niels Weber <niels.weber@digia.com>
Add optimized Qt configure flagsAdd -skip statements for unneeded modules. Also disable Qt features
we don't need, including -developer-build.
Change-Id: Ic82d8c0ef9f8cf172a1623268322b028fc74853c
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Doc: add the list of C++ classes also to front pageChange-Id: Ic4eb6378f6010cdaa014ea4b8e9ce3f07818eae3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Doc: update copyright year to 2014 in doc filesChange-Id: I72e840dfb737f8e96edf09e2dce74b29c255c326
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Doc: update end user workflow sectionsTry to make it clearer what "adding components"
means and that the Qt 5 installer is used as an
example implementation in these sections.
Update Qt 5 installer screenshots.
Change-Id: I43f104b3a827b4e69313e01405bb088c52c46817
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Replace 'configure options' by 'configuration options'This makes INSTALL in line with getting-started.
Change-Id: I36e1141785c9068c03f653aa2d3d6cd3c347159e
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Drop '-no-opengl' Qt configure argument for OS XCompilation for -no-opengl on Mac OS X only got fixed in 5.4, qtbase
commit a12ba316161b23b .
Change-Id: I74d2cfd6b42c673ee72fbd4977eda92a82618748
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Linux: Add -qt-xcb to recommended configure flagsAlso drop trailing './' in command line, and adapt to new Mac
naming conventions: The OS is just "OS X", not "Mac OS X" anymore.
Change-Id: I95c18080261e54ed8abe1b9307340e834934fb61
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Don't try to elevate user rights if impossibleOn Windows, if the user doesn't have administrative rights, we have
to query the system policy for UAC. If UAC is not enabled, it is
obviously not possible to use UAC to elevate the user's rights.
Change-Id: Ieccf112efb50a6426277b32516ab58ca467a364e
Reviewed-by: Sascha Cunz <sascha.cunz@gmail.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Doc: do not use the deprecated \bold commandIn Qt 5, you should use \b, but in these cases, you
should rather use \e, for emphasis, or \c, for code.
Change-Id: I68fe20394a180279b107986f4dbf4bc1fa54ede9
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Fix possible case of uninstalling whole windows.Task-number: QTIFW-511
In case we couldn't read the .dat file or the config file,
target dir will return the path the application was started.
Now we bail out early if one of the files is missing. Fixes
also some outdated code mess when we switched from a single
binary maintenance tool to the split binary version.
Change-Id: I4c70ac4ca63142873ed1521df47d74331669b576
Reviewed-by: Kai Koehne <k...
Revert "Make the auto tests available by default."This reverts commit fca72823ea2a9c627e86d2fb769929999ed6fe43
to speed up compilation on slower systems. It introduces the
possibility to set an environment variable or pass BUILDTESTS
as argument to qmake to make the tests available.
Change-Id: Iab5846473bac2dddbec85b45a7a7ad70552171a4
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Split out the file IO stuff and adjust other files respectively.Also adjust the API to use QFileDevice instead of QIODevice to
make clear we just operate on files here and not on any possible
device like sockets, processes etc...
Change-Id: I4ecbb6e244fe4bb666ed12e62f9f5586bc1347f0
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Initialize both client and server with default values.Change-Id: I51934b0de77b1062153f5f60be44d4bcf4be5ee5
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Doc: generate list of C++ classes and QML typesChange-Id: I56e1f94faff2cb8d9817daff4f61958aa53d6d78
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
binarycreator: add qico and qtaccessiblewidgets as QTPLUGINsCommit 807de076f4fee6c relies on the autoplugs mechanism (added in
qtbase commit 4255ba40ab073af) to add the needed statically linked
plugins; however because binarycreator is a console app it doesn't
depend on gui (QT -= gui) this mechanism fails to add the plugins.
Change-Id: If96b0e2c03d229ad1026602b8e8117babda03481
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimr...
Enable QStringBuilderQStringBuilder improves the speed of string concatenation a lot ...
Change-Id: I9dedf7c3335ebf4a9194e837f9eb8135fae11356
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Fix AdminAuthorization implementation.- execute() does the magic of getting privileges and starting
the process
- hasAdminRights() simply returns if we started privileged..
Change-Id: I0940a02556fe240af0ee7dfb068f7f8009eb683e
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Make cycles in component dependencies fatalWarn the user when sorting operations fails due to cyclic
dependencies. Previously we would just continue, saving an
incomplete list of operations.
Change-Id: I0d80ad142e5d6936bbfab69835ff539a893cb180
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Respect AllowSpaceInPath moreIf TargetDir is not set but spaces are allowed in path,
don't avoid spaces in the constructed default path.
Change-Id: I0b38227400fbcd71f06990d475a8776040fafa4c
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Doc: fixed links to QMessageBox documentationIn Qt 5, you have to specify the index files for
the Qt 5 modules that you want to link to for QDoc
to find them. If you add the brackets in the end of
the method name, QDoc creates the links automatically
and you do not need the \l command.
Change-Id: Ia3dd78bb17e9c176747d406216930295c9fa02a8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Doc: fixed a broken tableEach row in a table must have the same amount of
\li commands, or the table formatting breaks.
Use line breaks and empty lines if you want to
add several text paragraphs to a table cell.
Change-Id: I7a19bc883c0de18c247ca6c550dd37dba64c89d5
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Doc: replace "Max OS X" with "OS X"According to Apple naming conventions.
Change-Id: I4e7e5334987543118ae18d8547f58d01260f2493
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Doc: replace \o with \liThe \o QDoc command has been deprecated in QDoc for
Qt 5 and using it prints a QDoc warning.
Change-Id: Ibf0be59f3953bd731c2133cee3ec399e51df84a5
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Fix crash while canceling the meta data unzip task.The crash happens cause in reset we do a delete later on the
unzip tasks and then a second delete while not checking early
enough for the set error code.
Change-Id: Iee17cd6863435d25c0c999fb0cc4e05672de3cc8
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Some more Qt5 QT_VERSION fixes.Change-Id: I1b3596939cd4aca2b91da3f5b09f50f2639b6fbd
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Use int instead of QFlag/Enum values (advised by Simon).Change-Id: I217205d1256b15432bc3647292bbcbd19077c3e4
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Expose qsTr to the scripts, makes component error example work.Change-Id: I73be2490182af8582b3e56b177e8ca26c950fa97
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Fix endless loop.Caused by the fact that the settings wrapper did not support
anything different then native format, we had to trick the wrapper
into using its default QSettings object which in turn uses a
QFile (which roundtrips to the admin server) to write the settings
out (behind the scenes). The blocking appeared only on Linux cause
there we try a native call fcntl(handle, F_SETLKW, &fl) to lock the
file d...
Fix tutorial example- remove translations part
- replace installation dir (root) with home
in order to properly finish the installer wizard
with default values
- AllowSpaceInPath is now true by default (ChangeLog updated)
Change-Id: I84e372ac4da05964d90851bf592fc87ee9409e3b
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>