| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
According to QUIP-18 [1], all tool files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
[1]: https://contribute.qt-project.org/quips/18
Task-number: QTBUG-121787
Change-Id: I6a82a5e561fbb82413087340d198989c72a3e87a
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The actual moc hasn't changed since 6.7 was branched off. We can pick
the change back.
Pick-to: 6.7
Fixes: QTBUG-121344
Change-Id: Ied2406ccfdd8307e8f142ff68e45a27786089cc1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to explicitly cast the string data to char now because we want
to use the moc helper functions that expect char*. Previously we got
away with unsigned char* by declaring the members ourselves. Since we
always want to cast to char anyway when retrieving the data, it doesn't
matter.
Task-number: QTBUG-116255
Change-Id: I1ca017b5b434942606675514eddceb1f725a8bd7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The qscxmlc tool uses source files from Scxml module. These source
files use module include style that requires header files be in "sync".
Add the explicit dependency on Scxml_sync_headers target to the
qscxmlc tool.
Change-Id: I561ee0e90f9483bbbaf50a140b50d5a2be068078
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.5
Fixes: QTBUG-110352
Change-Id: I6ca9b1412d8206413a8ec1137413132e37bccaa9
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
When models are set to statemachines with
QScxmlStateMachine::setDataModel(), the state machine does not
assume ownership of the model.
Pick-to: 6.5
Change-Id: I18e69f8c34906719b7f729eab7d46d271cfdf950
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This applies qtbase/b8c2a0c18a0676595946b5543ff88492a5fc7876 to the
copy of the moc code used in qscxmlc. The moc copy here is severely
out of sync with the qtbase version, so just running update_moc.sh
produces a lot of conflicts, which is why I only applied this one
patch.
Created QTBUG-109556 to keep track of the rest.
Fixes: QTBUG-109235
Pick-to: 6.5 6.4 6.2 5.15
Change-Id: I9e033453928110ac2aab1ecd6cde824c6abe0a97
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.
Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.
Task-number: QTBUG-99313
Change-Id: I4b4548c9d4a13337731159c1e1184e48bb0a328b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a semantic patch using ClangTidyTransformator as in
qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8:
auto QtContainerClass = anyOf(
expr(hasType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes))))).bind(o),
expr(hasType(namedDecl(hasAnyName(<classes>)))).bind(o));
makeRule(cxxMemberCallExpr(on(QtContainerClass),
callee(cxxMethodDecl(hasAnyName({"count", "length"),
parameterCountIs(0))))),
changeTo(cat(access(o, cat("size"), "()"))),
cat("use 'size()' instead of 'count()/length()'"))
a.k.a qt-port-to-std-compatible-api with config Scope: 'Container',
with the extended set of container classes recognized.
Change-Id: Iaf46b2ba54f3b125aee087c2cacb702d8d564201
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-105718
Change-Id: I31c9b88ff5d23016fe8844d711553b010d9ba46e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.
Existing copyright statements remain intact
Task-number: QTBUG-88621
Change-Id: I5d2588f7e3fd99bbb8bccca1dcb256afc215231b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: Ic435d3a484be01542f27431068419a2c252bd1f6
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-94446
Change-Id: I88f42eb731cbd9514f34a0e9e88b1ce90a4cf9e8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The compiler is usually not called manually, but through the build
system.
Task-number: QTBUG-88791
Change-Id: I5077b8110e2a840b2e97a922988bfa6f286a1a1f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Call qt_internal_return_unless_building_tools() directly after
qt_internal_add_tool() to avoid having to special-case code for when
this function only creates imported targets in cross-builds.
Task-number: QTBUG-85084
Change-Id: I446c902ce6c66e722f9aa8b19aaec670bb065824
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renaming as a result of CMake API review. The old option names
are still supported but marked as deprecated.
[ChangeLog] Rename QSCXMLC_ARGUMENTS and OUTPUT_DIR CMake variables
to be better aligned with other CMake APIs (OPTIONS and
OUTPUT_DIRECTORY respectively).
Pick-to: 6.2
Task-number: QTBUG-95178
Change-Id: I8500dd4e1d992ccba7378d37cda65d9760558dc5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Define the repo target sets qtscxml, qtscxmlqml, statemachine and
statemachineqml.
Change-Id: Id6ad659c942926e71027a108b9089d92bc5b2274
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The aim is to include the macro to Qt6 cmake command reference.
The commit also improves the macro's documentation which was a
bit of a mix-and-match and not fully documented in the central
location.
Pick-to: 6.1
Task-number: QTBUG-82460
Change-Id: Ia9cfa50df5af9872779d015894e914a7d45bb8c1
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a small script that can be used to both generate
patch files and update the moc code from the upstream moc by applying
these patches.
The main purpose is to ease the synchronization work which has thus
far been done manually.
Pick-to: 6.1
Task-number: QTBUG-89830
Change-Id: I8c984b3ebcbefae2dfba4b4e887238f36b9c9c07
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
With qmake this is taken care of by other means in the qscxmlc code
template, but with cmake user needs to make an additional adjustment.
Pick-to: 6.1
Task-number: QTBUG-89828
Change-Id: Ieb0d12ae1b46032671ac41360b01fd52eff189af
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove qmake support by removing *.pr? files, with some exceptions:
- Keep qmake support for the examples
- Keeps qscxmlc.prf to retain STATECHARTS support for .pro files
Also remove:
- "#special case" and "# Generated from" comments from cmake files
- .prev_CMakeLists.txt files
Note: configure.json files are still kept as they still used
to generate the configure.cmake
Pick-to: 6.1
Task-number: QTBUG-89828
Change-Id: Ie9c7e86d099bbdc535f52b9f3e841fcf3973ca36
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Move qscxmlecmascriptdatamodel to a plugin
to remove the build time qml dependency.
Task-number: QTBUG-89831
Change-Id: Ibac93cfe39e35c084ed9811a113c88cc660c0436
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some perhaps less-obvious changes are:
-Remove nonexistent imagedirs reference in qdocconf
-Address some qdoc warnings (“/“ usage in an example and also
std::function handling)
-Fix ftpclient example filename references
-Mark an escaped Q_OBJECT usage as badcode to suppress qdoc warning
The Q_OBJECT itself cannot be unescaped as automoc will then fail.
It shouldn't but that is the case.
-Change the examples’ CMakeLists.txt to use single-line find_packages
to ensure packages are not mixed and matched. Probability for problems
is low but perhaps since these are examples that is appropriate
Pick-to: 6.1
Task-number: QTBUG-89833
Change-Id: Ibf518aa71971e8e9d0af1b49c7de86fd28089e96
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-89828
Change-Id: Ia3708141ec1e8d787055cd0bddb2280b8f4d81ff
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-89828
Change-Id: I95ec7905654bd3eaf61b22082ee1040aba4b9b24
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The generator nor the generated code did not compile with recent Qt6.
With this commit the repository, including tests and examples,
compile, and autotests pass. The main approach was:
-Update the scxml::generator code from its upstream source qtbase::moc
-Keep the changes marked with "-- QtScxml" tags
-Minimize the 'diff' between qtbase::moc and qtscxml generator
Task-number: QTBUG-89832
Change-Id: If544c587c797bc1118e145bd8161329a98ca6073
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes include
-qmllistproperty uses qsizetype instead of int
-implicit constructor calls that Qt6 marks as explicit
-QEnableIf removed => std::enable_if
-Replace the removed QCoreApplicationPrivate::cloneEvent()
-Conflicting forward declaration for QStringList (comes via qglobal.h)
N.B. after this task the generated (by generator.cpp) code won’t still
compile, and it likely requires more in-depth study how to fix it
=> looks like they relate to the Qt6 property system changes. By
temporarily disabling the violating generated code all unit tests pass
though => needs a followup task to analyze and fix.
Task-number: QTBUG-89832
Change-Id: I9f7d1cd5898b549f243a7df464ca124d29074c46
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|
|
|
|
| |
Change-Id: I40dd28da4ba47bd15471b471138900cd22b4e409
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
|
|\
| |
| |
| | |
Change-Id: Id18b041d49c8ddebdb4aff404e438700d0441948
|
| |
| |
| |
| |
| |
| | |
Change-Id: I8f779c41390e242634e32ff94d13041a8559f272
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |\
| | |
| | |
| | |
| | |
| | | |
Removed dependencies.yaml.
Change-Id: I7d1b06564b6b5c71882fe058f094894af7cb3efc
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
.qmake.conf
Change-Id: I1a52012a6e2c438a795222d687c33df6189962d2
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Change-Id: I227f18b6a9825b6974eab6ba9feaf62bd0934133
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also fix usages of text stream operators.
Change-Id: I53cf87bb4bb055d56f2332d7737f205ec9560774
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ibe2af360f7fd63dbc541eaf1218935519886ef40
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0d6379b7739cd44b5e0668e4ec6b4de52ed7400c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ported from qtbase: 631127126cc14e7c01cc611532b3256b58785670
Change-Id: I33ecb4aca86a393e143f0773e6c3cf4e1e67938a
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-84319
Change-Id: Ibb3af127a50adba9345540ea39c1c8cc17b72d06
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: QTBUG-85089
Change-Id: I78f8b1061f5dd75e435f9725fb6387670c1d2bf3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-84469
Change-Id: Ibaf2524e49e75ec660889261347eddbae9ccdbc6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adjust the moc copied code to generate the same byte arrays for string
literals and simplified the unicode string tables to just store offsets
and size so that we can use QString::fromRawData (just like in
qtdeclarative).
Change-Id: Id19c165454451192e0764b5d889a1275e92417ac
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This amends a6d3c194fb0ea676d85dddf1fd005f169391666f.
Task-number: QTBUG-80813
Change-Id: I8278f8cd35368386d83cef4c2e16a278570a0d31
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As we don't have QHash::insert(QHash), yet, we have to iterate for now.
Task-number: QTBUG-80813
Change-Id: I2288a9d35362556a7cc869cfa7b0d51fb88a2c4e
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |/
|/|
| |
| |
| |
| | |
Change-Id: I53cf87bb4bb055d56f2332d7737f205ec9560774
(cherry picked from commit 38f88ebfebeccc1a6c2b41f885b2a6a8fa74a447)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
... of Q_FOREACH, Java-style iterators, and QLinkedList use.
Change-Id: Iec6c576e8c7aba81594e3d3e6c4d1e1cc487fbdf
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|/
|
|
|
|
|
|
|
|
| |
The QChar ctors from integral non-char types are under
consideration for adding explicit.
Fix users of these ctors ahead of the change.
Change-Id: I3f3480336ba30a368034bb15b67ada854115e374
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
| |
Those files are small, so we may as well not bother.
Fixes: QTBUG-76521
Change-Id: Ief874765cd7b43798de3fffd15a9f511bc9c723a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
| |
Change-Id: I727f6580a9060e1cab1a33cba0e42fdf9b34c739
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
| |
Change-Id: I7191e2020e8c9ec4abe94e0ee5b730270fa66d13
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
| |
Change-Id: Ica7d960babffbf2ef1e6e43c032c236de4a3472e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|