Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. beginner error trying to deploy project
QtWS25 Last Chance

beginner error trying to deploy project

Scheduled Pinned Locked Moved Solved General and Desktop
bbb
3 Posts 2 Posters 670 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.
  • R Offline
    R Offline
    roo_
    wrote on 16 Aug 2018, 02:22 last edited by
    #1

    HI-

    _ZNSt18condition_variable4waitERSt1unique_lockStmutexE could not be located in the dynamic link library path QT5Core.dll.

    I am trying to run the pushbutton sample code and loaded the deployment files into the release directory of my project. I read one persons comment on google and they said you may not have linked to pthread but it is linking to mthread. Not sure where to even begin with this one. It finishes qmake file.pro and builds without errors with make. I am using most recent version of qt 5.11 and windows with mingw.

    This is my first partial night of using qt. thx. for any help! - roo_

    J 1 Reply Last reply 16 Aug 2018, 02:51
    0
    • R Offline
      R Offline
      roo_
      wrote on 16 Aug 2018, 02:48 last edited by
      #2

      I fixed it. It was not picking up the right files. I threw in everything but the kitchen sink and it worked. So I need to use the trick someone showed me on the web to select out the right files that I actually need. THX. Have a cool night. roo_

      "I also forgot to mention I tried to use windeployqt. I am reading where I might have the wrong deployment files and the right source and header files. I will look at that in a bit."

      thx.

      1 Reply Last reply
      1
      • R roo_
        16 Aug 2018, 02:22

        HI-

        _ZNSt18condition_variable4waitERSt1unique_lockStmutexE could not be located in the dynamic link library path QT5Core.dll.

        I am trying to run the pushbutton sample code and loaded the deployment files into the release directory of my project. I read one persons comment on google and they said you may not have linked to pthread but it is linking to mthread. Not sure where to even begin with this one. It finishes qmake file.pro and builds without errors with make. I am using most recent version of qt 5.11 and windows with mingw.

        This is my first partial night of using qt. thx. for any help! - roo_

        J Offline
        J Offline
        JKSH
        Moderators
        wrote on 16 Aug 2018, 02:51 last edited by
        #3

        @roo_ said in beginner error trying to deploy project:

        _ZNSt18condition_variable4waitERSt1unique_lockStmutexE could not be located in the dynamic link library path QT5Core.dll.

        Often, this means you accidentally deployed the MSVC version instead of the MinGW version of Qt5Core.dll.

        The recommended way to deploy is to use windeployqt.

        If you want to deploy manually, make sure you copy the correct DLLs (do not take any DLLs from the Qt Creator folder!) See http://wiki.qt.io/Deploy_an_Application_on_Windows for details.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        3

        2/3

        16 Aug 2018, 02:48

        • Login

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