2010/11/24 marcos hipe <marcosh...@gmail.com>: > im having much problems :( jeje > doing the "make" to the pyqt with MinGW, the console say that: > > * mingw32-make[1]: *** [QtGui.pyd] Error 255 > * mingw32-make[1]: Leaving directory `C:/PyQt-20090403/QtGui' > * mingw32-make: *** [all] Error 2 > > in an old mail of this list one say: > " > I ran into this issue while compiling PyQt 4.5.4 against Qt 4.5.1 on > windows xp using mingw and cmd.exe. > > I was able to work around it by changing line 37 of QtGui\Makefile from > $(LINK) $(LFLAGS) -o $(TARGET) $(OFILES) $(LIBS) > to > $(LINK) $(LFLAGS) -o $(TARGET) @ofiles $(LIBS) > and copying the contents of $(OFILES) into a new file called "ofiles". > > One strange thing was that this was only necessary on one XP windows > box - another did not seem to hit input character limit. > > ~ Devon > " > what means "and copying the contents of $(OFILES) into a new file > called "ofiles"."?? > what i need to do? > i modified the makefile of qtgui, i need to do something else? > thanks! >
well, i can solve trying :D this is what worked: in the makefile of QtGui folder: 1) change the line 37 from: $(LINK) $(LFLAGS) -o $(TARGET) $(OFILES) $(LIBS) to: $(LINK) $(LFLAGS) -o $(TARGET) @ofiles $(LIBS) 2) the line 2 is: OFILES = sipQtGuicmodule.o sipQtGuiQList0101QUndoStack.o (AND A LONG ETC) copy all after the "=" into a file called ofiles in the folder QtGui. 3) do the make and the make install and thats all :D I hope this helps others regards!! _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt