aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlpreview/qmlpreviewapplication.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for moving qVersion() from qglobal.h to qlibraryinfo.hSona Kurazyan2022-08-301-0/+1
| | | | | | | Include qlibraryinfo.h where it's used. Change-Id: Ie2ea09458380e012f594e765b50a311a20b423d8 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-111-27/+2
| | | | | | | | | | | | 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>
* Fix Qt6 build in preparation of qt5 submodule updateAlexandru Croitor2019-07-081-2/+2
| | | | | | | | 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>
* Tools: Fix deprecation warnings about QProcess::finished(int)Friedemann Kleint2019-02-051-1/+1
| | | | | | | | | | | | 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>
* Tools: Improve wordingUlf Hermann2018-11-221-13/+13
| | | | | | | | 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>
* qmlpreview: Use a better file system watcherUlf Hermann2018-11-141-24/+4
| | | | | | | | | | | 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>
* qmlpreview: Fix typoUlf Hermann2018-11-141-1/+1
| | | | | Change-Id: I5b8a674e77f770e4987e03ccf02b5a27c4987e24 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Tooling: Add a command line application for QML previewUlf Hermann2018-07-131-0/+266
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>