SJWard
SJWard

Reputation: 3739

First install of Qt 5 on Windows

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.

Upvotes: 1

Views: 2472

Answers (1)

SJWard
SJWard

Reputation: 3739

I needed to add C:\Qt\Qt5.0.1\Tools\MinGW\bin to the beginning of the PATH.

Upvotes: 1

Related Questions