Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Running test project with conan Qt project
Forum Updated to NodeBB v4.3 + New Features

Running test project with conan Qt project

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 498 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.
  • S Offline
    S Offline
    scott_craig
    wrote on 27 Apr 2020, 05:28 last edited by
    #1

    I'm trying to avoid installing Qt, but instead will try to use it as a package.

    IDE: VS2019 w/ CMake 3.16

    OS: Windows 10

    https://github.com/bincrafters/conan-qt

    It seems I have installed everything properly and there are no link errors on compilation. The issue is when I try and run the executable I get

    Could not load the Qt platform plugin "windows" in "" even though it was found
    

    The conan package does not seem to come with a windeployqt.exe.
    What I've done is installed Qt as well as using the online installer and used windeployqt.exe from msvc2017_64/bin/ on the target .exe I want to test. Looking at the executable folder, it seems to have all .dll dependencies.
    Looking in the same folder as my executable there is a folder called platforms that stores a file called qwindowsd.dll. The project is Debug mode.

    Still after using windeployqt.exe it still gives me this error.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      scott_craig
      wrote on 27 Apr 2020, 15:58 last edited by
      #2

      Resolved by setting plugin path.

      1 Reply Last reply
      0

      1/2

      27 Apr 2020, 05:28

      • Login

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