Files
@ d7edbe56b125
Branch filter:
Location: EI/VirtualLeaf/src/TutorialCode/Tutorial1D/Makefile - annotation
d7edbe56b125
544 B
text/x-makefile
The snapshot feature stopped working on Windows. The problem was in MainBase::Save, where the "format" argument was added to "image->save". On Windows the file format must be given in Capitals and in specific formats (e.g. TIFF works, TIF not).
It is much safer to leave the 'format' argument out and let the system guess the format from the file extension.
--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
changed src/canvas.cpp
changed src/mainbase.cpp
changed src/mainbase.h
It is much safer to leave the 'format' argument out and let the system guess the format from the file extension.
--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
changed src/canvas.cpp
changed src/mainbase.cpp
changed src/mainbase.h
21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 23dfaeaae8f8 23dfaeaae8f8 23dfaeaae8f8 23dfaeaae8f8 23dfaeaae8f8 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 67230a3743ca 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 21afbd2a2c01 | # $Id$
# Set an environment varible $(MAKE) to the name of the make command
# on your machine, e.g. 'make' on UNIX and 'mingw32-make' on windows.
# Fallback default is UNIX make.
ifeq ($(MAKE),)
MAKE=make
endif
# Ditto for QMAKE
ifeq ($(QMAKE),)
QMAKE=qmake
endif
all: tutorial1D
tutorial1D: Makefile.tutorial1D
$(MAKE) -f Makefile.tutorial1D
Makefile.tutorial1D: tutorial1D.pro
$(QMAKE) -o $@ $<
clean:
$(MAKE) -f Makefile.tutorial1D clean
ifeq ($(MAKE),make)
touch tutorial1D.pro
else
copy /b tutorial1D.pro +,,
endif
# finis
|