mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] cross compile Qt-based project for windows from u


From: Harry Kunz
Subject: [Mingw-cross-env-list] cross compile Qt-based project for windows from ubuntu
Date: Mon, 8 Oct 2012 09:55:09 -0700 (PDT)

hi.

i'm a newby to cross compiling.. i hope someone can help me

i have my project at http://sourceforge.net/p/createswf/wiki/Home/ that usese Qt. I'm trying to cross-compile this project for windows. I'm compiling on Ubuntu environment.
i followed the steps in http://mxe.cc/#tutorial but can't get to compile... :(

i have unpacked mxe in my home dir (~/mxe) and did a make and successfully did a "make qt"
then in ~/.bashrc i added "~/mxe/usr/bin" to my $PATH and added
export PKG_CONFIG_PATH_i686_pc_mingw32="~/mxe/usr/i686-pc-mingw32/qt/lib/pkgconfig:~/mxe/usr/i686-pc-mingw32/lib/pkgconfig"

Since i'm using Qt i supposedly only have to execute the following:
i686-pc-mingw32-qmake
make

when i compile using make, i get the below error even when "i686-pc-mingw32-g++" really exists in ~/mxe/usr/bin/ which is in $PATH

make[1]: i686-pc-mingw32-g++: Command not found
make[1]: *** [.obj/CoreApplication.o] Error 127

hoping for someone to help me :)

regards,
harry

reply via email to

[Prev in Thread] Current Thread [Next in Thread]