Results 1 to 2 of 2

Thread: Problem compiling under visual studio

  1. #1
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    692
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Problem compiling under visual studio

    Hi to all,
    I write Qt code using Microsoft Visual studio. I know that when I use signal/slots in a class
    I have to moc the file containing the class using custom rules.
    I found a post in this post but it doesn't work. Visual studio give to me error messages and I can not find useful links on internet.
    Can I have a help in write such custom rules?
    Thank you very much to all that will reply.
    Best Regards
    Franco Amato

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem compiling under visual studio

    Use the free Visual Studio addin which creates them for you. It can even take in a .pro file and spit out a .vcproj file.

Similar Threads

  1. Problem building qt embedded for WinCE and VS2005
    By high_flyer in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 5th June 2009, 01:04
  2. Replies: 2
    Last Post: 23rd November 2007, 17:44
  3. Visual Studio App Wizard for Qt
    By joshlareau in forum Qt-based Software
    Replies: 4
    Last Post: 9th February 2007, 20:36
  4. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 21:06
  5. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41

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.