Hi,
Another question... (I'm new to Qt and qmake). I have the following .pro file (listed below), and I'm using qmake to generate a makefile. I want to build a Win32 static library (with MinGW) (e.g. <name>.lib) but I get a Unix library built (e.g. lib<name>.a).
The relevant environment variables are:
QMAKESPEC=win32-g++
QTDIR=C:\Qt\4.2.1
and MinGW and Qt are both in my PATH.
Any ideas?
Thanks,
Amanda
TEMPLATE = lib
TARGET = tktabwidget
DESTDIR = ..
CONFIG += qt warn_on thread dll staticlib debug
CONFIG -= release
#CONFIG += qt warn_on thread staticlib release
win32{
CONFIG -= flat
}
debug{
UI_DIR=.debug/ui
MOC_DIR=.debug/moc
OBJECTS_DIR=.debug/obj
}
release{
UI_DIR=.release/ui
MOC_DIR=.release/moc
OBJECTS_DIR=.release/obj
}
INCLUDEPATH += .\
../tkdock
SOURCES += \
tktabbar.cpp \
tktabwidget.cpp
HEADERS += \
tktabbar.h \
tktabwidget.h
QT += qt3support
QT += xml
Bookmarks