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 use QT GUI DLL from another application?
QtWS25 Last Chance

How to use QT GUI DLL from another application?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.3k Views
  • 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.
  • O Offline
    O Offline
    online.0227
    wrote on last edited by
    #1

    Hello~
    please note that I am not a native in English. sorry for any grammar mistake.

    I am very new to QT(just started yesterday) and have only few experiences with MFC. I want to know how to integrate QT GUI DLL into non QT application.

    I made this QT GUI DLL from the wizard: I simply chosen QT Gui Application and in .pro I changed "TEMPLATE = app" to "TEMPLATE = lib", as well as changing source code.

    I attached source code here, you may looks at it.
    http://cfile208.uf.daum.net/attach/025A524151C3E65D1B5E63

    in the zip file, sources in folder "gui" does creating GUI DLL. sources in folder "main" actually loads DLL and try to call the function in DLL.

    they compiles well, but it seems they do not work. it gets an error called "there should be only one application object" when I start main.exe

    What is the problem?

    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