Results 1 to 11 of 11

Thread: compile error that i don't understand

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    10
    Thanked 80 Times in 74 Posts

    Default Re: compile error that i don't understand

    in your .h file

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

    by

    Qt Code:
    1. private slots:
    2. void selmsg( const QModelIndex &);
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to munna for this useful post:

    incapacitant (29th March 2006)

  3. #2
    Join Date
    Jan 2006
    Location
    Grenoble, France
    Posts
    165
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    106

    Default Re: compile error that i don't understand

    yes i keep forgetting they should be declared as private slots and not just privte. thx

Similar Threads

  1. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  2. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02

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.