Skip to content

Windows Build: Qt5WebSockets.dll dependency missing for WebSockets Data Streamer #1165

@late-in-autumn

Description

@late-in-autumn

Manifestation

  • When launching PlotJuggler (Windows build), the WebSocket Server option is missing from the list of options in the Streaming section
  • Using dependency walker on the DataStreamWebSocket.dll, I see the Qt5WebSockets.dll dependency is missing
C:\apps\Dependencies\Dependencies.exe -depth 1 -chain DataStreamWebSocket.dll
├ DataStreamWebSocket.dll (ROOT) : DataStreamWebSocket.dll
|  ├ Qt5WebSockets.dll (NOT_FOUND) :
|  ├ Qt5Network.dll (ApplicationDirectory) : Qt5Network.dll
|  ├ Qt5Widgets.dll (ApplicationDirectory) : Qt5Widgets.dll
|  ├ Qt5Gui.dll (ApplicationDirectory) : Qt5Gui.dll
|  ├ Qt5Core.dll (ApplicationDirectory) : Qt5Core.dll
|  ├ MSVCP140.dll (WindowsFolder) : C:\WINDOWS\system32\MSVCP140.dll
|  ├ VCRUNTIME140.dll (WindowsFolder) : C:\WINDOWS\system32\VCRUNTIME140.dll
|  ├ VCRUNTIME140_1.dll (WindowsFolder) : C:\WINDOWS\system32\VCRUNTIME140_1.dll
|  ├ api-ms-win-crt-runtime-l1-1-0.dll (ApiSetSchema) : C:\WINDOWS\system32\ucrtbase.dll
|  ├ api-ms-win-crt-string-l1-1-0.dll (ApiSetSchema) : C:\WINDOWS\system32\ucrtbase.dll
|  ├ api-ms-win-crt-heap-l1-1-0.dll (ApiSetSchema) : C:\WINDOWS\system32\ucrtbase.dll
|  ├ KERNEL32.dll (WellKnownDlls) : C:\WINDOWS\system32\kernel32.dll

Workaround

  • Download and install Qt 5.15.2 MSVC 2019 x64 using the Qt online installer
  • Copy Qt5Websockets.dll from the Qt installation to the PlotJuggler installation directory
  • Use Dependency Walker to make sure no DLLs are missing
  • Re-launch PlotJuggler, the WebSocket Server option shows up

Versions affected

  • Tested against Windows installer 3.11.1 and this issue is present

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions