Skip to content

Qt: Qt6 Roadmap #632

@JanNowak94

Description

@JanNowak94

As last version of KDE 5 starts to be worked on - smplayer still does not have port that uses Qt6 - we need to fix that. Unless it does want to end as other qt4 projects that didn't ported to qt5 back the day.

some Identified issues:

  • not defined:
    • QMenu in actionseditor.cpp
  • duplicates:
    • 'class QStringList;' (already included) in:
      • mplayerprocess.h
      • mpvprocess.h
  • removed functions
    • ahortcutgetter.cpp:
      • QVBoxLayout::setMargin ShortcutGetter::ShortcutGetter(QWidget *parent) : QDialog(parent) line 270
    • actionseditor.cpp
      • QVBoxLayout::setMargin ActionsEditor::ActionsEditor(QWidget*, Qt::WindowFlags) line 227
      • QTextStream::setCodec ActionsEditor::saveActionsTable(const QString&) line 538
      • QTextStream::setCodec ActionsEditor::loadActionsTable(const QString&) line 579
  • use QT_VERSION for include QDesktopWidget in desktopinfo.cpp
  • remove RegExp from:
    • paths.cpp:
      • Paths::doc
    • helper.cpp:
      • Helper::qtVersion
      • Helper::searchForConsecutiveFiles
      • Helper::directoryContainsDVD
    • colorutils.cpp:
      • ColorUtils::AARRGGBBToColor
    • actionseditor.cpp:
      • ActionsEditor::loadActionsTable(const QString &)
  • ...

Required for MPV_AUDIO_DEVICES

  • Remove RegExp from:
    • deviceinfo.cpp:
      • DeviceList DeviceInfo::mpvAudioDevices(const QString &, const QString &)
  • ...

Required for USE_XV_ADAPTORS

  • remove RegExp from:
    • deviceinfo.cpp:
      • DeviceInfo::xvAdaptors
  • ...

Required for USE_PULSEAUDIO_DEVICES

  • remove RegExp from:
    • deviceinfo.cpp:
      • DeviceInfo::paDevices
  • ...

Required for COLOR_OUTPUT_SUPPORT:

  • Remove RegExp feom:
    • colorutils.cpp:
      • ColorUtils::stripColorsTags
  • ...

Identified compatibility issues (need qt5compat - should be ported but not essential now)

  • use of QTextCodec is in qt5compat - note that setCodec is not a function even with qt5compat.
  • ...

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions