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. How to create a plain C-DLL in qtCreator?

How to create a plain C-DLL in qtCreator?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 1.1k Views 2 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.
  • T Offline
    T Offline
    themts
    wrote on last edited by
    #1

    Hey guys,

    I want to use qtCreator to write a plain C-DLL without any qt dependencies.
    Is there any guide how to setup my project?

    THX
    mts

    1 Reply Last reply
    0
    • JohanSoloJ Offline
      JohanSoloJ Offline
      JohanSolo
      wrote on last edited by
      #2

      When creating a new project, select C++ library, then you have a list of checkboxes of Qt modules you want to link in your library. Just uncheck all of them. (Using QtCreator 4.2.1).

      `They did not know it was impossible, so they did it.'
      -- Mark Twain

      1 Reply Last reply
      2
      • T Offline
        T Offline
        themts
        wrote on last edited by
        #3

        Sorry, I found it:
        QT -= core

        CU
        mts

        JohanSoloJ 1 Reply Last reply
        0
        • T themts

          Sorry, I found it:
          QT -= core

          CU
          mts

          JohanSoloJ Offline
          JohanSoloJ Offline
          JohanSolo
          wrote on last edited by
          #4

          @themts said in How to create a plain C-DLL in qtCreator?:

          Sorry, I found it:
          QT -= core

          CU
          mts

          I'm glad you found it, please mark your post as solved.

          `They did not know it was impossible, so they did it.'
          -- Mark Twain

          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