Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'

  • From: "fruler" < >
  • To:
  • Subject: Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'
  • Date: Thu, 15 Nov 2012 03:27:13 -0500


soldatov wrote:
> 1) -Wl is g++ flag too (for example: http://www.mingw.org/wiki/sampleDLL)
> 2) NetBeans doesn't generate -enable-auto-import and other same flags
> 3) Qt is C++ only framework
> 4) real Qt flags are placed in <Qt dir>/mkspecs/default/qmake.conf
> 5) I don't known 64-bit Qt is supported or not supported on Windows


1) Understood
2) Understood
3) Yes, I know - and what does it change? GCC is C++ compiler too
4) Ok - it seems that Qt sets wrong flags or uses compiler - these are placed 
in the file you've mentioned
5)  Qt x64 is supported (works, being tested etc.) for a long time. Or I 
didn't get you :? 
6) Why? What should I use via NetBeans?






Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'

fruler 11/14/2012

Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'

soldatov 11/15/2012

Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'

soldatov 11/15/2012

Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'

fruler 11/15/2012

Sample Qt app + MinGW: g++.exe: error: unrecognized command line option '-Wl'

soldatov 11/15/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close