Results 1 to 3 of 3

Thread: convert my mainwindow in one .dll with qt

  1. #1
    Join Date
    Oct 2016
    Posts
    61
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default convert my mainwindow in one .dll with qt

    Hi it's possible to convert my mainwindow in one dll dynamic link library? And my other question is if i did one static link library i can include in one dynamic link library to include all features of this and then use like a dynamic link library calling the functions and all things with my dynamic link library. And the last question is what will be the problem if i want to use this .dll with one program that it is not for qt. thanks!

    The dll is done with qt.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: convert my mainwindow in one .dll with qt

    convert my mainwindow in one dll dynamic link library?
    I have no idea what you mean by this. Convert mainwindow to what?

    And the last question is what will be the problem if i want to use this .dll with one program that it is not for qt.
    This probably will not work unless you implement a QApplication instance inside your DLL so there is an event loop for the Qt QObject-based class instances to use.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Oct 2016
    Posts
    61
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: convert my mainwindow in one .dll with qt

    in other words libraries of qt are not prepared for being used by other class of program's. They will work only with qt program's but if i want to get to work with other program's, i must to implement a QApplication instance inside my DLL. So i think it's a little difficult to implement with qt so maybe i must to use pure c++.

Similar Threads

  1. How to Convert FLV to MOV on Mac
    By BadBB in forum General Discussion
    Replies: 2
    Last Post: 3rd November 2017, 11:12
  2. Replies: 0
    Last Post: 6th November 2011, 09:22
  3. Replies: 1
    Last Post: 12th April 2011, 09:53

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.