Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Version migration problem: specified -enable-auto-import on the command line
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Version migration problem: specified -enable-auto-import on the command line

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aviad
    wrote on last edited by
    #1

    Hi All,

    I want to migrate a project from old Qt version to a newest one.
    [OP: Windows7 | Qt: 4.8.1 ]

    When building, compiler throw this message:
    warning: auto-importing has been activated without --enable-auto-import specified on the command line.

    Ok. I try to add this line. and fail.

    Can someone give me (and other user with similar problems) some sort of "step-By-Step tutorial" for adding this line to the command line (something like: STEP 1: Open the command line... and so on...)

    I think that something like this can be a great help for newest programmers with Qt.

    Thanks for advance,
    Aviad

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aviad
      wrote on last edited by
      #2

      Ok - I use this "link.":http://qtcenter.org/wiki/index.php?title=Building_static_Qt_on_Windows_with_MinGW

      Enter to: <QtSDK DIR>\Desktop\Qt\4.8.1\mingw\mkspecs\win32-g++

      And change the line:
      QMAKE_LFLAGS =

      To:
      QMAKE_LFLAGS = -enable-auto-import -Wl

      That's all.
      Good Luck!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved