Re: [Mingw-w64-public] cross compiling with static Qt libraries

2012-07-04 Thread Erik van Pienbroek
jan van katwijk schreef op wo 04-07-2012 om 11:41 [+0200]: > I installed Fedora 17 and the - excellent - cross compilation tools > for mingw64. It was surprisingly simple to > generate an executable using dynamically bound libs, however, when > trying to create an executable with static binding > f

Re: [Mingw-w64-public] cross compiling with static Qt libraries

2012-07-04 Thread Erik van Pienbroek
jan van katwijk schreef op wo 04-07-2012 om 11:41 [+0200]: > x86_64-w64-mingw32-g++ -static -Wl,-s -Wl,-subsystem,console -mthreads > -o release/spectrum-viewer.exe object_script.spectrum-viewer.Release > -L'/usr/x86_64-w64-mingw32/sys-root/mingw/lib' > /home/jan/cross-compiling/dll_64/libfftw3-3.

Re: [Mingw-w64-public] cross compiling with static Qt libraries

2012-07-04 Thread xunxun
于 2012/7/4 17:41, jan van katwijk 写道: Dear list I have an SDR application with Qt developed under Linux (Fedora/ubuntu). It does run under windows (vista/w7) using mingw/Qt. I am preparing a windows distribution with - as much as possible - statically bound libraries I installed Fedora 17 and

Re: [Mingw-w64-public] cross compiling with static Qt libraries

2012-07-04 Thread Kai Tietz
Hi, your issue is a missing import-library, or it placed at wrong place on command-line. For StringFromGUID you need to add -lole32 library. For the GetDeviceCaps import you need to specify -lgdi32. Regards, Kai -- Liv

[Mingw-w64-public] cross compiling with static Qt libraries

2012-07-04 Thread jan van katwijk
Dear list I have an SDR application with Qt developed under Linux (Fedora/ubuntu). It does run under windows (vista/w7) using mingw/Qt. I am preparing a windows distribution with - as much as possible - statically bound libraries I installed Fedora 17 and the - excellent - cross compilation tools