Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-199

Allow Qul::Signal to take std::string as parameter

XMLWordPrintable

    • 1bc2b4b0, e0063d7e, da0ed20c, 876b07b1

      Allow Qul::Signal to take std::string as parameter, the issue is due to when trying to write a slot for a std::string signal, you currently get a Slot<void(Qul::Private::String)>, and the constructor call fails when passing the signal with the different argument type.

      As a workaround, it compiles when defined as
      Qul::Signal<void(Qul::Private::String str)>

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

            k0rahman Karim Abdelrahman
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes