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 Creator Shared Library at runtime

Qt Creator Shared Library at runtime

Scheduled Pinned Locked Moved Qt Creator and other tools
qt creatorshared libraryvisual studio
1 Posts 1 Posters 888 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.
  • T Offline
    T Offline
    tomkulaga
    wrote on 7 Aug 2015, 02:11 last edited by
    #1

    Hi All,

    When I create a project in QtCreator and it contains shared libraries (DLL) and an executable, and I compile with MSVC and run, it works just fine. When I then take that project into Visual Studio, it compiles but at runtime it complains about the missing DLLs part of my project. I have the Qt5 DLLs in my path so it doesn't complain about them. So it seems that Qt Creator/ qmake + msvc is somehow adding the location of the shared libraries to the debugging "environment path", so the exe can locate them and it works. This step seems to no be done in Visual studio when I import the qmake project across.

    Does anyone know what the difference is and how can i get it to work without modifying the .pro files specifically for VS?

    Thanks,

    1 Reply Last reply
    0

    1/1

    7 Aug 2015, 02:11

    • Login

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