Hi All,
i am a new in Qt. I have installed the qt creator 2.8.1 and qt 4.8.5 and now want to use external lib libtiff
after a long search i have configured the .pro file successfully liks:
SOURCES += main.cpp\
mainwindow.cpp \
GUI.cpp \
makeDNG.cpp
HEADERS += mainwindow.h \
GUI.h \
makeDNG.h
FORMS += mainwindow.ui
win32:CONFIG: LIBS += -L$$PWD/“C:/Program Files (x86)/tiff-3.9.4/libtiff/ -llibtiff”
else:win32:CONFIG: LIBS += -L$$PWD/“C:/Program Files (x86)/tiff-3.9.4/libtiff/ -llibtiffd”
else:unix: LIBS += “-L$$PWD/C:/Program Files (x86)/tiff-3.9.4/libtiff/ -llibtiff”
INCLUDEPATH += “C:/Program Files (x86)/tiff-3.9.4/libtiff”
DEPENDPATH += “C:/Program Files (x86)/tiff-3.9.4/libtiff”
INCLUDEPATH += “C:/Program Files (x86)/tiff-3.9.4/libtiff”
DEPENDPATH += “C:/Program Files (x86)/tiff-3.9.4/libtiff”
and now when i compile it occurs the errors always:
E:\janosch\QT\js_v21\makeDNG.cpp:156: Fehler:undefined reference to `TIFFOpen’
E:\janosch\QT\js_v21\makeDNG.cpp:158: Fehler:undefined reference to `TIFFSetField’
can someone explain how i can fix these problems…?
thx in advance and best regards
sven
↧