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. How to use a static Qt library in PyQt?

How to use a static Qt library in PyQt?

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 368 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
    qt_is_not_easy
    wrote on last edited by
    #1

    I have a static library made in Qt with C++ and I want to be able to just import that in PyQt. Could anyone please point out if this is possible?
    my .pro file consists of consist of
    TEMPLATE = lib
    TARGET = myLibrary
    CONFIG += qt thread staticlib
    Thanks in advance!

    JonBJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      To the best of my knowledge you have to build bindings for it. Since you want to use PyQt, check their generator.

      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
      1
      • Q qt_is_not_easy

        I have a static library made in Qt with C++ and I want to be able to just import that in PyQt. Could anyone please point out if this is possible?
        my .pro file consists of consist of
        TEMPLATE = lib
        TARGET = myLibrary
        CONFIG += qt thread staticlib
        Thanks in advance!

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @qt_is_not_easy
        You might want to ask this at https://riverbankcomputing.com/mailman/listinfo/pyqt.

        1 Reply Last reply
        1

        • Login

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