Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to create a dll starting from a CMake project.
Forum Updated to NodeBB v4.3 + New Features

How to create a dll starting from a CMake project.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 1.2k 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.
  • F Offline
    F Offline
    Foraz
    wrote on last edited by Foraz
    #1

    Hello everyone,
    I have a c++ project Unix based that I need to convert into a dll usable on Windows. It is configured using CMake as a builder. I've compiled the project on Qt Creator using MinGW and verified that the application works correctly. The application also uses external dlls.
    At this point I wondered: is there a way to create a dll from it?
    Greetings.

    K 1 Reply Last reply
    0
    • F Foraz

      Hello everyone,
      I have a c++ project Unix based that I need to convert into a dll usable on Windows. It is configured using CMake as a builder. I've compiled the project on Qt Creator using MinGW and verified that the application works correctly. The application also uses external dlls.
      At this point I wondered: is there a way to create a dll from it?
      Greetings.

      K Offline
      K Offline
      koahnig
      wrote on last edited by koahnig
      #2

      @Foraz

      Last time I had a similar issue I started simply with a "hello world" dll and checkout what to change in my library source and qmake to get it to work. That was the most straight forward things to do.
      Instead of using qmake for your projects you shall use CMake as the basis for your projects based Qt creator templates.

      [edit] There are also some guidelines for dll creation with qt

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

      1 Reply Last reply
      2

      • Login

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