Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] warning: auto-importing has been activated without --enable-auto-import specified on the command line.
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] warning: auto-importing has been activated without --enable-auto-import specified on the command line.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 4.2k 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.
  • V Offline
    V Offline
    veeraps
    wrote on last edited by
    #1

    Hi,

    What does this warning meant for?
    "warning: auto-importing has been activated without --enable-auto-import specified on the command line."

    I copied example project 'sinusplot' from Qwt and compiled with Qt 4.8.1 with MinGW environment. While linking I got the warning as below:

    @
    g++ -mthreads -Wl,-subsystem,windows -o debug\MyPlot.exe debug/main.o debug/myplot.o -L"c:\Qt\4.8.1\lib" -lmingw32 -lqtmaind debug\MyPlot_res.o -LC:/Qwt-6.0.0/lib -lqwt -lQtGuid4 -lQtCored4
    Info: resolving vtable for QwtSyntheticPointData by linking to __imp___ZTV21QwtSyntheticPointData (auto-import)
    mingw32-make.exe[1]: Leaving directory `C:/Qt/workspace/MyPlot'
    c:/qt/qtcreator-2.4.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: 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.
    13:56:05: The process "C:\Qt\qtcreator-2.4.1\mingw\bin\mingw32-make.exe" exited normally.
    @

    When I execute my binary, I am getting Runtime Error!!

    Appreciate if somebody could help me out.

    Thanks,
    Veeraps

    1 Reply Last reply
    0
    • V Offline
      V Offline
      veeraps
      wrote on last edited by
      #2

      Figured out the cause for Runtime Error!!

      I was build a debug version but executing the application with Qwt release dll.

      When I build release version and execute it with Qwt release dll, everything this fine and I could see the Qwt Plot

      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