1

I thought I'd learn something about making graphical programs and downloaded Qt5 with MinGW for Windows from the website. I've done the tutorial as here: http://qt-project.org/doc/qt-5.0/qtdoc/gettingstartedqt.html

However, upon building the project the following (likely n00bish thing) happens:

:-1: error: cannot find -lqtmaind
:-1: error: cannot find -lQt5Widgetsd
:-1: error: cannot find -lQt5Guid
:-1: error: cannot find -lQt5Cored
:-1: error: cannot find -llibEGLd
:-1: error: cannot find -llibGLESv2d
:-1: error: collect2: ld returned 1 exit status

From what I gather this is probably something to do with how my setup is - although I would have thought downloading with MinGW would have prevented any issue with not having something or something being put in the wrong place. I also have code blocks on my machine and have been compiling .exe's whilst learning C++ without any issue.

4

1 回答 1

1

我需要将 C:\Qt\Qt5.0.1\Tools\MinGW\bin 添加到 PATH 的开头。

于 2013-03-18T23:35:11.880 回答