PDA

View Full Version : MingW and pro file!!



Raajesh
16th June 2008, 15:09
Hi Guys,

How to modify project file to create archive library on Mingw ?
I have project file generated,


################################################## ########
# Automatically generated by qmake (2.01a) Mon Jun 16 19:34:33 2008
################################################## ########
TEMPLATE = app
TARGET =
DEPENDPATH += . include src
INCLUDEPATH += .

# Input
HEADERS += include/first.h include/second.h
SOURCES += src/first.cpp src/second.cpp

How to configure project file to generate archive library for given input files.
Can some body suggest on this,
Thanks,
Raajesh

jpn
16th June 2008, 16:27
http://doc.trolltech.com/4.4/qmake-variable-reference.html#template

Raajesh
17th June 2008, 14:38
How to know present working directory, I read that it can be done qmake Advanced Usage article,

DESTDIR = $$(PWD)
message(The project will be installed in $$DESTDIR)

it's not working on MingW. Can some body explain how to do it
Thanks
Raajesh