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. How to static compile QT ?
Forum Updated to NodeBB v4.3 + New Features

How to static compile QT ?

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.3k 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.
  • C Offline
    C Offline
    celio93
    wrote on last edited by
    #1

    I've been searching for the last couple of days for How to static compile the QT SDK for releasing projects .exe , I found the way to do it but whenever I did the same steps , I get an error-> file or path is not found (mingw32-make) , Please I'd like to know how to do it correctly ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ainvi
      wrote on last edited by
      #2

      Okay, first of all, ensure you have installed Qt version that comes with MinGW.
      Second, check if there's a Src folder. (you probably have it, since you passed further).

      Then you either find "Qt 5.2.0 for Desktop (MinGW 4.8 32 bit)" link in your Start menu, or you run cmd.exe and type the following:
      @C:\Windows\System32\cmd.exe /A /Q /K C:\Qt5\5.2.0\mingw48_32\bin\qtenv2.bat@
      (C:\Qt5 is the folder Qt installed into; it also has MaintenanceTool)

      There's your mingw32-make. cd to ../Src/qtbase and start configuring, then run mingw32-make and (optionally) mingw32-make install.

      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