Sign inSign up

islayer/qt5_msvc2017

By islayer

Updated over 6 years ago

Qt5.12.3 with MSVC 2017_64 compiler

Image
1

279

islayer/qt5_msvc2017 repository overview

Docker image built with Qt 5.12.3 and Visual Studio build tools 2017 with compiler msvc 2017_64.

When the docker image starts running, a .bat script in the home directory: C:\Users\ContainerUser\vcvars64.bat is executed to setup the visual studio compiler environment variables. Then everything should be ready to build and run.

Below is an example on how to build and run Qt5 projects. It uses one of the Qt5 Example codes.

  1. cd C:\Qt\Examples\Qt-5.12.3\qtestlib\tutorial1

  2. mkdir build && cd build

  3. %QTDIR%\bin\qmake.exe ..\tutorial1.pro -spec win32-msvc "CONFIG+=qtquickcompiler" && C:\Qt\Tools\QtCreator\bin\jom.exe qmake_all

  4. C:\Qt\Tools\QtCreator\bin\jom.exe

  5. cd release

  6. tutorial1.exe

Tag summary

Content type

Image

Digest

Size

11.7 GB

Last updated

over 6 years ago

docker pull islayer/qt5_msvc2017:v1.1