Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. How can i pass a parameter to MOC ?
Qt 6.11 is out! See what's new in the release blog

How can i pass a parameter to MOC ?

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    QProgrammer
    wrote on last edited by
    #1

    Hello

    Im having problem using Boost with Qt

    I searched a lot and saw many workarounds , but unfortunately i couldn't use those

    here is the error and workarounds :

    "https://bugreports.qt-project.org/browse/QTBUG-22829":https://bugreports.qt-project.org/browse/QTBUG-22829

    in conclusion i need to send this parameter to Moc : -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED

    but i don't know how. can anyone help please?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      See my response "there":http://qt-project.org/forums/viewthread/25737/#117850

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved