Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2008
RC_FILE in Windows Vista


Message 1 in thread

Hello, 
I want to do a "Setting the Application Icon on Windows".
I have in my .pro the following thing:
RC_FILE = myapp.rc
I have created my myappico.ico and have created a file myapp.rc with them following:
IDI_ICON1               ICON    DISCARDABLE     "myappico.ico"
Since this me works very well in Windows XP with Qt 4.3.3.
But now I have tried to do a "make" with Windows Vista and it gives me the following error:
------------------------------------------------------------------------------
c:\Qt|4.3.3\bin\qmake.exe -win32 -o Makefile project.pro
windres -i myapp.rc -o myapp_res.o --include-dir=.
gcc: installation problem, cannot exec 'cc1': No such file or directory
windres: no resources
mingw32-make: *** [myapp_res.o] Error 1
-------------------------------------------------------------------------------
Why?

Regards





Ahora también puedes acceder a tu correo Terra desde el móvil.

Infórmate pinchando aquí.






Message 2 in thread

> Von: "SALOMEHER@xxxxxxxx"
> Hello, 
> I want to do a "Setting the Application Icon on Windows".
> I have in my .pro the following thing:
> RC_FILE = myapp.rc
> I have created my myappico.ico and have created a file myapp.rc with them
> following:
> IDI_ICON1               ICON    DISCARDABLE     "myappico.ico"
> Since this me works very well in Windows XP with Qt 4.3.3.
> But now I have tried to do a "make" with Windows Vista and it gives me the
> following error:
> ------------------------------------------------------------------------------
> c:\Qt|4.3.3\bin\qmake.exe -win32 -o Makefile project.pro
> windres -i myapp.rc -o myapp_res.o --include-dir=.
> gcc: installation problem, cannot exec 'cc1': No such file or directory
> windres: no resources
> mingw32-make: *** [myapp_res.o] Error 1
> -------------------------------------------------------------------------------
> Why?
> 
This is a well-known mingw problem --> see http://sourceforge.net/forum/forum.php?forum_id=782021


Christian
-- 
 [ signature omitted ]