Results 1 to 9 of 9

Thread: How do I make my project executable file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How do I make my project executable file

    On your computer you can add the environment variables path for Qt and MingW

    Or you can copy the required dll's in the same folder with your application.exe

    You need at least two dll's for MingW runtime:
    mingwm10.dll and libgcc_s_dw2-1.dll
    you can find this two in the Qt_install_folder\mingw\bin

    and if you used some Qt stuff (maybe you didn't use in console application but you will use with GUI ones) you find those dll's in: Qt_install_folder\qt\bin

  2. The following user says thank you to Zlatomir for this useful post:

    theios_nikos (4th June 2010)

  3. #2
    Join Date
    Jun 2010
    Location
    Thessaloniki, Greece
    Posts
    5
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do I make my project executable file

    Quote Originally Posted by Zlatomir View Post
    On your computer you can add the environment variables path for Qt and MingW

    Or you can copy the required dll's in the same folder with your application.exe

    You need at least two dll's for MingW runtime:
    mingwm10.dll and libgcc_s_dw2-1.dll
    you can find this two in the Qt_install_folder\mingw\bin

    and if you used some Qt stuff (maybe you didn't use in console application but you will use with GUI ones) you find those dll's in: Qt_install_folder\qt\bin
    Ok, i copied the dlls in the same folder, plus the QtCore4.dll (i was asked to) and now I get the warning that: Insert point _ZN16QCoreApplicationC1ErPPc of the procedure cannot be found in the dynamic connection library QtCore4.dll
    PAOK Thessaloniki

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How do I make my project executable file

    You probably copied the wrong QtCore4.dll. You should copy the one from "qt" subfolder of where the SDK is installed. The other one is in a different version and is meant only for running QtCreator.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following 2 users say thank you to wysota for this useful post:

    theios_nikos (4th June 2010), Zlatomir (4th June 2010)

  6. #4
    Join Date
    Jun 2010
    Location
    Thessaloniki, Greece
    Posts
    5
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do I make my project executable file

    Perfect

    It works !!! Thanks for your help !!!
    PAOK Thessaloniki

Similar Threads

  1. Replies: 5
    Last Post: 30th August 2011, 23:21
  2. Replies: 5
    Last Post: 15th June 2010, 07:42
  3. Replies: 1
    Last Post: 3rd December 2009, 23:34
  4. How to Create Executable file for my QT application
    By c_srikanth1984 in forum Qt Programming
    Replies: 2
    Last Post: 19th March 2009, 04:02
  5. Replies: 1
    Last Post: 14th February 2008, 07:14

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
  •  
Qt is a trademark of The Qt Company.