Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. error: /.dll invalid argument. Makefile not recognizing .dll file?

error: /.dll invalid argument. Makefile not recognizing .dll file?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 433 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CaptainJuice
    wrote on last edited by CaptainJuice
    #1

    Hey guys! I'm trying to build my project with a custom .dll file. The exact error message I get is:
    31999e54-bcbf-4b2b-b5a8-992da7b92323-image.png
    As you can see I do have Fraction.dll in the FractionPlayer folder:
    a2cf47ed-0b12-4fa9-a341-e56346e80161-image.png
    This is my makefile where I have included the path to the .dll file.
    f8161b00-fb70-437b-9663-a853ea480f6e-image.png
    Any tips or nudges in the right direction would be great! Thanks

    jsulmJ 1 Reply Last reply
    0
    • C CaptainJuice

      Hey guys! I'm trying to build my project with a custom .dll file. The exact error message I get is:
      31999e54-bcbf-4b2b-b5a8-992da7b92323-image.png
      As you can see I do have Fraction.dll in the FractionPlayer folder:
      a2cf47ed-0b12-4fa9-a341-e56346e80161-image.png
      This is my makefile where I have included the path to the .dll file.
      f8161b00-fb70-437b-9663-a853ea480f6e-image.png
      Any tips or nudges in the right direction would be great! Thanks

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved