[Qt-interest] cross compiling qt using mingw

schoappied schoappied at gmail.com
Mon Jul 27 14:25:18 CEST 2009


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



More information about the Qt-interest-old mailing list