Results 1 to 6 of 6

Thread: I can't assign TableView signals...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I can't assign TableView signals...

    Quote Originally Posted by tomek
    I turned on the console and it doesn't show anything.
    Do you compile your program in debug mode ("CONFIG += debug")? If there is some problem with connection, Qt should write information on the console about it.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I can't assign TableView signals...

    Looks like those two signatures don't match:

    Qt Code:
    1. SLOT(update(const QModelIndex&)));
    To copy to clipboard, switch view to plain text mode 

    Qt Code:
    1. void FetchThread::update(QModelIndex &index)
    To copy to clipboard, switch view to plain text mode 

    Note the lack of the "const" modifier in the second signature.

  3. #3
    Join Date
    Jan 2006
    Location
    Poznań, Poland
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: I can't assign TableView signals...

    Thank you! I created the debug libraries now and found my error. It dealed with types, indeed.
    Regards!

Similar Threads

  1. Signals are delayed on X11?
    By Cruz in forum Qt Programming
    Replies: 13
    Last Post: 18th February 2009, 12:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.