×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    6

    How to embed .dll file in .exe in Qt desktop application?

    Hello, I want to embed .dll file in exe of my qt desktop application, when I run .exe in release folder of my application ,it shows error "The program can't start because mingwm10.dll is missing from your computer.Try reinstalling the program to fix this problem.". Although the exe file run when i put .dll file in release folder but without this .exe file not running. How can i resolve this issue?

    Thanks in advance

  2. #2
    Registered User
    Join Date
    May 2009
    Location
    Greece
    Posts
    191

    Re: How to embed .dll file in .exe in Qt desktop application?

    To begin with, what you mention can't be considered an issue rather than the normal usage of dlls in C++.

    If what you say can be done, then it wont be trivial. From a small search in Google you will be able to find articles like this one or this one.

    Of course on the other hand i you have the source code of the dll you can always add the source code to your project and you are done.

    PS: i got curious if this could happen using Qt Resources. To add the dll as a resource. I would recommend not to try this at home :P because when compiling the resource file, the compiler acquired all the free Ram in just 5 seconds (about 2.5GB at that time) resulting my pc to freeze.

  3. #3
    Nokia Developer Expert
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399

    Re: How to embed .dll file in .exe in Qt desktop application?

    You will need build build Qt statically, as described here.

Similar Threads

  1. How to wirte a package file with one exe and one dll for a symbian application.
    By samsbalu in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-12-23, 14:17
  2. how to invoke a mibile exe from a desktop application
    By rajesshwari.m in forum Symbian
    Replies: 7
    Last Post: 2009-06-04, 11:47
  3. how to invoke a mibile exe from a desktop application
    By rajesshwari.m in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2009-06-04, 07:58
  4. How to launch flash file in emulator and embed flash file in c++ application
    By mrudulpen in forum [Archived] Flash Lite on Nokia Devices
    Replies: 8
    Last Post: 2008-05-09, 08:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •