Giter VIP home page Giter VIP logo

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 download and extract the dependencies and Qt. Qt:

Extract these in the repo, check the folder names are correct in tools/options.bat

Open a VS command prompt in the repo's root.
The link for the prompt is "VS2015 x86 Native Tools Command Prompt.lnk"

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

Run these commands in the following order to build Qt:

  • qt openssl
  • qt icu (optional)
  • qt setup
  • qt build

Additional Qt modules

If you want to install extra Qt modules like qtscript or webkit:

  • Download the archives and extract them in the repo.
  • Run this command: qt extra [module-name]
  • You need to run it once per module

You obviously need to do that after installing Qt. Modules can be found here: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/

Configuration

Only release libs are enabled by default. You can add the debug libs or use the official sdk libs for debugging.

By default I only enabled a rather restricted set of modules. Here is the config output:

QMAKESPEC...................win32-msvc2015 (commandline)
Architecture................i386, features: sse sse2
Host Architecture...........i386, features: sse sse2
Maketool....................nmake
Debug.......................no
Force debug info............no
C++11 support...............auto
Link Time Code Generation...no
Accessibility support.......no
RTTI support................yes
SSE2 support................yes
SSE3 support................yes
SSSE3 support...............yes
SSE4.1 support..............yes
SSE4.2 support..............yes
AVX support.................yes
AVX2 support................yes
NEON support................no
OpenGL support..............yes
Large File support..........yes
NIS support.................no
Iconv support...............no
Evdev support...............no
Mtdev support...............no
Inotify support.............no
eventfd(7) support..........no
Glib support................no
CUPS support................no
OpenVG support..............no
SSL support.................yes
OpenSSL support.............yes
libproxy support............no
Qt D-Bus support............no
Qt Widgets module support...yes
Qt GUI module support.......yes
QML debugging...............yes
DirectWrite support.........no
Use system proxies..........no

QPA Backends:
    GDI.....................yes
    Direct2D................no

Third Party Libraries:
    ZLIB support............qt
    GIF support.............yes
    JPEG support............yes
    PNG support.............yes
    FreeType support........yes
    Fontconfig support......no
    HarfBuzz support........qt
    PCRE support............qt
    ICU support.............yes
    ANGLE...................no
    Dynamic OpenGL..........yes

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Fusion..................yes
    Windows CE..............no
    Windows Mobile..........no

Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................yes (qt)
    SQLite2.................no
    InterBase...............no

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

James Cloos avatar  avatar

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.