Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Running test project with conan Qt project
Qt 6.12 LTS is out! See what's new in the release blog

Running test project with conan Qt project

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 714 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 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 last edited by
      #2

      Resolved by setting plugin path.

      1 Reply Last reply
      0

      • Login

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