Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7642569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:13:23+00:00 2026-05-31T09:13:23+00:00

I have created a Qt Console application , but when i tried a release

  • 0

I have created a Qt Console application , but when i tried a release exe ,
its showing lots of library missing errors,how can i solve this ,
i need a standalone exe . All the libraries should be within the exe . pls help me ..

My Current QT Pro file is this

#-------------------------------------------------
#
# Project created by QtCreator 2012-03-15T15:50:07
#
#-------------------------------------------------


QT       += core network xml
QT       -= gui

TARGET = BillingClient
CONFIG   += console
CONFIG   -= app_bundle
CONFIG   += debug_and_release
TEMPLATE = app


SOURCES += main.cpp

HEADERS += \
    HttpDaemon.h \
    Config.h \
    Logger.h \
    XmlReader.h \
    RequestHandler.h

OTHER_FILES += \
    System.ini \
    Response.xml

Libraries Missing are ..

libgcc_s_dw2-1.dll
mingwm10.dll

etc..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T09:13:24+00:00Added an answer on May 31, 2026 at 9:13 am
    libgcc_s_dw2-1.dll mingwm10.dll
    

    Those libraries are dependencies of programs built by MinGW compiler. To get rid of those dll’s and if I remember correctly use LIBS += -static. If you want to link Qt libraries statically, than you should build qt libraries statically

    UPDATE


    If you want to get rid of those 2 dll’s I mentioned above, put LIBS += -static in your .pro file.

    If you want to get rid of dlls such as QtCore4.dll QtGui4.dll etc, you should rebuild Qt source code statically. If you go this way, you should first choose which compiler you want to use. Currently I’m using MSVC 2010. Just download latest qt sources, execute configure.exe with the following parameters: -debug-and-release -platform win32-msvc2010 -sse -sse2 -no-qt3support -no-s60 -no-cetest -saveconfig config -mp and follow instructions (Keep in mind that you should have MSVC compiler installed. Just download MSVC 2010 express, it’s free). Compilation will take several hours. When it’s done, you should register your newly compiled Qt libraries in QtCreator. To do this, launch QtCreator -> Tools -> Options -> Build & run -> Qt Versions -> Add. When new dialog pops up, navigate to the folder where your qt source code resides, go to bin and select qmake.exe. Enter the name of qt version, for example: “Qt Static” and that’s it. After that you will be able to choose your new qt libraries from project settings.

    Hope it helps, if there’s something not clear for you, feel free to ask.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a console application that calls a method on a webservice. I
I have created a small chatting application in C#, and started as a Console
I have a Visual C console application (created in VC++2008EE) and I need to
I have a multi-threaded console application acting as a server. The server spawns a
I have a C# console application in Visual Studio 2010. It has a Main()
I have simple console application project for live video streaming using cross-platform libs on
Have created a c++ implementation of the Hough transform for detecting lines in images.
I have created a template for Visual Studio 2008 and it currently shows up
I have created a custom dialog for Visual Studio Setup Project using the steps
I have created a PHP-script to update a web server that is live inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.