0

开始:C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe -w mingw32-make:进入目录C:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot' C:/Qt/2010.02.1/mingw/bin/mingw32-make -f Makefile.Release all mingw32-make[1]: Entering directoryC:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot ' 链接 ....\examples\bin\data_plot.exe c:/qt/20​​10.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../。 ./mingw32/bin/ld.exe:找不到-lqwt5 collect2:ld返回1退出状态mingw32-make[1]:离开目录C:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines/data_plot' mingw32-make: Leaving directoryC:/Qt/2010.02.1/qt/qwt/qwt-5.2.1/textengines /data_plot' mingw32-make[1]: * [....\examples\bin\data_plot.exe] 错误 1 ​​mingw32-make: * [release-all] 错误 2 Exited with code 2. 构建项目 data_plot 时出错执行构建步骤'Make'

这种错误的原因可能是什么?

感谢您的任何建议:)

4

1 回答 1

1

该错误消息表明未找到 qwt5 库。

检查您的 QWT 库是否确实被称为 qwt5.dll 并且链接器是否有找到该库的路径(检查您的 .pro 文件中是否有一行读取 LIBS += -L/path/to/qwt -lqwt5 ) .

于 2010-07-14T08:32:36.003 回答