Giter Site home page Giter Site logo

cetium / qt5-msvc-static Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fpoussin/qt5-msvc-static

0.0 1.0 1.0 6.59 MB

Set of tools to build static Qt 5.x libs on Windows.

License: MIT License

Batchfile 1.23% M4 48.71% C 26.86% C++ 12.34% Makefile 0.36% XSLT 10.50%

qt5-msvc-static's Introduction

Qt5-MSVC-Static

Set of tools to build Qt5 static libs on Windows.

Dependencies

Make sure Python, Perl are all in the PATH or add them to PATH in options.bat

You can check the official documentation here:
http://doc.qt.io/qt-5/windows-requirements.html
http://doc.qt.io/qt-5/windows-building.html

Usage

First, we need to check the folder names are correct in tools/options.bat

Open a VS command prompt in the repo's root.
The links for the prompts are "VS2017_Win32/64"

You will need to run qt.bat from the VS command prompt.

Run these commands in the following order to build Qt:

  • qt download
  • qt openssl
  • qt setup
  • qt build

Additional Qt modules

Those can be downloaded and installed by the script.
If you want to install extra Qt modules like qtscript or webkit:

  • Run this command: qt extra [module-name]
  • You need to run it once per module

You obviously have to do that after installing Qt. Modules can be found here: http://download.qt.io/official_releases/qt/5.10/5.10.0/submodules/

Configuration

Only release libs are enabled by default. You can add the debug libs or use the official sdk libs for debugging. You can add extra build options for Qt by editing the EXTRABUILDOPTIONS var in options.bat

You can check the official configuration guide here: http://doc.qt.io/qt-5/configure-options.html

qt5-msvc-static's People

Contributors

fpoussin avatar

Watchers

 avatar

Forkers

tongshunmin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.