Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117514

QFuture::then marked as private

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.6, 6.6.1, 6.7.0 FF
    • 6.5.2
    • Core: QtConcurrent
    • None
    • Linux/X11
    • 0f0371c83 (dev), f2d4c19b2 (6.6), 93233516957f71054c42ba843cdd57216834acd7 (6.6.2), d50ba5ff5 (tqtc/lts-6.5), 337072358 (dev), 81e6ede3a (6.8)

    Description

      Cannot package Qt 6.5 app, due to privately marked dylib

      QFutureInterfaceBase::setContinuation(std::function, QFutureInterfaceBasePrivate*)@Qt_6_PRIVATE_API (16)

      Desktop_Qt_6_5_2_GCC_64bit


      Code Snippets:

      QtConcurrent::run(&MainWindow::doQuery, this).then(this, [this] {
      dostuffonguithread ...
      });


       

      dnf install:

      Error:
      Problem: cannot install both qt6-qtbase-6.5.2-5.fc38.x86_64 from updates and qt6-qtbase-6.4.3-1.fc38.x86_64 from fedora

      package xyz-0.2-1.fc38.x86_64 from @commandline requires libQt6Core.so.6(Qt_6.5)(64bit), but none of the providers can be installed

      package xyz-0.2-1.fc38.x86_64 from @commandline requires libQt6Core.so.6(Qt_6_PRIVATE_API)(64bit), but none of the providers can be installed


      if compiling against 6.4.3:

      dnf install works, installs qt 6.5.2;
      on run:

      symbol lookup error: xyz: undefined symbol: _ZN20QFutureInterfaceBase15setContinuationESt8functionIFvRKS_EEP27QFutureInterfaceBasePrivate, version Qt_6

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-117514
          # Subject Branch Project Status CR V

          Activity

            People

              thiago Thiago Macieira
              rca Raphael Campestrini
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: