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. Errors when tryin to create standalone executable
Forum Updated to NodeBB v4.3 + New Features

Errors when tryin to create standalone executable

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 211 Views 1 Watching
  • 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
    smokeSH
    wrote on last edited by
    #1

    Hello,

    I'm trying to create a standalone Qt GUI executable using Visual Studio and Qt 5.12.11.
    I've followed this example: https://wiki.qt.io/Build_Standalone_Qt_Application_for_Windows

    However, I found out that the configure command is only available in QTDIR\5.12.11\Src. After trying to execute the command from my visual studio console, I receive a fatal error:
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef(12): C1083: Cannot open include file: 'stddef.h': No such file or directory

    After some research it might be a problem related to the Windows Driver Kit which is also installed on my system, but I'm not sure how to fix it.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      If you don't need a static build, consider going the standard and easy way:

      • compile your app normally
      • run windeployqt to deploy it
      • that's it ;-)

      (Z(:^

      1 Reply Last reply
      3

      • Login

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