Skip to content

Requires Qt6, not 5 #381

@palfrey

Description

@palfrey

Relevant components

  • Standalone tray application (based on Qt Widgets)
  • Plasmoid/applet for Plasma desktop
  • Dolphin integration
  • Command line tool (syncthingctl)
  • Integrated Syncthing instance (libsyncthing)
  • Android app or mobile UI in general
  • Backend libraries

Environment and versions

  • syncthingtray: 2.0.2
  • Qt version: 5.15.1

Bug description
The README claims 5 support, but you get

/src/syncthingconnector/syncthingconfig.cpp: In function 'QJsonValue Data::xmlValueToJsonValue(QStringView)':
/src/syncthingconnector/syncthingconfig.cpp:96:25: error: 'class QStringView' has no member named 'toDouble'
96 |     auto number = value.toDouble(&isNumber);

and https://doc.qt.io/qt-6/qstringview.html#toDouble says that's a 6.x feature

Steps to reproduce

  1. Build with qt5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions