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 9250855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:32:56+00:00 2026-06-18T10:32:56+00:00

I get a crash when try to create a QApplication object. This is my

  • 0

I get a crash when try to create a QApplication object. This is my code:

#include <QLabel>
#include <QApplication>

int main(int argc, char* argv[])
{
    QApplication app(argc, argv);
    return app.exec();
}

I am using Qt version 4.8.4 and the MinGW compiler. My application crashes when running QCoreApplicationPrivate::processCommandLineArguments method. Can anybody tell how to solve this problem?

  • 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-06-18T10:32:58+00:00Added an answer on June 18, 2026 at 10:32 am

    Apparently, this error is caused by binary incompatibility of Qt binaries and your compiler.

    From here:

    There are binary installers targetting MinGW for both Qt 4 and Qt 5.
    The Qt 4 ones are built with aMinGW.org toolchain using gcc 4.4. The
    Qt 5 ones are based on a MinGW-builds toolchain [sourceforge.net]
    using gcc 4.7.2. The Qt 5 installer also ships the toolchain itself.

    If you are using gcc 4.7 (I think this is the default version with the latest MinGW), you can’t compile (well, you can, but it will not work) with Qt 4 precompiled binaries.

    So, either downgrade your gcc to 4.4 version, or upgrade Qt to latest (Qt 5) version.

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

Sidebar

Related Questions

When I try to create the NSArray purchasedTimeArray , I get a crash EXC_BAD_ACCESS
I try to do an app but I get a lot of crash an
I'm not entirely sure why this crash is happening and I'd like to get
As per client requirement i want to send crash Report when App get crash.
When my app crashes, I get a crash report that takes 5 minutes to
When I run STLport on Darwin I get a strange crash. (Haven't seen it
First of all, this is Java 1.4 (project restrictions). I'm trying to create a
This code crashes the application, If i refer to database name from the static
My understanding is that with crash dump of debug build you can get the
I try to create an application for the iPhone where you can set appointments.

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.