Win 10 - VS 2019 - QT 5.15 -
First time compilation using VS2019 x 64 and QT 5.15 on W10 PC and get a Qt5QmlModels.dll not found error. Can anybody point me in the right direction on how to resolve this please
Many thanks
Dave
Attachment | Size |
---|---|
QT5qmlmodels.PNG | 6.11 KB |
debug.txt | 8.13 KB |
Comments
Did you run the Install step?
Hmm, I don't think this dll is needed. Or is found in %Path%, in C:\Qt\5.15.0\msvc2019_64\bin\
If so we may need to add it to the install step, for Qt 5.15 (it doesn't seem to exist in earlier versions, not in 5.12.9 at least)
Seems it is part of Qt since 5.14.
Try this:
In reply to Did you run the Install step? by Jojo-Schmitz
Yes ran the install step - rerun attached
In reply to Yes ran the install step -… by dehwall
see my edit above
In reply to Yes ran the install step -… by dehwall
Please let me know whether tie above changes helps, then I'll submit it as a Pull Request
In reply to Please let me know whether… by Jojo-Schmitz
Hi Jojo,
No luck I'm afraid.
if (USE_WEBENGINE)
set(_components
${_components}
WebEngine ---- initially commented these out as well but needed in build
WebEngineCore --- ---- initially commented these out as well but needed in build
WebEngineWidgets
)
endif(USE_WEBENGINE)
QmlModels - DEHW
if (Qt5Widgets_VERSION VERSION_GREATER_EQUAL "5.14.0")
set(_components
${_components}
QmlModels
)
endif(Qt5Widgets_VERSION VERSION_GREATER_EQUAL "5.14.0")
End QmlModels - DEHW
Same error
Regards
Dave
In reply to Hi Jojo, No luck I'm afraid… by dehwall
You do need to install WebEngine for sure
In reply to You do need WebEngine for… by Jojo-Schmitz
Yes I know - I put it back in so effectively the only thing that changed was checking version >= 5.14 and adding qmlmodels - but it still did not work
Dave
In reply to Yes I know - I put it back… by dehwall
Has the MuseScore install step copied that dll into the bin dir?
Hmm, apparently not, strange.
In reply to Has the MuseScore install… by Jojo-Schmitz
No it has not been copied...
In reply to No it has not been copied... by dehwall
I suspect
Qt5Widgets_VERSION
isn't known at that point. Comment out theif ...
and theendif...
and try again.Waenwhile I'm trying a different approach...
In reply to Yes I know - I put it back… by dehwall
Try this:
It does the copy for me (on the build already, no install step needed for this).
See also https://github.com/musescore/MuseScore/pull/6279
In reply to Try this: diff --git a/main… by Jojo-Schmitz
Jojo,
That did the trick!
Many thanks for your help - maybe I can start contributing in the future once I get my head around everything.
It's a little bit different from Delphi & SQL Server....
Thanks again
Dave
In reply to Jojo, That did the trick!… by dehwall
But now I don't have any palette nor the inspector, same for you?
Works fine when I'm back to Qt 5.12.9
In reply to But now I don't have any… by Jojo-Schmitz
I was just about to let you know the same - No palette or inspector....
Dave
In reply to I was just about to let you… by dehwall
Thanks for confirming. Something is severely amiss here.
It does work with Qt 5.12.9 and 5.9.9 though, this might be an option for you. We're not yet using 5.15 really, although I did (quite) some work on it.
In reply to Thanks for confirming… by Jojo-Schmitz
Also works with QT 5.13.2...
In reply to Also works with QT 5.13.2... by dehwall
I guess the problem starts with 5.14, with the introduction of that dll
In reply to Try this: diff --git a/main… by Jojo-Schmitz
PR has been merged
The need for it apparently got introduced with or around befa7a0
The empty palette and inspector for Qt 5.15 might been introduced with the same commits?