Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. When I include <Python.h> I get this error in object.h line 190 how do I fix this?

When I include <Python.h> I get this error in object.h line 190 how do I fix this?

Scheduled Pinned Locked Moved Unsolved Language Bindings
5 Posts 3 Posters 989 Views
  • 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.
  • A Offline
    A Offline
    AI_Messiah
    wrote on 9 Jun 2021, 17:32 last edited by
    #1

    Essentially I want some kind of Python C++ integration that works with QT and I do not care what it is.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Jun 2021, 18:40 last edited by
      #2

      Hi,

      What exact error do you get ?

      From an old Qt Quarterly article PythonQt might be what you want.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AI_Messiah
        wrote on 9 Jun 2021, 21:04 last edited by
        #3

        The errors are:
        syntax error ;
        unexpected token(s) preceeding ;

        pythonQt does not fix this because it requires Python.h

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 10 Jun 2021, 19:45 last edited by
          #4

          Can you show the actual message you get ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            InTheBeninging
            wrote on 31 Dec 2024, 08:11 last edited by
            #5

            This might help.

            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