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. Windows Static Build - No QT Platform Plugin, and it's not being build.
Forum Updated to NodeBB v4.3 + New Features

Windows Static Build - No QT Platform Plugin, and it's not being build.

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 180 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.
  • P Offline
    P Offline
    petermitrano
    wrote on last edited by
    #1

    I'm using MSVC 2019, and the latest source of Qt. I've attached my config.log and config.cache

    When I try to run my application which is linked against this static Qt, I get the error

    qt_error.png

    I've looked around and found this answer which seems like the right thing to do. However, there libraries are not being built for me. It seems there are checks that prevent the windows platform plugin from compiling:

    in platforms.pro I'm seeing:
    win32:!winrt:qtConfig(direct3d9): SUBDIRS += windows

    And I guess I don't have direct3d9 so it's not running? Is that really needed? I'm currently passing -opengl desktop to the configure script. Not sure if direct X and openGL are alternatives or just different. I'm really lost in a rabbit hole here...

    So, how can I fix my static build so that it works?

    config.log
    config.cache

    1 Reply Last reply
    0
    • P Offline
      P Offline
      petermitrano
      wrote on last edited by
      #2

      Ok, I don't know why, but cleaning and completely reconfiguring and rebuilding worked. Must of have been something left over from a previous attempt.

      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 Extensions
      • Unsolved