Results 1 to 4 of 4

Thread: Create DLL file from Qt4

  1. #1
    Join Date
    Feb 2010
    Posts
    31
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Windows

    Default Create DLL file from Qt4

    Hi

    I want to create DLL file like the one done in VC++.
    Can any body help.

    Thanks in advance.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Create DLL file from Qt4

    EDIT: From your title "Create DLL file from Qt4", I thought you were trying to create a DLL from Qt4, ie, recompile Qt4 as a DLL. From your duplicate post, it seems you don't mean that, so I retract this answer. Please follow the other advice instead.
    Last edited by squidge; 3rd March 2010 at 19:06.

  3. #3
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Create DLL file from Qt4

    Quote Originally Posted by abghosh View Post
    Hi

    I want to create DLL file like the one done in VC++.
    Can any body help.

    Thanks in advance.
    Please don't double post.

    This thread should be moved to newbie section

  4. #4
    Join Date
    Sep 2009
    Posts
    72
    Thanked 10 Times in 10 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: Create DLL file from Qt4

    Assuming u want to create ur application as dll on windows. please correct me if i am wrong.

    Then u have to look for Q_DECL_EXPORT and Q_DECL_IMPORT macros in class.
    also in your project file mention TEMPLATE = lib

Similar Threads

  1. How can we create .pc file automatically?
    By learning_qt in forum Qt Programming
    Replies: 6
    Last Post: 9th December 2010, 05:19
  2. how to create .cpp file of designer
    By sh123 in forum Qt Programming
    Replies: 8
    Last Post: 13th December 2008, 13:31
  3. Create a file
    By bfr in forum Qt Programming
    Replies: 2
    Last Post: 29th January 2008, 07:27
  4. How to create a access file .mdb
    By aiikcmo in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:06
  5. how to create *.cpp file fm *.ui
    By Shuchi Agrawal in forum Qt Programming
    Replies: 2
    Last Post: 10th January 2007, 21:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.