Results 1 to 2 of 2

Thread: Using visual studio add in

  1. #1
    Join Date
    Feb 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Using visual studio add in

    Hi,

    I have just completed the installation of the visual studio add-in, and is now programming a Qt app. I am now trying to create a user-defined slot to link one of my buttons to but it can't seem to find the slot although I have created the function in my code. I may be doing it wrongly, therefore, may I know how to link buttons created using Qt designer to a user defined function in visual studio.

    Regards,
    Leo

  2. #2
    Join Date
    Aug 2009
    Location
    Greece, Chania
    Posts
    63
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Using visual studio add in

    Have you read http://doc.trolltech.com/4.6/designe...a-ui-file.html?
    Just remember that from a .ui form there's a class generated and according to the methods the above link describes
    you can use its members (ie a button) in the class you want. In your case the connect(...) method.
    Misha R.evolution - High level Debugging IDE

    Programming is about 2 basic principles: KISS and RTFM!!!

Similar Threads

  1. Visual Studio Add-in
    By dima in forum Installation and Deployment
    Replies: 3
    Last Post: 5th August 2009, 07:36
  2. QT Add-in for Visual Studio
    By justso1 in forum Newbie
    Replies: 13
    Last Post: 15th June 2009, 15:09
  3. Qt visual studio integration
    By yagabey in forum Installation and Deployment
    Replies: 2
    Last Post: 13th December 2008, 16:43
  4. debugging in Visual Studio
    By vonCZ in forum Qt Programming
    Replies: 1
    Last Post: 23rd November 2008, 19:38
  5. Visual Studio .NET & QT
    By fruzzo in forum Installation and Deployment
    Replies: 6
    Last Post: 3rd December 2007, 22:00

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.