Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Build dynamic library and change the extension from .dll to .pyd
Forum Updated to NodeBB v4.3 + New Features

Build dynamic library and change the extension from .dll to .pyd

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 325 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.
  • Please_Help_me_DP Offline
    Please_Help_me_DP Offline
    Please_Help_me_D
    wrote on last edited by
    #1

    Hi,

    I'm not quite familiar with QMake (CMake) so I decided to ask.
    I have a project called PyBind11_proba
    I want to build it as a library so in QMake I write:

    TEMPLATE = lib
    

    Then I need that .dll labrary have a name myLib.pyd
    How to do that?

    Also as I use pybind11 it become possible to use myLib.pyd in python and C++. So how to add this dynamic library to other Qt project then?

    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