[Qt-interest] cross compiling qt using mingw
John McClurkin
jwm at nei.nih.gov
Mon Jul 27 18:30:36 CEST 2009
schoappied wrote:
> John McClurkin wrote:
>> schoappied wrote:
>>
>>> Hi,
>>>
>>> I try to build an Qt application for windows, on Debian via cross
>>> compiling with mingw.
>>>
>>> The configuration seems to go pretty well now, all though I have my
>>> whether the right Qt is used (see attachment).
>>>
>>> But when I do make I get an error:
>>>
>>> # make
>>> [ 1%] Generating bin2res
>>> [ 1%] Generating embedded_resources.h
>>> [ 1%] Generating ui_export_project.h
>>> make[2]: execvp: /usr/i586-mingw32msvc/bin/uic.exe: Permission denied
>>> make[2]: *** [ui_export_project.h] Error 127
>>> make[1]: *** [CMakeFiles/lmms.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>>
>>> What could be wrong here? I like to get some help here.
>>>
>>> Thanks in advance,
>>>
>>> /d
>>>
>>>
>> Have you checked the permissions of /usr/i586-mingw32msvc/bin/uic.exe?
>>
> Thanks for your reply.
>
> I've made the exe file executable, and now I get:
>
> /usr/i586-mingw32msvc/bin/uic.exe: /usr/i586-mingw32msvc/bin/uic.exe:
> cannot execute binary file
>
> Regards,
>
> \d
Well, this means that your operating system dose not recognize
/usr/i586-mingw32msvc/bin/uic.exe as an executable file. From the name,
uic.exe is a Windows executable. From the path you are on Linux. Windows
executables can't run on Linux
More information about the Qt-interest-old
mailing list