Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. New type of SIGNAL/SLOT connection issue
QtWS25 Last Chance

New type of SIGNAL/SLOT connection issue

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 212 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kaluss
    wrote on last edited by
    #1

    Hi,
    I'm trying to change old way to new way of signal/slots connections in my app and I'm facing following problem:

    I'm connecting two QLineEdit as follows:
    28988c07-1848-48fb-96b4-c058ea13d2d4-image.png
    but when I switch that to the new approach I get following error:
    cca57d05-b2e2-45dc-8dca-f3e9d0bd4a33-image.png

    I already fixed some issues with qOverload, but it seems like this is not this case.

    Any suggestions?

    M 1 Reply Last reply
    0
    • K Kaluss

      Hi,
      I'm trying to change old way to new way of signal/slots connections in my app and I'm facing following problem:

      I'm connecting two QLineEdit as follows:
      28988c07-1848-48fb-96b4-c058ea13d2d4-image.png
      but when I switch that to the new approach I get following error:
      cca57d05-b2e2-45dc-8dca-f3e9d0bd4a33-image.png

      I already fixed some issues with qOverload, but it seems like this is not this case.

      Any suggestions?

      M Offline
      M Offline
      mpergand
      wrote on last edited by
      #2

      @Kaluss
      Works for me with qOverLoad:
      qOverload<>(&QWidget::setFocus)

      K 1 Reply Last reply
      1
      • M mpergand

        @Kaluss
        Works for me with qOverLoad:
        qOverload<>(&QWidget::setFocus)

        K Offline
        K Offline
        Kaluss
        wrote on last edited by
        #3

        @mpergand you are right, I tried with qOverload<void> and since now only for signal parameter. Thank you!

        1 Reply Last reply
        1
        • K Kaluss has marked this topic as solved on

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved