Results 1 to 7 of 7

Thread: Hiding boost headers from MOC, but still error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Qt products
    Qt4 Qt5
    Platforms
    Windows
    Thanks
    92
    Thanked 16 Times in 16 Posts

    Default Re: Hiding boost headers from MOC, but still error

    Thank you very much ChrisW67. I was including a header for the dll which I didn't know that it was using boost. Pushing that include into #ifndef Q_MOC solved the problem.

    Does it compile cleanly? If so then the problem is elsewhere, ..
    The code which you posted above compiled cleanly and your answer made me re look at the libraries & check if they are using boost.
    Thank you very much.
    Last edited by rawfool; 18th July 2013 at 12:55.

Similar Threads

  1. Boost: use it with Qt
    By Handi in forum Installation and Deployment
    Replies: 12
    Last Post: 2nd April 2012, 01:16
  2. QT/C++/ BOOST questions
    By joebats72 in forum Newbie
    Replies: 4
    Last Post: 17th January 2011, 23:49
  3. Qt and Boost in the same C++ program?
    By TriKri in forum Qt Programming
    Replies: 12
    Last Post: 9th May 2010, 23:58
  4. Boost libraries
    By steg90 in forum General Programming
    Replies: 26
    Last Post: 13th June 2007, 13:50
  5. Error compiling Qt3 app with Boost signals support
    By stodge in forum Qt Programming
    Replies: 3
    Last Post: 3rd May 2007, 11:48

Tags for this Thread

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.