QML: Disable automatic qmldir generation to work around QTBUG-100326#4673
Conversation
| PlayerDropArea 0.0 res/qml/Mixxx/PlayerDropArea.qml | ||
| MathUtils 0.0 res/qml/Mixxx/MathUtils.mjs |
There was a problem hiding this comment.
Qt does it the other way around:
| PlayerDropArea 0.0 res/qml/Mixxx/PlayerDropArea.qml | |
| MathUtils 0.0 res/qml/Mixxx/MathUtils.mjs | |
| MathUtils 0.0 res/qml/Mixxx/MathUtils.mjs | |
| PlayerDropArea 0.0 res/qml/Mixxx/PlayerDropArea.qml |
There was a problem hiding this comment.
The order is irrelevant. But sure, we can sort it alphabetically...
| linktarget mixxx-libplugin | ||
| optional plugin mixxx-libplugin | ||
| classname MixxxPlugin | ||
| typeinfo mixxx-lib.qmltypes |
There was a problem hiding this comment.
This is required to keep qmllint happy
| typeinfo mixxx-lib.qmltypes | |
| typeinfo mixxx-lib.qmltypes | |
| import QtQuick |
There was a problem hiding this comment.
This is unrelated and should be taken care of in a separate PR, that also adds this import to qt_add_qml_module. The qmldir is the same one that Qt generates automatically, just with the MathUtils line added.
There was a problem hiding this comment.
I have already taken care in #4679. So If we merge that first, we should add the import here as well.
This fixes the import of the MathUtils JavaScript library in the Mixxx QML module. See https://bugreports.qt.io/browse/QTBUG-100326 for details.
f7dbef6 to
26dedaa
Compare
daschuer
left a comment
There was a problem hiding this comment.
Please add the import QtQuick so that we don't need another PR for that.
No. As I explained earlier, the goal of this PR is to work around that specific QTBUG. Hence, I added a If I add that import line here, then the generated I think it's really bad practice to split bugfixes and slip them into multiple unrelated PRs. #4679 hasn't even been merged yet. If it was, then sure, that line should be added after rebasing this PR. By the way, we previously decided that we use "Request Changes" instead of "Comment" if we want to block merge until the fixes from the review comments have been re-reviewed by the same person. So it's basically saying "The PR in the current form is unmergeable and the fix will be so complicated that nobody but me can review it properly." Is this really necessary when the review only contains two comments, one of which asks to swap 2 lines and the other one asks to include unrelated changes? |
|
Ok, than I will take care in #4679 |
This fixes the import of the MathUtils JavaScript library in the Mixxx
QML module. See https://bugreports.qt.io/browse/QTBUG-100326 for details.