aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4stringobject.cpp
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2024-10-01 18:02:10 +0200
committerSami Shalayel <sami.shalayel@qt.io>2024-11-13 16:08:08 +0000
commit8e176007865ceb6126ecc091354181574b347ecc (patch)
tree3c28a780c41c95f68a5d9b26209ef1c1ecf9367c /src/qml/jsruntime/qv4stringobject.cpp
parentab60395394b30c1b441c50efc1d49017fe1faee8 (diff)
qmllint: load plugins from the correct paths
Make qmllint load plugins from the same default directories as QFactoryLoader does, in addition to the extra paths passed by command line arguments to qmllint. Remove the static helper method to get the custom qmllint default plugin directories and use QCoreApplication::libraryPaths() instead. This allows to ship the qmllint plugins with qmlls's standalone build, because QCoreApplication::libraryPaths() contains the current application path and allows a standalone qmlls to load plugins for linting or completion from a subfolder. Fix tst_sanity to continue ignoring the warnings from all other plugin as QQmlJSLinter will load all available default plugins now, like the Quick plugin for example. Change-Id: I9edaddb0fd5da27f68da9ceca76a9351fc0c6aee Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
0 files changed, 0 insertions, 0 deletions