Skip to content

caiwang213/QtStatic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

QtStatic

Script that builds Qt in Static version

Prerequisites

You need Qt already installed. Download Qt here

Then you need :


How to use ?

Open this script with an text editor and change these lines at your convenience:

The archive file will be stored in "src" folder into your Qt path (Example: "C:\Qt\Static\src\qt-everywhere-src-5.11.0.zip")

After that, launch the modified script by right-clicking the file and select "Execute with PowerShell". This process may take several hours.

When Qt Static build is finished, open Qt Creator. Go to options and go to "Build and run". Go to "Qt Versions" and click "add" button, go to the Qt Static path (Example: "C:\Qt\Static\5.11.0\bin") and select "qmake.exe". Go to "Kits" section and add Qt Static Build the Qt Version.

Now you can build static apps!

For more informations, please visit Build a Qt static

About

Script that builds Qt in Static version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%