Results 1 to 3 of 3

Thread: Newbie:cannot compile - moc'ing error

  1. #1

    Default Newbie:cannot compile - moc'ing error

    error i got under visual studio 2005

    Error 1 error PRJ0019: A tool returned an error code from "Moc'ing addressbook.h..." AddressBook

    After installing qt visual studio integration, setup build path(C:\Program Files\Trolltech\Qt VS Integration\bin), i cannot compile the gettign started sample which i copied from C:\Program Files\Trolltech\Qt VS Integration\samples\AddressBook

    what gives?

    thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Newbie:cannot compile - moc'ing error

    Did you setup correct Qt installation dir (Qt itself, not the integration) in VS2005 Tools->Options->Qt->Builds?
    Another considerable thing is, I think, the dir may not contain spaces..
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Newbie:cannot compile - moc'ing error

    Also look in properties of addressbook.h file
    a life without programming is like an empty bottle

Similar Threads

  1. Unable to execute in Debug Mode
    By Kapil in forum Installation and Deployment
    Replies: 38
    Last Post: 5th April 2006, 07:27
  2. Fed up with M$ Window$ !!! Why is Tux leaving me alone???
    By fullmetalcoder in forum General Discussion
    Replies: 35
    Last Post: 18th March 2006, 12:57
  3. error compile
    By mickey in forum Qt Programming
    Replies: 22
    Last Post: 2nd March 2006, 09:42
  4. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54
  5. qmake_image_collection.cpp gives me a compiling error
    By vfernandez in forum Qt Programming
    Replies: 2
    Last Post: 31st January 2006, 01:42

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.