I'm getting the following compile error in Qt Creator:
- Code: Select all
g++ -mthreads -Wl,-subsystem,windows -o debug\goldendict.exe object_script.goldendict.Debug -L"c:\QtSDK\Desktop\Qt\4.8.4\MinGW\lib" -lmingw32 -lqtmaind build\goldendict_res.o -lz -liconv -lwsock32 -lwinmm -lpsapi -lvorbisfile -lvorbis -logg -lhunspell-1.2 -Lwinlibs/lib -lQtWebKitd4 -lphonond4 -lQtXmld4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
mingw32-make.exe[1]: Leaving directory `D:/Documents/sandbox/goldendict-build-desktop-Qt_4_8_4__MinGW__Debug'
c:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lz
I'm on Windows 7 32-bit, with Qt 4.8.4 for MinGW. I'm trying to build the source package downloaded from GoldenDict website (1.0.1).
However, I'm able to successfully build GoldenDict on command line by running "qmake goldendict.pro" and "make". What do you think could be the problem?