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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:57:43+00:00 2026-05-27T09:57:43+00:00

My environment: Qt Creator 2.3.1 Qt 4.7.4 (32 bit) Windows 7 Ultimate (64 bit)

  • 0

My environment:

  • Qt Creator 2.3.1
  • Qt 4.7.4 (32 bit)
  • Windows 7 Ultimate (64 bit)

While trying to rebuild a project in Qt for Windows, I’m having the following compiler warning:

warning: auto-importing has been activated without
–enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from
auto-imported DLLs.

The project that’s emitting this warning includes a DLL file. In spite of the warning, the classes and functions in the DLL are accessible.

What does the warning mean? How to fix it?

  • 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-27T09:57:44+00:00Added an answer on May 27, 2026 at 9:57 am

    This is a MingW specific warning telling you that several dynamic libraries are being linked in implicitly. That’s entirely fine. To fix it, you literally do what the warning tells you and specify the option:

    g++ -o prog file1.o file2.o --enable-auto-import
                                ^^^^^^^^^^^^^^^^^^^^
    

    (By the way, if you’re distributing executables for Windows, you might additionally like to link with -static-libgcc and -static-libstdc++ to avoid dependence on the compiler’s runtime libraries.)

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

Sidebar

Related Questions

Environment: linux x64, compiler gcc 4.x Project has following structure: static library slib --
Environment info: *Windows Vista *PHP 5.2.9-2 I'm working on a project. Let's say it's
Environment: Visual Studio 2008 SP1 How can I write the following regex? I'm trying
I'm trying to compile a Qt Creator project on the command line. Here's what
I'm trying to build Qt on Windows with the following command: configure -static -opensource
Environment: Windows 2003 Server (32 bit); IIS6, ASP.NET 2.0 (3.5); 4Gb Ram; 1 Worker
Environment: Windows Server 2008 R2 on Amazon EC2 Netbeans IDE with Glassfish started on
Environment: Seam, Richfaces The following code snippet causes the method getUsers to be called
Environment: Windows XP, SpringSource Tool Suite 2.3.2, Roo 1.0.2.Release, Java 1.6.0_10, tc Server 6.0
I have the following method for which I am trying to write a unit

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.