tags:

views:

505

answers:

4

Hello,

please tell me, where do i get a link to install QT with MinGW cross compiler in Linux?

Thank you

+1  A: 

Have a look at:

Alan Haggai Alavi
Hi, did you succeed in cross compiling Qt apps on linux? in an answer to the previous similar question you said you had not been able to do that yet..
Here Be Wolves
@harshath.jr: Hi. I have not yet succeeded in doing so.
Alan Haggai Alavi
ok.. u mean ther's nothin called as QT with MinGW..right ??so pls tel me which cross compiler should i use in Linux with QT??is Mingw only for windows or can i install it in Linux to generate windows executable???
suse
@suse: You can build a MingW cross-compiler in Linux by following the above articles. Then, you can build executables for Windows by using this cross-compiler.
Alan Haggai Alavi
ok thanks a lots:)
suse
MinGW is installed in Linux:)
suse
A: 

There is no link. MinGW (Minimalist GNU for Windows) is platform specific and Windows-only. On Suse the required compiler GCC and all its dependencies should already be present, so MinGW is unneccessary there.

For QT for linux head over to the Trolltech Download page.

Kosi2801
you misunderstand the question: he wants to use MinGW, not GCC. Reason: he wants windows bindaries to be generated!
Here Be Wolves
A: 

Fedora 11 comes with the MingW cross compiler (mingw32-gcc, mingw32-g++, etc.) and Win32 packages for Qt (mingw32-qt). You could try using Fedora instead of Suse, or the packages may install on Suse with a bit of coaxing.

atomice
+1  A: 

All you need is just three commands from you:

zypper ar http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.3/ mingw zypper mr -r mingw zypper install mingw32-libqt4-devel

change 11.3 to to the openSUSE version you have.

The dependencies for .exe compiled through that toolchain can be resolved by fetching .dll files from /usr/i686-pc-mingw32/sys-root/i686-pc-mingw32/bin/ directory.

Best Regards, Damian

RushPL