configure -platform win32-g++ -static qt-libtiff -qt-zlib
Will this work?collect2: ld returned 1 exit status
There was line
#LIBS += -Lc:/Qt/2009.02/qt/plugins/imageformats/ -lqtiff
In your case it should be
LIBS += -Lc:/rakesh/qt/qt/plugins/imageformats/ -lqtiff #path to the tiff plugin
Try it.
--
Алексей Сычев
2009/9/26 Rakesh Achanta <rake...@gmail.com>:
> Hi Aleksey,
>
> Sorry to hear that you are busy. I have downloaded Qt SDk and have started
> working on owlboxer myself.
> But when I try to compile and build the project I get the following error
> with reference to QTPLUGIN += qtiff
>
> I am Using Windows XP. C:/rakesh/qt/ is where my qt is installed.
> I have tried all I can but I could not succeed.
>
> Running build steps for project OwlBoxer...
>
> Starting: C:/rakesh/qt/qt/bin/qmake.exe
> C:/rakesh/tesseract/owlboxer/OwlBoxer.pro -spec win32-g++ -r
>
> Exited with code 0.
>
> Starting: C:/rakesh/qt/mingw/bin/mingw32-make.exe -w
>
> mingw32-make: Entering directory `C:/rakesh/tesseract/owlboxer'
>
> C:/rakesh/qt/mingw/bin/mingw32-make -f Makefile.Debug
>
> mingw32-make[1]: Entering directory `C:/rakesh/tesseract/owlboxer'
>
> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o
> debug\OwlBoxer.exe object_script.OwlBoxer.Debug -L"c:\rakesh\qt\qt\lib"
> -lmingw32 -lqtmaind -lqtiffd -lQtGuid4 -lQtCored4
>
> mingw32-make[1]: Leaving directory `C:/rakesh/tesseract/owlboxer'
>
> mingw32-make: Leaving directory `C:/rakesh/tesseract/owlboxer'
>
> C:\rakesh\qt\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -lqtiffd
>
> collect2: ld returned 1 exit status
>
> mingw32-make[1]: *** [debug\OwlBoxer.exe] Error 1
>
> mingw32-make: *** [debug] Error 2
>
> Exited with code 2.
>
> Error while building project OwlBoxer
>
> When executing build step 'Make'
>
> This is the .pro file I have.
> # -------------------------------------------------
>
> # Project created by QtCreator 2009-04-23T08:57:36
>
> # -------------------------------------------------
>
> TARGET = OwlBoxer
>
> TEMPLATE = app
>
> #LIBS += -Lc:/rakesh/qt/qt/plugins/imageformats/ -lqtiff
>
> SOURCES += main.cpp \
>
> mainwindow.cpp \
>
> owlboxer.cpp \
>
> boxlist.cpp \
>
> owlscrollarea.cpp \
>
> hexmodule.cpp
>
> HEADERS += mainwindow.h \
>
> owlboxer.h \
>
> boxlist.h \
>
> owlscrollarea.h \
>
> hexmodule.h
>
> QTPLUGIN += qtiff
>
> RESOURCES = owlboxer.qrc
>
> Could you please tell me where I am going wrong?
>
> Once I can compile and Build this, I can make the required change to
> associate a string with a box as opposed to a character.
>
> Thanks a lot for this help.
> Rakesh