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

QtConcurrenceThreadEngine > ThreadEngineStarter<VOID>?

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      659f7a06e91c04b239e3f4c0bcfccbe3581af1c3 (qt/qtbase/dev) 049e14870c13235cd066758f29c42dc96c1ccdf8 (qt/qtbase/6.0) 402f27b1fce1b90f3f1a8d5693c13a7c973e2c60 (qt/tqtc-qtbase/tqtc/lts-5.15) 098701edba230398440d7892bda18f4ebead32fe (qt/qtbase/6.1)

      Description

      I was compiling an emulation software (Yuzu) but it always gave me an error regarding "Qt5Concurrent", especially in this part:

       

      public:
         ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
         : ThreadEngineStarterBase<void>(_threadEngine) {}
      void startBlocking()
       {
            this->threadEngine->startBlocking();
           delete this->threadEngine;
       }
      };
      

      Until I realize that the error was in the <void> and that when I removed it, it already allowed me to compile without problems, possibly from another part of the code, when that fragment is called, it does not send the corresponding parameters, I do not know.

      Working code for me 

       

      public:
         ThreadEngineStarter(ThreadEngine<void> *_threadEngine)
         : ThreadEngineStarterBase<void>(_threadEngine) {}
      void startBlocking()
       {
            this->threadEngine->startBlocking();
           delete this->threadEngine;
       }
      };
      

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sonakur Sona Kurazyan
            Reporter:
            alexlinux Alejandro Bringas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: