Commit Graph

8 Commits

Author SHA1 Message Date
Sona Kurazyan cd9939d50b Prepare for moving qVersion() from qglobal.h to qlibraryinfo.h
Include qlibraryinfo.h where it's used.

Change-Id: Ie2ea09458380e012f594e765b50a311a20b423d8
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2022-08-30 18:53:01 +02:00
Lucie Gérard 0dc4fd240a Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Files that have to be modified by hand are modified.
License files are organized under LICENSES directory.

Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2022-06-11 08:05:15 +02:00
Alexandru Croitor 1c5c5f7aad Fix Qt6 build in preparation of qt5 submodule update
Fixes the QTextStream usages.

Change-Id: I0c009a82fb644a9f3c3d42ec410d18b680977f23
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-07-08 05:56:02 +02:00
Friedemann Kleint 56d627832d Tools: Fix deprecation warnings about QProcess::finished(int)
Use QProcess::finished(int, QProcess::ExitStatus) with QOverload,
fixing:
qmlpreviewapplication.cpp:151:86: warning: ‘void QProcess::finished(int)’ is deprecated: Use QProcess::finished(int, QProcess::ExitStatus) instead [-Wdeprecated-declarations]
     connect(m_process.data(), static_cast<void(QProcess::*)(int)>(&QProcess::finished),
qmlprofilerapplication.cpp:475:83: warning: ‘void QProcess::finished(int)’ is deprecated: Use QProcess::finished(int, QProcess::ExitStatus) instead [-Wdeprecated-declarations]
    connect(m_process, static_cast<void(QProcess::*)(int)>(&QProcess::finished),

Change-Id: I0eb09e398b2a3b307fdd67a3fe505b1bdd1078f8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-02-05 11:48:42 +00:00
Ulf Hermann 3a54b30784 Tools: Improve wording
We start an executable and that results in a process. "program" is not
very well defined here.

Change-Id: Iec00ec806843c93951f0dcfbfe46984bf599470f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-11-22 08:12:15 +00:00
Ulf Hermann 80d26c1508 qmlpreview: Use a better file system watcher
We need to keep watching files even if they are removed and re-added as
editors frequently do when manipulating text files. QFileSystemWatcher
cannot do this by itself, and our simplistic timeout-based attempt
didn't work work properly either.

Fixes: QTBUG-71768
Change-Id: I21e914138179ad8adf07f0196fec8ddcda2cbfca
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-11-14 10:50:55 +00:00
Ulf Hermann 1613e32042 qmlpreview: Fix typo
Change-Id: I5b8a674e77f770e4987e03ccf02b5a27c4987e24
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2018-11-14 10:50:51 +00:00
Ulf Hermann 4dbcd6d618 Tooling: Add a command line application for QML preview
The "qmlpreview" tool connects to the preview service, and watches any
file successfully served to the application. If any of those files
change on disk, the new file is sent and the root component is reloaded.

Task-number: QDS-181
Change-Id: I2266167ada6e463c11be0d7548c2b96e31e79839
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-07-13 11:52:57 +00:00