Important: Please read the Qt Code of Conduct -

Qt5.1.1 cannot find dlls (Win7)

  • Hello,

    I have written a program with Qt. When I try to build it on my PC I get the following errors:
    cannot find -lqtmain
    cannot find -lQt5Quick
    cannot find -lQt5Qml
    cannot find -lQt5Network
    cannot find -lQt5Gui
    cannot find -lQt5Core
    error: Id returned 1 exit status

    When I copy the project to another PC I don't get any errors.I geht the errors only on that PC.
    So I thought it is a problem with the installation and uninstalled the Qt and instlalled the latest version from this site. But the errors are still there.
    I think it is a problem with the dlls in the installation directory.

    Can anybody help me with this problem?

    Thank you for all answers!

  • Does anybody has an idea?

  • You need to give some more information on how you compile.
    Are you using Qt creator?
    Which compiler?

  • Hello koahnig,

    thank you for your answer!

    Yes, I'm using the latest version of the Qt creator.
    I'm using the MinGW 4.8 32bit Compiler.
    My Qt-Version is Qt 5.1.1 MinGW 32bit.

  • Sorry for push but I'm interested how you fixed this problem.

    I have the same problem:

    I had 2 guys who tried to fix it. But without success.

Log in to reply