Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
error: /.dll invalid argument. Makefile not recognizing .dll file?
-
Hey guys! I'm trying to build my project with a custom .dll file. The exact error message I get is:
As you can see I do have Fraction.dll in the FractionPlayer folder:
This is my makefile where I have included the path to the .dll file.
Any tips or nudges in the right direction would be great! Thanks
-
@CaptainJuice On Windows you link against *.lib files not *.dll, see https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html
You should have Fraction.lib, use that to build, at runtime Fraction.dll is then used.