Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt on VS 2017: Link DLLs at Runtime
Forum Updated to NodeBB v4.3 + New Features

Qt on VS 2017: Link DLLs at Runtime

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 450 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    alexCali
    wrote on last edited by
    #1

    Hello everyone,

    I just started using Qt on VS today and I am running into a small issue.
    I can build my solution with no problems, both in Debug and Release mode 64-bit, but when I try to run it I get run time errors.
    The errors are all related about not finding DLL files at run time such as Qt5Widgets.dll and Qt5Core.dll.

    How can I fix this issue properly? I have done some research and people suggest to copy these DLL files in the folder of where the .exe is created. Are there any other approaches I can use? For example changing some settings in the projects?

    I would use Qt Creator but for the nature of my projects I need to use Visual Studio so please give me an end getting Qt properly working on Visual Studio. I need to run and debug my application within Visual Studio, that's all. I can compile but I cannot run it at all.

    Thank you everyone for your help and tips.

    Bests,
    Rosario

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please don't post the same question in multiple sub-forum.

      Duplicates

      Closing this one.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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