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 Dll in Qt
Forum Updated to NodeBB v4.3 + New Features

How to create a Dll in Qt

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 12.8k 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.
  • M Offline
    M Offline
    MonalisaKalla
    wrote on last edited by
    #1

    Hi,
    I want to create a shared Dll in -QT- Qt.

    How to achieve this?

    Thanks & Best regards,
    Monalisa

    It's called Qt not QT, QT is quicktime. Thanks, Gerolf, please read the notes on: before posting on top when creating a new topic.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Hi Monalisa,

      yes, it is possible. Which tool chain and OS do you use?
      In Qt Creator you just say:

      File ==> New File or Project ==> Other Project ==> C++ library

      there you can use Qt for sure

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • L Offline
        L Offline
        leon.anavi
        wrote on last edited by
        #3

        Hi Monalisa,

        In general you have to add the following line to the .pro file of your Qt project if want to to create a library:
        @TEMPLATE = lib@

        But the easiest way it to follow Gerolf's advice and Qt Creator will add this line to the .pro file automatically.

        Best regards,
        Leon

        http://anavi.org/

        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