You are not logged in.

#1 2011-05-29 19:10:04

arkara
Member
Registered: 2010-05-02
Posts: 35

How to cross compile a qt app from netbeans?

Hello, i have installed mingw32. And created a new tool chain in netbeans
where i defined C and CXX compiler as
i486-mingw32-gcc and
i486-mingw32-g++ respectively.
the assmbler is i486-mingw32-as
and the qmake and make, are the standard ones.

I also created a new configuration for rmy project(for the win build) and defined a linker from
Build --> Qt --> Custom Definition where i defined:

QMAKE_LINK= i486-mingw32-g++

Now, when i clean and build this, i get the following error:

/usr/lib/gcc/i486-mingw32/4.5.2/../../../../i486-mingw32/bin/ld: unrecognized option '--hash-style=gnu'
/usr/lib/gcc/i486-mingw32/4.5.2/../../../../i486-mingw32/bin/ld: use the --help option for usage information

any suggestions?

Offline

Board footer

Powered by FluxBB