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



  • 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



  • 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!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.