[mythtv-commits] [MythTV/mythtv] a35199: qt6: Handle QVariant::type removal in qt6. (mythdb...

David Hampton noreply at github.com
Fri Apr 30 13:34:12 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: a35199ec99d10c0406a868dadd28cf194392f41b
      https://github.com/MythTV/mythtv/commit/a35199ec99d10c0406a868dadd28cf194392f41b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythbase/mythdb.cpp
    M mythtv/libs/libmythbase/mythdbcon.cpp

  Log Message:
  -----------
  qt6: Handle QVariant::type removal in qt6. (mythdb/mythdbcon)


  Commit: f5e04e44e44815a0fbe12233f45bf8940a54b135
      https://github.com/MythTV/mythtv/commit/f5e04e44e44815a0fbe12233f45bf8940a54b135
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/external/qjsonwrapper/qjsonwrapper/Json.cpp

  Log Message:
  -----------
  qt6: Handle QVariant::type removal in qt6. (jsonwrapper)


  Commit: f7869e801bb507768080afddadc786a314482a7c
      https://github.com/MythTV/mythtv/commit/f7869e801bb507768080afddadc786a314482a7c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythbase/mythbinaryplist.cpp

  Log Message:
  -----------
  qt6: Handle QVariant::type removal in qt6. (mythbinaryplist)


  Commit: 7ac0f741bd57afa842c39065afc86ed1719de72d
      https://github.com/MythTV/mythtv/commit/7ac0f741bd57afa842c39065afc86ed1719de72d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythupnp/serializers/jsonSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp

  Log Message:
  -----------
  qt6: Handle QVariant::type removal in qt6. (libmythupnp)


  Commit: 2f9e288be02396d46dbcf315be4493b57cfebabf
      https://github.com/MythTV/mythtv/commit/2f9e288be02396d46dbcf315be4493b57cfebabf
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythbase/mythcommandlineparser.cpp
    M mythtv/libs/libmythbase/mythcommandlineparser.h
    M mythtv/programs/mythfilldatabase/commandlineparser.cpp
    M mythtv/programs/mythutil/commandlineparser.cpp

  Log Message:
  -----------
  qt6: Handle QVariant::type removal in qt6. (mythcommandlineparser)


  Commit: 4929727b0572d4a2886d850241a0931a297893bc
      https://github.com/MythTV/mythtv/commit/4929727b0572d4a2886d850241a0931a297893bc
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythservicecontracts/datacontracts/frontendStatus.h
    M mythtv/libs/libmythservicecontracts/service.cpp

  Log Message:
  -----------
  qt6: Handle QVariant::type removal in qt6. (libmythservicecontracts)


  Commit: 8b4a86b66ef556944371d8f2db4a34b094c75d50
      https://github.com/MythTV/mythtv/commit/8b4a86b66ef556944371d8f2db4a34b094c75d50
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythui/mythuibuttonlist.cpp

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (mythuibuttonlist.cpp)


  Commit: 10848e22c44f0794e78b25e40b1c57e6a13776f1
      https://github.com/MythTV/mythtv/commit/10848e22c44f0794e78b25e40b1c57e6a13776f1
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythui/devices/lirc.cpp

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (lirc.cpp)


  Commit: b618e0962d87135e74c9e82bbc0c58b6d004b944
      https://github.com/MythTV/mythtv/commit/b618e0962d87135e74c9e82bbc0c58b6d004b944
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythui/devices/jsmenu.cpp
    M mythtv/libs/libmythui/devices/jsmenuevent.h
    M mythtv/libs/libmythui/devices/mythinputdevicehandler.cpp

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (jsmenu.cpp)


  Commit: ed718ca34e44108385de84d1166cbf0a2e51c25d
      https://github.com/MythTV/mythtv/commit/ed718ca34e44108385de84d1166cbf0a2e51c25d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythui/mythmainwindow.cpp

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (mythmainwindow.cpp)


  Commit: acc2c25c14346a0454058ee7891b54b3dd2234b3
      https://github.com/MythTV/mythtv/commit/acc2c25c14346a0454058ee7891b54b3dd2234b3
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythui/mythvirtualkeyboard.cpp
    M mythtv/libs/libmythui/mythvirtualkeyboard.h

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (mythvirtualkeyboard.cpp)


  Commit: b2482e190fad94e575f2dbf1d7c75bc94b2427cd
      https://github.com/MythTV/mythtv/commit/b2482e190fad94e575f2dbf1d7c75bc94b2427cd
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythui/mythfontmanager.cpp
    M mythtv/libs/libmythui/mythfontproperties.cpp

  Log Message:
  -----------
  qt6: Handle all QFontDatabase functions becoming static functions.


  Commit: 2ad19e12fa84292ffe556d41586365559c0c71db
      https://github.com/MythTV/mythtv/commit/2ad19e12fa84292ffe556d41586365559c0c71db
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythupnp/services/rtti.cpp

  Log Message:
  -----------
  qt6: Handle QMetaType changes on qt6. (rtti.cpp)

In qt6, its possible to look up a MetaType from a class name without
having to first create an instance of that class.


  Commit: 6fcfde3f533e3a4ebbee28520afd3f01c2c95681
      https://github.com/MythTV/mythtv/commit/6fcfde3f533e3a4ebbee28520afd3f01c2c95681
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythupnp/wsdl.cpp

  Log Message:
  -----------
  qt6: Handle QMetaType changes in qt6. (wdsl.cpp)

Use different way of looking up QMetaType id from a string.


  Commit: 02c6d88cee1260e022268b070f309ca86fb9ff0f
      https://github.com/MythTV/mythtv/commit/02c6d88cee1260e022268b070f309ca86fb9ff0f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythupnp/xsd.cpp

  Log Message:
  -----------
  qt6: Handle QMetaType changes on qt6. (xsd.cpp)

In qt6, its possible to look up a MetaType from a class name without
having to first create an instance of that class.


  Commit: 3a6d748286efb807e0beb9ea14e84317da090314
      https://github.com/MythTV/mythtv/commit/3a6d748286efb807e0beb9ea14e84317da090314
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythupnp/serializers/jsonSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp

  Log Message:
  -----------
  qt6: Handle QMetaType changes in qt6. (serializers)

Use different way of looking up QMetaType id from a string.


  Commit: e9ad9d37795a85e734da90dceee2a731d0ffabb4
      https://github.com/MythTV/mythtv/commit/e9ad9d37795a85e734da90dceee2a731d0ffabb4
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythupnp/servicehost.cpp

  Log Message:
  -----------
  qt6: Handle QMetaType changes on qt6. (servicehost.cpp)

Update parameter/return value creation and destruction to use
functions that are common to both Qt5 and Qt6. This requires having a
QMetaType object at both creation and destruction time, which is
version specific code.


  Commit: b6867771e7e3f0daad044924e4498c4315f0570f
      https://github.com/MythTV/mythtv/commit/b6867771e7e3f0daad044924e4498c4315f0570f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythplugins/mythnetvision/mythnetvision/netcommon.cpp
    M mythtv/libs/libmyth/netutils.cpp
    M mythtv/libs/libmyth/remoteutil.cpp
    M mythtv/libs/libmythmetadata/metadataimagedownload.cpp
    M mythtv/libs/libmythtv/io/mythmediabuffer.cpp
    M mythtv/libs/libmythtv/previewgenerator.cpp
    M mythtv/programs/mythbackend/mainserver.cpp

  Log Message:
  -----------
  qt6: Handle simplified arguments for qChecksum function.


  Commit: 6640c267c999a0c5655a8bfb5adeaaed9e686364
      https://github.com/MythTV/mythtv/commit/6640c267c999a0c5655a8bfb5adeaaed9e686364
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmyth/standardsettings.cpp

  Log Message:
  -----------
  qt6: Update code to get QMetaType::Type id using either Qt5 or Qt6 functions.

In Qt5, all of the QVariant::Type enum values were mapped 1:1 to
QMetaType::Type enum values.  In Qt6, the QVariant::Type enum has been
completely removed and QMetaType::Type values must be used instead.

Qt6 also changed some of the functions used to find a QMetaType from a
string name or an id value.


  Commit: 2cf19711ef81f5f8f67dab2e3d62854b1f25cf80
      https://github.com/MythTV/mythtv/commit/2cf19711ef81f5f8f67dab2e3d62854b1f25cf80
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.cpp

  Log Message:
  -----------
  qt6: Create NULL sql binding slightly differently in qt6.


  Commit: 6932f8b53ca775579ec0f1c86f8220386d20823c
      https://github.com/MythTV/mythtv/commit/6932f8b53ca775579ec0f1c86f8220386d20823c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythbase/test/test_mythbinaryplist/test_mythbinaryplist.cpp
    M mythtv/libs/libmythservicecontracts/test/test_datacontracts/test_datacontracts.cpp

  Log Message:
  -----------
  qt6: Update tests for changes in QVariant/QMetaType.


  Commit: 005b5b9edd95032044b4583d56afd7d0cbca2237
      https://github.com/MythTV/mythtv/commit/005b5b9edd95032044b4583d56afd7d0cbca2237
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (tv_play.cpp)


  Commit: a50e472db778f8a70af382b4a164ec0445d9a6b1
      https://github.com/MythTV/mythtv/commit/a50e472db778f8a70af382b4a164ec0445d9a6b1
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/programs/mythfrontend/networkcontrol.cpp

  Log Message:
  -----------
  qt6: Handle new QKeyCombination class in qt6. (mythfrontend)


  Commit: 8f5edb4c799fc5d79fd72cb17bca9606797620a5
      https://github.com/MythTV/mythtv/commit/8f5edb4c799fc5d79fd72cb17bca9606797620a5
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythplugins/mythmusic/mythmusic/smartplaylist.cpp

  Log Message:
  -----------
  qt6: Handle QSqlQuery changes in mythmusic.

Need to create an empty QSqlField slightly differently in qt6.


  Commit: e913b5a08c4ce731649b54f4d9665f7ffa5262f4
      https://github.com/MythTV/mythtv/commit/e913b5a08c4ce731649b54f4d9665f7ffa5262f4
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M mythtv/programs/mythbackend/services/myth.cpp

  Log Message:
  -----------
  qt6: Handle QVariant changes in services API.

Need to create a null QVariant slightly differently in the Qt6
API. Create it once and use in multiple places, instead of creating it
anew each time.


Compare: https://github.com/MythTV/mythtv/compare/dbe165f81aa1...e913b5a08c4c


More information about the mythtv-commits mailing list