Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Qt for Python compilation question
Forum Updated to NodeBB v4.3 + New Features

Qt for Python compilation question

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 310 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.
  • B Offline
    B Offline
    BAKI
    wrote on 7 Sept 2023, 01:44 last edited by BAKI 9 Jul 2023, 01:45
    #1

    How to compile a Python executable program into c language?

    The execution speed of the general pyinstaller is too terrible for me I tried nuitka. But I think nuitka is too heavy.

    I wonder what compilation tools you use to speed up Python executables, and if you know any other information.

    Thanks for reading

    S 1 Reply Last reply 7 Sept 2023, 11:47
    0
    • B BAKI
      7 Sept 2023, 01:44

      How to compile a Python executable program into c language?

      The execution speed of the general pyinstaller is too terrible for me I tried nuitka. But I think nuitka is too heavy.

      I wonder what compilation tools you use to speed up Python executables, and if you know any other information.

      Thanks for reading

      S Offline
      S Offline
      StarterKit
      wrote on 7 Sept 2023, 11:47 last edited by
      #2

      @BAKI , Python is an interpreted language, not compiled. Thus your question is meaningless. And it is also not Qt related...
      If you need a speed of C - they why not use C? Yes, nuitka seems to be able to do the job for you and compile Python code into C but how you weighted its heaviness is also not clear.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        friedemannkleint
        wrote on 8 Sept 2023, 08:36 last edited by
        #3

        PySide6 provides a deployment tool based on Nuitka (see https://doc.qt.io/qtforpython-6/deployment/index.html#deployment-guides ).

        1 Reply Last reply
        2

        1/3

        7 Sept 2023, 01:44

        • Login

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